google-translate 0.8.7 → 0.8.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 50bd9f0f00eea64c4c85692c668afdc6fd0874b1
4
- data.tar.gz: bd1abd85071b28de97c0d7dfd66eadb319eec892
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MjdhNWIyOGRmZWQ4YTkxMTZiYTBiOTI1MWY5Njc1ZmI1YjdkM2Q3OA==
5
+ data.tar.gz: !binary |-
6
+ MmY5MTg4YzJjOTQ5YzQyMzVmMWVmN2JjOThjNjM2OTZiZDIzMmQ3Yw==
5
7
  SHA512:
6
- metadata.gz: 947aa86bb5d67b4466b513aef9e7e1ae2a8da57cfdd12a11b7f0e7d853b64e25022b4676fe35e7ac93d309301d0d9af2b16a26d8e01a572fbcd47a527e0b43be
7
- data.tar.gz: 14f31016f5805a7ddfbfc1afae140ed425d0fb217624fc8d0cf1b0a1d077b6232ee1c647e0bc6ef79b6231a33e80b6369d0d3bdd08532a6c206033a38e014f47
8
+ metadata.gz: !binary |-
9
+ ZDRiM2NlMDM0NTExMGVkMzIzMTk1YjU2ZDY2MWNkMDgwNDBlMWI2MzhjMjA3
10
+ YTFjOTA4YzQyYmI5ZTZmYjgzZGZhNDczNzk0MDFjMWRiOTE0MDMyYTIyYzhm
11
+ NDg3YjRmZDhlMTgxMjc5ZDA4ZmIzZGQxOGFjYzY0ZGFlNmQ5MDI=
12
+ data.tar.gz: !binary |-
13
+ N2FmNTcxMDc3YzNiOWQ2ZWNhMzIwZmNkNDM0NmE0YjE0YTM3ZGI1MTdkOTJh
14
+ YTA3MmQyMGY3NDZjODAyMDczMzE5MjIxNDhhYWFhOTYzYzgzZDcxN2U1Yzg1
15
+ YWM1YTkwOWE4ODc2Mzk5YjRiNDE5ZmZjMTM2MmZlZjRhMGE1ZTU=
@@ -4,4 +4,4 @@ You are allowed to:
4
4
  1. Remove rake task
5
5
  2. Add existing rake tasks
6
6
  To add existing rake tasks automatically delete this file and reload the project.
7
- --><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Run RSpec code examples" fullCmd="spec" taksId="spec" /><RakeTask description="" fullCmd="build" taksId="build" /><RakeTask description="" fullCmd="install" taksId="install" /><RakeTask description="" fullCmd="release" taksId="release" /></RakeGroup></Settings>
7
+ --><RakeGroup description="" fullCmd="" taksId="rake" /></Settings>
@@ -59,16 +59,6 @@
59
59
  </content>
60
60
  <orderEntry type="inheritedJdk" />
61
61
  <orderEntry type="sourceFolder" forTests="false" />
62
- <orderEntry type="library" scope="PROVIDED" name="bundler (v1.3.5, RVM: ruby-2.0.0-p247 [google-translate]) [gem]" level="application" />
63
- <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.4, RVM: ruby-2.0.0-p247 [google-translate]) [gem]" level="application" />
64
- <orderEntry type="library" scope="PROVIDED" name="file_utils (v1.0.7, RVM: ruby-2.0.0-p247 [google-translate]) [gem]" level="application" />
65
- <orderEntry type="library" scope="PROVIDED" name="gemcutter (v0.7.1, RVM: ruby-2.0.0-p247 [google-translate]) [gem]" level="application" />
66
- <orderEntry type="library" scope="PROVIDED" name="gemspec_deps_gen (v1.1.1, RVM: ruby-2.0.0-p247 [google-translate]) [gem]" level="application" />
67
- <orderEntry type="library" scope="PROVIDED" name="json_pure (v1.8.0, RVM: ruby-2.0.0-p247 [google-translate]) [gem]" level="application" />
68
- <orderEntry type="library" scope="PROVIDED" name="rspec (v2.14.1, RVM: ruby-2.0.0-p247 [google-translate]) [gem]" level="application" />
69
- <orderEntry type="library" scope="PROVIDED" name="rspec-core (v2.14.4, RVM: ruby-2.0.0-p247 [google-translate]) [gem]" level="application" />
70
- <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v2.14.1, RVM: ruby-2.0.0-p247 [google-translate]) [gem]" level="application" />
71
- <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v2.14.3, RVM: ruby-2.0.0-p247 [google-translate]) [gem]" level="application" />
72
62
  </component>
73
63
  </module>
74
64
 
@@ -2,27 +2,17 @@
2
2
  <project version="4">
3
3
  <component name="ChangeListManager">
4
4
  <list default="true" id="27826e27-f211-4f38-bd71-88309e7ed342" name="Default" comment="Renamed language lookup methods (to have more descriptive names).&#10;(cherry picked from commit 4a5e9875dc0bda29cc5cdb1e45bfb38a0970db44)&#10;">
5
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/google_translate/translate_cli.rb" />
6
- <change type="MOVED" beforePath="$PROJECT_DIR$/spec/google_translate.rb" afterPath="$PROJECT_DIR$/spec/google_translate_spec.rb" />
7
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/.rakeTasks" afterPath="$PROJECT_DIR$/.idea/.rakeTasks" />
8
5
  <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.ruby-version" afterPath="$PROJECT_DIR$/.ruby-version" />
9
6
  <change type="MODIFICATION" beforePath="$PROJECT_DIR$/CHANGES" afterPath="$PROJECT_DIR$/CHANGES" />
10
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/Gemfile.lock" afterPath="$PROJECT_DIR$/Gemfile.lock" />
11
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/Gemfile" afterPath="$PROJECT_DIR$/Gemfile" />
12
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/Rakefile" afterPath="$PROJECT_DIR$/Rakefile" />
13
7
  <change type="MODIFICATION" beforePath="$PROJECT_DIR$/google-translate.gemspec.erb" afterPath="$PROJECT_DIR$/google-translate.gemspec.erb" />
14
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/google-translate.gemspec" afterPath="$PROJECT_DIR$/google-translate.gemspec" />
15
8
  <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/google-translate.iml" afterPath="$PROJECT_DIR$/.idea/google-translate.iml" />
16
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/misc.xml" afterPath="$PROJECT_DIR$/.idea/misc.xml" />
17
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/bin/translate" afterPath="$PROJECT_DIR$/bin/translate" />
18
9
  <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/google_translate/version.rb" afterPath="$PROJECT_DIR$/lib/google_translate/version.rb" />
19
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
20
10
  </list>
21
11
  <list id="8bceb49d-7e0c-4091-bde9-7ac2cd7ef145" name="Translate method now does POSTs rather than GETs (allows you to send up to 5,000 characters) to translate rather than being imposed by the GET query string limits.&#10;(cherry picked from commit c5e221ad627b74ca4afe932cf553196ca0be7c19)&#10;" comment="Translate method now does POSTs rather than GETs (allows you to send up to 5,000 characters) to translate rather than being imposed by the GET query string limits.&#10;(cherry picked from commit c5e221ad627b74ca4afe932cf553196ca0be7c19)&#10;" />
22
12
  <list id="2012fae1-5c1c-46e0-9846-f895b7c7f6dc" name="&#10;&#10;&#10;Translate method now does POSTs rather than GETs (allows you to send up to 5,000 characters) to translate rather than being imposed by the GET query string limits.&#10;(cherry picked from commit c5e221ad627b74ca4afe932cf553196ca0be7c19)" comment="" />
23
13
  <ignored path=".idea/workspace.xml" />
24
14
  <ignored path="google-translate.iws" />
25
- <file path="/Dummy.txt" changelist="27826e27-f211-4f38-bd71-88309e7ed342" time="1376340673778" ignored="false" />
15
+ <file path="/Dummy.txt" changelist="27826e27-f211-4f38-bd71-88309e7ed342" time="1380923132497" ignored="false" />
26
16
  <file path="/a.dummy" changelist="27826e27-f211-4f38-bd71-88309e7ed342" time="1376339732704" ignored="false" />
27
17
  <file path="/fragment.rb" changelist="27826e27-f211-4f38-bd71-88309e7ed342" time="1372442051164" ignored="false" />
28
18
  <file path="$PROJECT_DIR$/../gemspec_deps_gen/README.md" changelist="27826e27-f211-4f38-bd71-88309e7ed342" time="1376339776870" ignored="false" />
@@ -30,6 +20,15 @@
30
20
  <file path="$PROJECT_DIR$/../gemspec_deps_gen/sample/sample.gemspec.erb" changelist="27826e27-f211-4f38-bd71-88309e7ed342" time="1376339836403" ignored="false" />
31
21
  <file path="$PROJECT_DIR$/../gemspec_deps_gen/CHANGES" changelist="27826e27-f211-4f38-bd71-88309e7ed342" time="1376339908527" ignored="false" />
32
22
  <file path="$PROJECT_DIR$/../gemspec_deps_gen/lib/gemspec_deps_gen/version.rb" changelist="27826e27-f211-4f38-bd71-88309e7ed342" time="1376339865439" ignored="false" />
23
+ <file path="$PROJECT_DIR$/../shadow_db_credentials/Gemfile" changelist="27826e27-f211-4f38-bd71-88309e7ed342" time="1376603724688" ignored="false" />
24
+ <file path="$PROJECT_DIR$/../shadow_db_credentials/Rakefile" changelist="27826e27-f211-4f38-bd71-88309e7ed342" time="1376603880684" ignored="false" />
25
+ <file path="$PROJECT_DIR$/../shadow_db_credentials/spec/spec_helper.rb" changelist="27826e27-f211-4f38-bd71-88309e7ed342" time="1376603887378" ignored="false" />
26
+ <file path="$PROJECT_DIR$/../shadow_db_credentials/lib/shadow_db_credentials/version.rb" changelist="27826e27-f211-4f38-bd71-88309e7ed342" time="1376603893351" ignored="false" />
27
+ <file path="$PROJECT_DIR$/../shadow_db_credentials/spec/shadow_db_credentials_spec.rb" changelist="27826e27-f211-4f38-bd71-88309e7ed342" time="1376604006504" ignored="false" />
28
+ <file path="$PROJECT_DIR$/../shadow_db_credentials/CHANGES" changelist="27826e27-f211-4f38-bd71-88309e7ed342" time="1376604056091" ignored="false" />
29
+ <file path="$PROJECT_DIR$/../shadow_db_credentials/README.md" changelist="27826e27-f211-4f38-bd71-88309e7ed342" time="1376662960895" ignored="false" />
30
+ <file path="$PROJECT_DIR$/../web_app_builder/web_app_builder.gemspec" changelist="27826e27-f211-4f38-bd71-88309e7ed342" time="1380923132497" ignored="false" />
31
+ <file path="/.ruby-version" changelist="27826e27-f211-4f38-bd71-88309e7ed342" time="1380923148230" ignored="false" />
33
32
  <option name="TRACKING_ENABLED" value="true" />
34
33
  <option name="SHOW_DIALOG" value="false" />
35
34
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -49,67 +48,46 @@
49
48
  </component>
50
49
  <component name="FileEditorManager">
51
50
  <leaf>
52
- <file leaf-file-name="google_translate.rb" pinned="false" current="false" current-in-tab="false">
53
- <entry file="file://$PROJECT_DIR$/lib/google_translate/google_translate.rb">
54
- <provider selected="true" editor-type-id="text-editor">
55
- <state line="5" column="14" selection-start="71" selection-end="71" vertical-scroll-proportion="0.0">
56
- <folding />
57
- </state>
58
- </provider>
59
- </entry>
60
- </file>
61
- <file leaf-file-name="Rakefile" pinned="false" current="false" current-in-tab="false">
62
- <entry file="file://$PROJECT_DIR$/Rakefile">
63
- <provider selected="true" editor-type-id="text-editor">
64
- <state line="31" column="111" selection-start="725" selection-end="725" vertical-scroll-proportion="0.0">
65
- <folding>
66
- <marker date="1376340848000" expanded="true" signature="210:235" placeholder=" ... end" />
67
- <marker date="1376340848000" expanded="true" signature="250:273" placeholder=" ... end" />
68
- </folding>
69
- </state>
70
- </provider>
71
- </entry>
72
- </file>
73
51
  <file leaf-file-name="Gemfile" pinned="false" current="false" current-in-tab="false">
74
52
  <entry file="file://$PROJECT_DIR$/Gemfile">
75
53
  <provider selected="true" editor-type-id="text-editor">
76
- <state line="10" column="20" selection-start="141" selection-end="141" vertical-scroll-proportion="0.0">
54
+ <state line="7" column="0" selection-start="94" selection-end="118" vertical-scroll-proportion="0.0">
77
55
  <folding />
78
56
  </state>
79
57
  </provider>
80
58
  </entry>
81
59
  </file>
82
- <file leaf-file-name="CHANGES" pinned="false" current="true" current-in-tab="true">
83
- <entry file="file://$PROJECT_DIR$/CHANGES">
60
+ <file leaf-file-name="Rakefile" pinned="false" current="false" current-in-tab="false">
61
+ <entry file="file://$PROJECT_DIR$/Rakefile">
84
62
  <provider selected="true" editor-type-id="text-editor">
85
- <state line="53" column="2" selection-start="792" selection-end="824" vertical-scroll-proportion="0.84810126">
63
+ <state line="9" column="123" selection-start="272" selection-end="272" vertical-scroll-proportion="0.0">
86
64
  <folding />
87
65
  </state>
88
66
  </provider>
89
67
  </entry>
90
68
  </file>
91
- <file leaf-file-name="spec_helper.rb" pinned="false" current="false" current-in-tab="false">
92
- <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
69
+ <file leaf-file-name="README" pinned="false" current="false" current-in-tab="false">
70
+ <entry file="file://$PROJECT_DIR$/README">
93
71
  <provider selected="true" editor-type-id="text-editor">
94
- <state line="1" column="0" selection-start="57" selection-end="57" vertical-scroll-proportion="0.0">
72
+ <state line="14" column="48" selection-start="458" selection-end="458" vertical-scroll-proportion="0.0">
95
73
  <folding />
96
74
  </state>
97
75
  </provider>
98
76
  </entry>
99
77
  </file>
100
- <file leaf-file-name="translate" pinned="false" current="false" current-in-tab="false">
101
- <entry file="file://$PROJECT_DIR$/bin/translate">
78
+ <file leaf-file-name=".ruby-gemset" pinned="false" current="false" current-in-tab="false">
79
+ <entry file="file://$PROJECT_DIR$/.ruby-gemset">
102
80
  <provider selected="true" editor-type-id="text-editor">
103
- <state line="4" column="40" selection-start="132" selection-end="132" vertical-scroll-proportion="0.0">
81
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
104
82
  <folding />
105
83
  </state>
106
84
  </provider>
107
85
  </entry>
108
86
  </file>
109
- <file leaf-file-name="translate_cli.rb" pinned="false" current="false" current-in-tab="false">
110
- <entry file="file://$PROJECT_DIR$/lib/google_translate/translate_cli.rb">
87
+ <file leaf-file-name=".ruby-version" pinned="false" current="false" current-in-tab="false">
88
+ <entry file="file://$PROJECT_DIR$/.ruby-version">
111
89
  <provider selected="true" editor-type-id="text-editor">
112
- <state line="17" column="5" selection-start="452" selection-end="452" vertical-scroll-proportion="0.0">
90
+ <state line="0" column="25" selection-start="5" selection-end="5" vertical-scroll-proportion="0.0">
113
91
  <folding />
114
92
  </state>
115
93
  </provider>
@@ -118,30 +96,26 @@
118
96
  <file leaf-file-name="google-translate.gemspec.erb" pinned="false" current="false" current-in-tab="false">
119
97
  <entry file="file://$PROJECT_DIR$/google-translate.gemspec.erb">
120
98
  <provider selected="true" editor-type-id="text-editor">
121
- <state line="17" column="0" selection-start="718" selection-end="718" vertical-scroll-proportion="-10.88">
122
- <folding>
123
- <marker date="1376340321000" expanded="true" signature="134:752" placeholder="do ... end" />
124
- </folding>
99
+ <state line="18" column="0" selection-start="747" selection-end="747" vertical-scroll-proportion="-11.52">
100
+ <folding />
125
101
  </state>
126
102
  </provider>
127
103
  </entry>
128
104
  </file>
129
- <file leaf-file-name="google_translate.rb" pinned="false" current="false" current-in-tab="false">
130
- <entry file="file://$PROJECT_DIR$/lib/google_translate.rb">
105
+ <file leaf-file-name="CHANGES" pinned="false" current="false" current-in-tab="false">
106
+ <entry file="file://$PROJECT_DIR$/CHANGES">
131
107
  <provider selected="true" editor-type-id="text-editor">
132
- <state line="0" column="0" selection-start="0" selection-end="79" vertical-scroll-proportion="0.0">
108
+ <state line="55" column="16" selection-start="842" selection-end="842" vertical-scroll-proportion="0.0">
133
109
  <folding />
134
110
  </state>
135
111
  </provider>
136
112
  </entry>
137
113
  </file>
138
- <file leaf-file-name="google_translate_spec.rb" pinned="false" current="false" current-in-tab="false">
139
- <entry file="file://$PROJECT_DIR$/spec/google_translate_spec.rb">
114
+ <file leaf-file-name="version.rb" pinned="false" current="true" current-in-tab="true">
115
+ <entry file="file://$PROJECT_DIR$/lib/google_translate/version.rb">
140
116
  <provider selected="true" editor-type-id="text-editor">
141
- <state line="1" column="36" selection-start="20" selection-end="20" vertical-scroll-proportion="0.0">
142
- <folding>
143
- <marker date="1376340934000" expanded="true" signature="791:875" placeholder="do ... end" />
144
- </folding>
117
+ <state line="1" column="18" selection-start="40" selection-end="40" vertical-scroll-proportion="0.016753927">
118
+ <folding />
145
119
  </state>
146
120
  </provider>
147
121
  </entry>
@@ -191,15 +165,15 @@
191
165
  <option value="$PROJECT_DIR$/lib/google_translate/google_translate.rb" />
192
166
  <option value="$PROJECT_DIR$/lib/google_translate.rb" />
193
167
  <option value="$PROJECT_DIR$/google-translate.gemspec" />
194
- <option value="$PROJECT_DIR$/lib/google_translate/version.rb" />
195
- <option value="$PROJECT_DIR$/.ruby-version" />
196
168
  <option value="$PROJECT_DIR$/Gemfile" />
197
- <option value="$PROJECT_DIR$/google-translate.gemspec.erb" />
198
- <option value="$PROJECT_DIR$/CHANGES" />
199
169
  <option value="$PROJECT_DIR$/bin/translate" />
200
170
  <option value="$PROJECT_DIR$/lib/google_translate/translate_cli.rb" />
201
- <option value="$PROJECT_DIR$/Rakefile" />
202
171
  <option value="$PROJECT_DIR$/spec/google_translate_spec.rb" />
172
+ <option value="$PROJECT_DIR$/Rakefile" />
173
+ <option value="$PROJECT_DIR$/.ruby-version" />
174
+ <option value="$PROJECT_DIR$/google-translate.gemspec.erb" />
175
+ <option value="$PROJECT_DIR$/CHANGES" />
176
+ <option value="$PROJECT_DIR$/lib/google_translate/version.rb" />
203
177
  </list>
204
178
  </option>
205
179
  </component>
@@ -732,17 +706,17 @@
732
706
  <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
733
707
  <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
734
708
  <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" />
735
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.13932449" sideWeight="0.671414" order="0" side_tool="false" content_ui="combo" />
709
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.14656213" sideWeight="0.671066" order="0" side_tool="false" content_ui="combo" />
736
710
  <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4730417" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
737
711
  <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
738
712
  <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="8" side_tool="true" content_ui="tabs" />
739
- <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32858595" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
713
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32858595" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
740
714
  <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32858595" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
741
715
  <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
742
716
  <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
743
717
  <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
744
718
  <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32858595" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
745
- <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32932165" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
719
+ <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.328934" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
746
720
  <window_info id="Code Outline" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
747
721
  <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
748
722
  <window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
@@ -830,121 +804,100 @@
830
804
  </breakpoint-manager>
831
805
  </component>
832
806
  <component name="editorHistoryManager">
833
- <entry file="file://$PROJECT_DIR$/bin/translate.bat">
807
+ <entry file="file://$PROJECT_DIR$/bin/t">
834
808
  <provider selected="true" editor-type-id="text-editor">
835
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
836
- <folding />
837
- </state>
809
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
838
810
  </provider>
839
811
  </entry>
840
- <entry file="file://$PROJECT_DIR$/lib/google_translate/language.rb">
812
+ <entry file="file://$PROJECT_DIR$/lib/google_translate.rb">
841
813
  <provider selected="true" editor-type-id="text-editor">
842
- <state line="11" column="0" selection-start="164" selection-end="164" vertical-scroll-proportion="0.0">
843
- <folding />
844
- </state>
814
+ <state line="0" column="0" selection-start="0" selection-end="79" vertical-scroll-proportion="0.0" />
845
815
  </provider>
846
816
  </entry>
847
- <entry file="file://$PROJECT_DIR$/lib/google_translate/version.rb">
817
+ <entry file="file://$PROJECT_DIR$/bin/translate">
848
818
  <provider selected="true" editor-type-id="text-editor">
849
- <state line="1" column="18" selection-start="40" selection-end="40" vertical-scroll-proportion="0.025276462">
850
- <folding />
851
- </state>
819
+ <state line="4" column="40" selection-start="132" selection-end="132" vertical-scroll-proportion="0.0" />
852
820
  </provider>
853
821
  </entry>
854
- <entry file="file://$PROJECT_DIR$/bin/t">
822
+ <entry file="file://$PROJECT_DIR$/lib/google_translate/translate_cli.rb">
855
823
  <provider selected="true" editor-type-id="text-editor">
856
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
857
- <folding />
858
- </state>
824
+ <state line="17" column="5" selection-start="452" selection-end="452" vertical-scroll-proportion="0.016718913" />
859
825
  </provider>
860
826
  </entry>
861
- <entry file="file://$PROJECT_DIR$/google-translate.gemspec">
827
+ <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
862
828
  <provider selected="true" editor-type-id="text-editor">
863
- <state line="28" column="0" selection-start="902" selection-end="902" vertical-scroll-proportion="0.7077409">
864
- <folding />
865
- </state>
829
+ <state line="1" column="0" selection-start="57" selection-end="57" vertical-scroll-proportion="0.016718913" />
866
830
  </provider>
867
831
  </entry>
868
- <entry file="file://$PROJECT_DIR$/.ruby-version">
832
+ <entry file="file://$PROJECT_DIR$/lib/google_translate/google_translate.rb">
869
833
  <provider selected="true" editor-type-id="text-editor">
870
- <state line="0" column="98" selection-start="5" selection-end="5" vertical-scroll-proportion="0.0">
834
+ <state line="5" column="14" selection-start="71" selection-end="71" vertical-scroll-proportion="0.0">
871
835
  <folding />
872
836
  </state>
873
837
  </provider>
874
838
  </entry>
875
- <entry file="file://$PROJECT_DIR$/lib/google_translate.rb">
839
+ <entry file="file://$PROJECT_DIR$/spec/google_translate_spec.rb">
876
840
  <provider selected="true" editor-type-id="text-editor">
877
- <state line="0" column="0" selection-start="0" selection-end="79" vertical-scroll-proportion="0.0">
878
- <folding />
879
- </state>
841
+ <state line="1" column="36" selection-start="20" selection-end="20" vertical-scroll-proportion="0.016718913" />
880
842
  </provider>
881
843
  </entry>
882
- <entry file="file://$PROJECT_DIR$/google-translate.gemspec.erb">
844
+ <entry file="file://$PROJECT_DIR$/google-translate.gemspec">
883
845
  <provider selected="true" editor-type-id="text-editor">
884
- <state line="17" column="0" selection-start="718" selection-end="718" vertical-scroll-proportion="-10.88">
885
- <folding>
886
- <marker date="1376340321000" expanded="true" signature="134:752" placeholder="do ... end" />
887
- </folding>
888
- </state>
846
+ <state line="28" column="0" selection-start="902" selection-end="902" vertical-scroll-proportion="0.46812958" />
889
847
  </provider>
890
848
  </entry>
891
- <entry file="file://$PROJECT_DIR$/bin/translate">
849
+ <entry file="file://$PROJECT_DIR$/Gemfile">
892
850
  <provider selected="true" editor-type-id="text-editor">
893
- <state line="4" column="40" selection-start="132" selection-end="132" vertical-scroll-proportion="0.0">
851
+ <state line="7" column="0" selection-start="94" selection-end="118" vertical-scroll-proportion="0.0">
894
852
  <folding />
895
853
  </state>
896
854
  </provider>
897
855
  </entry>
898
- <entry file="file://$PROJECT_DIR$/lib/google_translate/translate_cli.rb">
856
+ <entry file="file://$PROJECT_DIR$/Rakefile">
899
857
  <provider selected="true" editor-type-id="text-editor">
900
- <state line="17" column="5" selection-start="452" selection-end="452" vertical-scroll-proportion="0.0">
858
+ <state line="9" column="123" selection-start="272" selection-end="272" vertical-scroll-proportion="0.0">
901
859
  <folding />
902
860
  </state>
903
861
  </provider>
904
862
  </entry>
905
- <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
863
+ <entry file="file://$PROJECT_DIR$/README">
906
864
  <provider selected="true" editor-type-id="text-editor">
907
- <state line="1" column="0" selection-start="57" selection-end="57" vertical-scroll-proportion="0.0">
865
+ <state line="14" column="48" selection-start="458" selection-end="458" vertical-scroll-proportion="0.0">
908
866
  <folding />
909
867
  </state>
910
868
  </provider>
911
869
  </entry>
912
- <entry file="file://$PROJECT_DIR$/lib/google_translate/google_translate.rb">
870
+ <entry file="file://$PROJECT_DIR$/.ruby-gemset">
913
871
  <provider selected="true" editor-type-id="text-editor">
914
- <state line="5" column="14" selection-start="71" selection-end="71" vertical-scroll-proportion="0.0">
872
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
915
873
  <folding />
916
874
  </state>
917
875
  </provider>
918
876
  </entry>
919
- <entry file="file://$PROJECT_DIR$/spec/google_translate_spec.rb">
877
+ <entry file="file://$PROJECT_DIR$/.ruby-version">
920
878
  <provider selected="true" editor-type-id="text-editor">
921
- <state line="1" column="36" selection-start="20" selection-end="20" vertical-scroll-proportion="0.0">
922
- <folding>
923
- <marker date="1376340934000" expanded="true" signature="791:875" placeholder="do ... end" />
924
- </folding>
879
+ <state line="0" column="25" selection-start="5" selection-end="5" vertical-scroll-proportion="0.0">
880
+ <folding />
925
881
  </state>
926
882
  </provider>
927
883
  </entry>
928
- <entry file="file://$PROJECT_DIR$/Rakefile">
884
+ <entry file="file://$PROJECT_DIR$/google-translate.gemspec.erb">
929
885
  <provider selected="true" editor-type-id="text-editor">
930
- <state line="31" column="111" selection-start="725" selection-end="725" vertical-scroll-proportion="0.0">
931
- <folding>
932
- <marker date="1376340848000" expanded="true" signature="210:235" placeholder=" ... end" />
933
- <marker date="1376340848000" expanded="true" signature="250:273" placeholder=" ... end" />
934
- </folding>
886
+ <state line="18" column="0" selection-start="747" selection-end="747" vertical-scroll-proportion="-11.52">
887
+ <folding />
935
888
  </state>
936
889
  </provider>
937
890
  </entry>
938
- <entry file="file://$PROJECT_DIR$/Gemfile">
891
+ <entry file="file://$PROJECT_DIR$/CHANGES">
939
892
  <provider selected="true" editor-type-id="text-editor">
940
- <state line="10" column="20" selection-start="141" selection-end="141" vertical-scroll-proportion="0.0">
893
+ <state line="55" column="16" selection-start="842" selection-end="842" vertical-scroll-proportion="0.0">
941
894
  <folding />
942
895
  </state>
943
896
  </provider>
944
897
  </entry>
945
- <entry file="file://$PROJECT_DIR$/CHANGES">
898
+ <entry file="file://$PROJECT_DIR$/lib/google_translate/version.rb">
946
899
  <provider selected="true" editor-type-id="text-editor">
947
- <state line="53" column="2" selection-start="792" selection-end="824" vertical-scroll-proportion="0.84810126">
900
+ <state line="1" column="18" selection-start="40" selection-end="40" vertical-scroll-proportion="0.016753927">
948
901
  <folding />
949
902
  </state>
950
903
  </provider>
@@ -1 +1 @@
1
- 2.0.0
1
+ 1.9.3
data/CHANGES CHANGED
@@ -51,4 +51,8 @@
51
51
 
52
52
  == Version 0.8.7
53
53
 
54
- * Changes in project configuration
54
+ * Changes in project configuration
55
+
56
+ == Version 0.8.8
57
+
58
+ * Adding version to gemspec.
data/Rakefile CHANGED
@@ -15,7 +15,7 @@ task :gen do
15
15
  generator.generate_dependencies "spec", "#{project_name}.gemspec.erb", "#{project_name}.gemspec"
16
16
  end
17
17
 
18
- task :build do
18
+ task :build => :gen do
19
19
  system "gem build #{project_name}.gemspec"
20
20
  end
21
21
 
@@ -15,6 +15,7 @@ Gem::Specification.new do |spec|
15
15
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
16
16
  spec.require_paths = ["lib"]
17
17
  spec.version = GoogleTranslate::VERSION
18
+ spec.license = "MIT"
18
19
 
19
20
  <%= project_dependencies %>
20
21
  end
@@ -1,3 +1,3 @@
1
1
  class GoogleTranslate
2
- VERSION = "0.8.7"
2
+ VERSION = "0.8.8"
3
3
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-translate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.7
4
+ version: 0.8.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Shvets
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-12 00:00:00.000000000 Z
11
+ date: 2013-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json_pure
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ! '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ! '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gemspec_deps_gen
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ! '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ! '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: gemcutter
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ! '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ! '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description: Simple client for Google Translate API.
@@ -90,9 +90,9 @@ files:
90
90
  - lib/google_translate/version.rb
91
91
  - spec/google_translate_spec.rb
92
92
  - spec/spec_helper.rb
93
- - test.html
94
93
  homepage: http://github.com/shvets/google-translate
95
- licenses: []
94
+ licenses:
95
+ - MIT
96
96
  metadata: {}
97
97
  post_install_message:
98
98
  rdoc_options: []
@@ -100,17 +100,17 @@ require_paths:
100
100
  - lib
101
101
  required_ruby_version: !ruby/object:Gem::Requirement
102
102
  requirements:
103
- - - '>='
103
+ - - ! '>='
104
104
  - !ruby/object:Gem::Version
105
105
  version: '0'
106
106
  required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ! '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  requirements: []
112
112
  rubyforge_project:
113
- rubygems_version: 2.0.5
113
+ rubygems_version: 2.1.2
114
114
  signing_key:
115
115
  specification_version: 4
116
116
  summary: Simple client for Google Translate API.
data/test.html DELETED
@@ -1,647 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
5
- <meta name=keywords
6
- content="translate, translations, translation, translator, machine translation, online translation">
7
- <meta name=description
8
- content="Google&#39;s free online language translation service instantly translates text and web pages. This translator supports: English, Afrikaans, Albanian, Arabic, Armenian, Azerbaijani, Basque, Belarusian, Bengali, Bosnian, Bulgarian, Catalan, Cebuano, Chinese, Croatian, Czech, Danish, Dutch, Esperanto, Estonian, Filipino, Finnish, French, Galician, Georgian, German, Greek, Gujarati, Haitian Creole, Hebrew, Hindi, Hmong, Hungarian, Icelandic, Indonesian, Irish, Italian, Japanese, Javanese, Kannada, Khmer, Korean, Lao, Latin, Latvian, Lithuanian, Macedonian, Malay, Maltese, Marathi, Norwegian, Persian, Polish, Portuguese, Romanian, Russian, Serbian, Slovak, Slovenian, Spanish, Swahili, Swedish, Tamil, Telugu, Thai, Turkish, Ukrainian, Urdu, Vietnamese, Welsh, Yiddish">
9
- <meta name=robots content=noodp>
10
- <meta name=google content=notranslate>
11
- <link rel="canonical" href="http://translate.google.com/">
12
- <title>Google Translate</title>
13
- <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml?hl=en"
14
- title="Google Translate">
15
- <script>JS_ERR_COUNT = 0;
16
- JS_ERR_ARR = [];
17
- function _gtErr(e, url, line) {
18
- ++JS_ERR_COUNT;
19
- var i = new Image();
20
- var err = 'e=' + e.substr(0, 1500) + ',url=' + url.substr(0, 400) + ',line=' + line + ',count=' + JS_ERR_COUNT;
21
- if (JS_ERR_COUNT < 10) {
22
- JS_ERR_ARR.push(err);
23
- }
24
- i.src = '/gen204?jserr=' + encodeURIComponent(err);
25
- i.onload = function () {
26
- i.onload = null;
27
- };
28
- }
29
- window.onerror = _gtErr;</script>
30
- <script>(function () {
31
- (function () {
32
- function d(a) {
33
- this.t = {};
34
- this.tick = function (a, c, b) {
35
- b = void 0 != b ? b : (new Date).getTime();
36
- this.t[a] = [b, c]
37
- };
38
- this.tick("start", null, a)
39
- }
40
-
41
- var a = new d;
42
- window.jstiming = {Timer: d, load: a};
43
- if (window.performance && window.performance.timing) {
44
- var a = window.performance.timing, c = window.jstiming.load, b = a.navigationStart, a = a.responseStart;
45
- 0 < b && a >= b && (c.tick("_wtsrt", void 0, b), c.tick("wtsrt_", "_wtsrt", a), c.tick("tbsd_", "wtsrt_"))
46
- }
47
- try {
48
- a = null, window.chrome && window.chrome.csi && (a = Math.floor(window.chrome.csi().pageT), c && 0 < b && (c.tick("_tbnd", void 0, window.chrome.csi().startE), c.tick("tbnd_", "_tbnd", b))), null == a && window.gtbExternal && (a = window.gtbExternal.pageT()), null == a && window.external && (a = window.external.pageT, c && 0 < b && (c.tick("_tbnd", void 0, window.external.startE), c.tick("tbnd_", "_tbnd", b))), a && (window.jstiming.pt = a)
49
- } catch (e) {
50
- }
51
- })();
52
- })() </script>
53
- <link rel=stylesheet href="/translate/releases/twsfe_w_20130624_RC01/r/css/desktop_ltr.css">
54
- <style>#clir {
55
- margin-top: 18px;
56
- text-align: left
57
- }
58
-
59
- #middle_body {
60
- margin-left: 10em;
61
- border-left: 1px solid #c9d7f1;
62
- padding-left: 1.4em;
63
- zoom: 1;
64
- }</style>
65
- <style>#gbar, #guser {
66
- font-size: 13px;
67
- padding-right: 1px;
68
- padding-top: 1px !important;
69
- }
70
-
71
- #gbar {
72
- padding-left: 1px;
73
- height: 22px
74
- }
75
-
76
- #guser {
77
- padding-bottom: 7px !important;
78
- text-align: right
79
- }
80
-
81
- .gbh, .gbd {
82
- border-top: 1px solid #c9d7f1;
83
- font-size: 1px
84
- }
85
-
86
- .gbh {
87
- height: 0;
88
- position: absolute;
89
- top: 24px;
90
- width: 100%
91
- }
92
-
93
- @media all {
94
- .gb1 {
95
- height: 22;
96
- margin-right: .5em;
97
- vertical-align: top
98
- }
99
-
100
- #gbar {
101
- float: left
102
- }
103
- }
104
-
105
- a.gb1, a.gb4 {
106
- text-decoration: underline !important
107
- }
108
-
109
- a.gb1, a.gb4 {
110
- color: #00c !important
111
- }
112
-
113
- .gbi .gb4 {
114
- color: #dd8e27 !important
115
- }
116
-
117
- .gbf .gb4 {
118
- color: #900 !important
119
- }</style>
120
- <script>window.jstiming.load.tick('cl')</script>
121
- <script></script>
122
- </head>
123
- <body dir=ltr onload="window.jstiming.load['tick']('ol');_csi('t','auto','en',document.text_form.text);"
124
- class="e_md nj">
125
- <div id=gbar>
126
- <nobr><a class=gb1 href="http://www.google.com/webhp?hl=en&tab=Tw">Search</a> <a class=gb1
127
- href="http://www.google.com/imghp?hl=en&tab=Ti">Images</a>
128
- <a class=gb1 href="http://maps.google.com/maps?hl=en&tab=Tl">Maps</a> <a class=gb1
129
- href="https://play.google.com/?hl=en&tab=T8">Play</a>
130
- <a class=gb1 href="http://www.youtube.com/?tab=T1">YouTube</a> <a class=gb1
131
- href="http://news.google.com/nwshp?hl=en&tab=Tn">News</a>
132
- <a class=gb1 href="https://mail.google.com/mail/?tab=Tm">Gmail</a> <a class=gb1
133
- href="https://drive.google.com/?tab=To">Drive</a>
134
- <a class=gb1 style="text-decoration:none" href="http://www.google.com/intl/en/options/"><u>More</u> &raquo;</a>
135
- </nobr>
136
- </div>
137
- <div id=guser width=100%>
138
- <nobr><span id=gbn class=gbi></span><span id=gbf class=gbf></span><span id=gbe><a
139
- href="http://www.google.com/support/translate/" class=gb4>Help</a> | </span><a target=_top id=gb_70
140
- href="https://accounts.google.com/ServiceLogin?hl=en&continue=http://translate.google.com/"
141
- class=gb4>Sign in</a></nobr>
142
- </div>
143
- <div class=gbh style=left:0></div>
144
- <div class=gbh style=right:0></div>
145
- <script>document.body.className = document.body.className.replace('nj', '');</script>
146
- <div id=gt-logo>
147
- <div id=gt-logo-icon><a href="/?hl=en"><span height=40 alt="Google Translate" border=0
148
- style="background:url(http://www.gstatic.com/translate/intl/en/logo2.png) 0 0 no-repeat;width:110px;height:40px;display:inline-block"></span></a>
149
- </div>
150
- </div>
151
- <div id=gt-c class=g-section>
152
- <div id=gt-bbar-c>
153
- <div id=gt-bbar class=goog-inline-block></div>
154
- </div>
155
- <script>MSG_AD_QUERY = '';
156
- MSG_ALPHA_DESC = 'This language is still in early stages of development and not yet up to the same quality standards as our other languages.';
157
- MSG_ALT_PHRASE_TITLE = 'Click to edit and see alternate translations';
158
- MSG_DISMISS = 'Dismiss';
159
- MSG_DOWNLOAD_CHROME_BUTTON = '';
160
- MSG_DOWNLOAD_CHROME_DESC = '';
161
- MSG_CLEAR_TEXT = 'Clear text';
162
- MSG_CLOSE = 'Close';
163
- MSG_DRAG_PHRASE_TIP = '';
164
- MSG_DRAG_PHRASE_TITLE = 'Drag with shift key to reorder.';
165
- MSG_FILL_SUGGESTION = 'Contribute a better translation:';
166
- MSG_LANGUAGE_CORRECTION = 'Translate from:';
167
- MSG_LISTEN = 'Listen';
168
- MSG_ORIGINAL_TEXT = 'Original text:';
169
- MSG_READ_PHONETICALLY = 'Read phonetically';
170
- MSG_SELECT_ALL = 'Select all';
171
- MSG_SPELLING_CORRECTION = 'Did you mean:';
172
- MSG_RELATED_SUGGESTION = 'See also:';
173
- MSG_SUBMIT_SUGGESTION = 'Submit';
174
- MSG_UNDO_EDITS = 'Undo edits';
175
- MSG_USE_ALTERNATIVE = 'Use';
176
- MSG_TTS_EN_AU = 'Australian';
177
- MSG_TTS_EN_US = 'American';
178
- MSG_TTS_EN_GB = 'British';
179
- MSG_TTS_ES_ES = 'Iberian';
180
- MSG_TTS_ES_419 = 'Latin American';
181
- MSG_TTS_PT_BR = 'Brazilian';
182
- MSG_TTS_PT_PT = 'European';
183
- MSG_TTS_CMN = 'Mandarin';
184
- MSG_TTS_YUE = 'Cantonese';
185
- msg_disable_otf = 'Turn off instant translation';
186
- msg_enable_otf = 'Turn on instant translation';
187
- tr_in = 'Translating...';
188
- MSG_EXAMPLE_OF_WORD = 'Example usage of \x22$word\x22:';
189
- MSG_EXAMPLE_USAGE = 'Show example usage of words';
190
- MSG_MT_FROM_GOOGLE = 'automatically translated by Google';
191
- MSG_NO_EXAMPLE_FOUND = 'No examples found for \x22$word\x22';
192
- MSG_CLICK_TO_TRANSLATE = 'Click to translate';
193
- MSG_CHANGE_ITA = 'Select Input Tool';
194
- MSG_IME_OFF = 'Turn off Input Method';
195
- MSG_IME_ON = 'Turn on Input Method';
196
- MSG_VK_OFF = 'Turn off Virtual Keyboard';
197
- MSG_VK_ON = 'Turn on Virtual Keyboard';
198
- MSG_ALL = 'All languages';
199
- MSG_BACK_TO_ALL = 'Show all phrases';
200
- MSG_DELETE = 'Delete';
201
- MSG_DESTINATION = 'Destination Text';
202
- MSG_EDIT = 'Edit';
203
- MSG_HIDE_PB = 'Hide Phrasebook';
204
- MSG_MY_PB = 'Phrasebook';
205
- MSG_NEW = 'New!';
206
- MSG_NEWEST = 'Recently added';
207
- MSG_NP = 'Your Phrasebook is empty. Click the star under a translation to save it here.';
208
- MSG_NPM = 'You don\x27t have any phrases for this language pair.';
209
- MSG_OLDEST = 'Oldest';
210
- MSG_PB_BUBBLE = 'Sign in and click the star to save this translation into your Phrasebook.';
211
- MSG_PB_ERROR = 'Oops, something went wrong. Please try again later.';
212
- MSG_PB_EXP = 'Export to Google Sheets';
213
- MSG_PB_SR = 'Search result: %1$s matches.';
214
- MSG_PB_TL = 'Sorry, the phrase you want to save is too long.';
215
- MSG_PB_SIGNIN = 'Sign in to view your Phrasebook.';
216
- MSG_SAVE = 'Save';
217
- MSG_SAVED = 'Saved';
218
- MSG_SAVE_PB = 'Sign in to save to Phrasebook';
219
- MSG_SAVING = 'Saving...';
220
- MSG_SHOW_PB = 'Show Phrasebook';
221
- MSG_SIGN_IN = 'Sign in';
222
- MSG_SORT_BY = 'Sort';
223
- MSG_SOURCE = 'Original text';
224
- MSG_TRANSLATE_FROM_LABEL = 'From:';
225
- MSG_TRANSLATE_TO_LABEL = 'To:';
226
- MSG_VIEW_PB = 'View my Phrasebook';
227
- MSG_HELPFUL = 'Helpful';
228
- MSG_NOT_HELPFUL = 'Not helpful';
229
- MSG_OFFENSIVE = 'Offensive';
230
- MSG_SIGN_IN_TO_RATE = 'Sign in to rate';
231
- MSG_RATE_TRANSLATION = 'Rate translation';
232
- MSG_RATED = 'Rated:';
233
- DOWNLOAD_CHROME_URL = '';
234
- ENCODING = 'ISO-8859-1';
235
- DROP_LINK = 1;
236
- MSG_IS_TRANSLATION_BETTER = 'Is this translation better than the original?';
237
- MSG_SUBMIT_TRANSLATION = 'Yes, submit translation';
238
- MSG_THANK_FOR_SUBMISSION = 'Thank you for your submission.';
239
- WEBFONT = 1;
240
- AD_TYPE = 0;
241
- AD_TEST = 'off';
242
- ALPHA_LANGUAGES = {'az': 1, 'bn': 1, 'ceb': 1, 'eu': 1, 'gu': 1, 'hmn': 1, 'ht': 1, 'hy': 1, 'jw': 1, 'ka': 1, 'km': 1, 'kn': 1, 'la': 1, 'lo': 1, 'mr': 1, 'ta': 1, 'te': 1, 'ur': 1};
243
- DEFAULT_SOURCES = ['en', 'es', 'fr'];
244
- DEFAULT_TARGETS = ['en', 'es', 'ar'];
245
- DEFAULT_TTS_DIALECT_EN = 'en-US';
246
- DEFAULT_TTS_DIALECT_ES = 'es-MX';
247
- DEFAULT_TTS_DIALECT_PT = 'pt-BR';
248
- DEFAULT_TTS_DIALECT_ZH = 'zh';
249
- LOW_CONFIDENCE_THRESHOLD = -1;
250
- MAX_ALTERNATIVES_ROUNDTRIP_RESULTS = 1;
251
- WEB_TRANSLATION_PATH = '/translate';
252
- SIGNED_IN = false;
253
- USAGE = '';</script>
254
- <div id=gt-form-c>
255
- <form id=gt-form action="/" name=text_form method=post enctype="application/x-www-form-urlencoded">
256
- <div id=gt-appbar>
257
- <div id=gt-apb-c>
258
- <div id=gt-apb-main><a id=gt-appname href="/">Translate</a>
259
-
260
- <div id=gt-langs>
261
- <div id=gt-lang-src><label for=gt-sl id=gt-lang-src-lbl class=nje>From:</label>
262
- <select
263
- id=gt-sl name=sl class="jfk-button jfk-button-standard nje" tabindex=0>
264
- <option SELECTED value=auto>Detect language</option>
265
- <option value=separator disabled>&#8212;</option>
266
- <option value=af>Afrikaans</option>
267
- <option value=sq>Albanian</option>
268
- <option value=ar>Arabic</option>
269
- <option value=hy>Armenian</option>
270
- <option value=az>Azerbaijani</option>
271
- <option value=eu>Basque</option>
272
- <option value=be>Belarusian</option>
273
- <option value=bn>Bengali</option>
274
- <option value=bs>Bosnian</option>
275
- <option value=bg>Bulgarian</option>
276
- <option value=ca>Catalan</option>
277
- <option value=ceb>Cebuano</option>
278
- <option value=zh-CN>Chinese</option>
279
- <option value=hr>Croatian</option>
280
- <option value=cs>Czech</option>
281
- <option value=da>Danish</option>
282
- <option value=nl>Dutch</option>
283
- <option value=en>English</option>
284
- <option value=eo>Esperanto</option>
285
- <option value=et>Estonian</option>
286
- <option value=tl>Filipino</option>
287
- <option value=fi>Finnish</option>
288
- <option value=fr>French</option>
289
- <option value=gl>Galician</option>
290
- <option value=ka>Georgian</option>
291
- <option value=de>German</option>
292
- <option value=el>Greek</option>
293
- <option value=gu>Gujarati</option>
294
- <option value=ht>Haitian Creole</option>
295
- <option value=iw>Hebrew</option>
296
- <option value=hi>Hindi</option>
297
- <option value=hmn>Hmong</option>
298
- <option value=hu>Hungarian</option>
299
- <option value=is>Icelandic</option>
300
- <option value=id>Indonesian</option>
301
- <option value=ga>Irish</option>
302
- <option value=it>Italian</option>
303
- <option value=ja>Japanese</option>
304
- <option value=jw>Javanese</option>
305
- <option value=kn>Kannada</option>
306
- <option value=km>Khmer</option>
307
- <option value=ko>Korean</option>
308
- <option value=lo>Lao</option>
309
- <option value=la>Latin</option>
310
- <option value=lv>Latvian</option>
311
- <option value=lt>Lithuanian</option>
312
- <option value=mk>Macedonian</option>
313
- <option value=ms>Malay</option>
314
- <option value=mt>Maltese</option>
315
- <option value=mr>Marathi</option>
316
- <option value=no>Norwegian</option>
317
- <option value=fa>Persian</option>
318
- <option value=pl>Polish</option>
319
- <option value=pt>Portuguese</option>
320
- <option value=ro>Romanian</option>
321
- <option value=ru>Russian</option>
322
- <option value=sr>Serbian</option>
323
- <option value=sk>Slovak</option>
324
- <option value=sl>Slovenian</option>
325
- <option value=es>Spanish</option>
326
- <option value=sw>Swahili</option>
327
- <option value=sv>Swedish</option>
328
- <option value=ta>Tamil</option>
329
- <option value=te>Telugu</option>
330
- <option value=th>Thai</option>
331
- <option value=tr>Turkish</option>
332
- <option value=uk>Ukrainian</option>
333
- <option value=ur>Urdu</option>
334
- <option value=vi>Vietnamese</option>
335
- <option value=cy>Welsh</option>
336
- <option value=yi>Yiddish</option>
337
- </select>
338
-
339
- <div id="gt-sl-gms" class="goog-inline-block goog-flat-menu-button je">
340
- <div class="goog-inline-block goog-flat-menu-button-caption">From: Detect language
341
- </div>
342
- <div class="goog-inline-block goog-flat-menu-button-dropdown"></div>
343
- </div>
344
- </div>
345
- <div id=gt-lang-swap>
346
- <div id=gt-swap title="Swap languages"
347
- class="jfk-button-standard jfk-button-narrow jfk-button jfk-button-disabled trans-swap-button je">
348
- <span class="jfk-button-img"></span></div>
349
- </div>
350
- <div id=gt-lang-tgt><label for=gt-tl id=gt-lang-tgt-lbl class=nje>To:</label><select
351
- id=gt-tl name=tl class="jfk-button jfk-button-standard nje" tabindex=0>
352
- <option value=af>Afrikaans</option>
353
- <option value=sq>Albanian</option>
354
- <option value=ar>Arabic</option>
355
- <option value=hy>Armenian</option>
356
- <option value=az>Azerbaijani</option>
357
- <option value=eu>Basque</option>
358
- <option value=be>Belarusian</option>
359
- <option value=bn>Bengali</option>
360
- <option value=bs>Bosnian</option>
361
- <option value=bg>Bulgarian</option>
362
- <option value=ca>Catalan</option>
363
- <option value=ceb>Cebuano</option>
364
- <option value=zh-CN>Chinese (Simplified)</option>
365
- <option value=zh-TW>Chinese (Traditional)</option>
366
- <option value=hr>Croatian</option>
367
- <option value=cs>Czech</option>
368
- <option value=da>Danish</option>
369
- <option value=nl>Dutch</option>
370
- <option SELECTED value=en>English</option>
371
- <option value=eo>Esperanto</option>
372
- <option value=et>Estonian</option>
373
- <option value=tl>Filipino</option>
374
- <option value=fi>Finnish</option>
375
- <option value=fr>French</option>
376
- <option value=gl>Galician</option>
377
- <option value=ka>Georgian</option>
378
- <option value=de>German</option>
379
- <option value=el>Greek</option>
380
- <option value=gu>Gujarati</option>
381
- <option value=ht>Haitian Creole</option>
382
- <option value=iw>Hebrew</option>
383
- <option value=hi>Hindi</option>
384
- <option value=hmn>Hmong</option>
385
- <option value=hu>Hungarian</option>
386
- <option value=is>Icelandic</option>
387
- <option value=id>Indonesian</option>
388
- <option value=ga>Irish</option>
389
- <option value=it>Italian</option>
390
- <option value=ja>Japanese</option>
391
- <option value=jw>Javanese</option>
392
- <option value=kn>Kannada</option>
393
- <option value=km>Khmer</option>
394
- <option value=ko>Korean</option>
395
- <option value=lo>Lao</option>
396
- <option value=la>Latin</option>
397
- <option value=lv>Latvian</option>
398
- <option value=lt>Lithuanian</option>
399
- <option value=mk>Macedonian</option>
400
- <option value=ms>Malay</option>
401
- <option value=mt>Maltese</option>
402
- <option value=mr>Marathi</option>
403
- <option value=no>Norwegian</option>
404
- <option value=fa>Persian</option>
405
- <option value=pl>Polish</option>
406
- <option value=pt>Portuguese</option>
407
- <option value=ro>Romanian</option>
408
- <option value=ru>Russian</option>
409
- <option value=sr>Serbian</option>
410
- <option value=sk>Slovak</option>
411
- <option value=sl>Slovenian</option>
412
- <option value=es>Spanish</option>
413
- <option value=sw>Swahili</option>
414
- <option value=sv>Swedish</option>
415
- <option value=ta>Tamil</option>
416
- <option value=te>Telugu</option>
417
- <option value=th>Thai</option>
418
- <option value=tr>Turkish</option>
419
- <option value=uk>Ukrainian</option>
420
- <option value=ur>Urdu</option>
421
- <option value=vi>Vietnamese</option>
422
- <option value=cy>Welsh</option>
423
- <option value=yi>Yiddish</option>
424
- </select>
425
-
426
- <div id="gt-tl-gms" class="goog-inline-block goog-flat-menu-button je">
427
- <div class="goog-inline-block goog-flat-menu-button-caption">To: English</div>
428
- <div class="goog-inline-block goog-flat-menu-button-dropdown"></div>
429
- </div>
430
- </div>
431
- <div id=gt-lang-submit><input type=submit id=gt-submit value="Translate" tabindex=0
432
- class="jfk-button jfk-button-action"></div>
433
- </div>
434
- </div>
435
- </div>
436
- </div>
437
- <div id=gt-text-all>
438
- <div id=gt-main>
439
- <div id=gt-text-c>
440
- <div id=gt-text-top>
441
- <div id=gt-src-c class=g-unit>
442
- <div id=gt-src-p><input type=hidden name=js value=n id=js><input type=hidden name=prev
443
- value="_t"
444
- id=prev><input
445
- type=hidden name=hl value="en" id=hl><input type=hidden name=ie
446
- value="ISO-8859-1">
447
-
448
- <div id=gt-src-lang-sugg class="gt-lang-sugg-message je">
449
- <div class="goog-inline-block goog-toolbar-button">
450
- <div class="goog-inline-block goog-toolbar-button-outer-box">
451
- <div class="goog-inline-block goog-toolbar-button-inner-box">English
452
- </div>
453
- </div>
454
- </div>
455
- <div class="goog-inline-block goog-toolbar-button">
456
- <div class="goog-inline-block goog-toolbar-button-outer-box">
457
- <div class="goog-inline-block goog-toolbar-button-inner-box">Spanish
458
- </div>
459
- </div>
460
- </div>
461
- <div class="goog-inline-block goog-toolbar-button">
462
- <div class="goog-inline-block goog-toolbar-button-outer-box">
463
- <div class="goog-inline-block goog-toolbar-button-inner-box">French
464
- </div>
465
- </div>
466
- </div>
467
- </div>
468
- <div id=gt-src-wrap><label for=source style="display:none">Translate text or
469
- webpage</label>
470
-
471
- <div style="width: 100%;"><textarea id=source name=text wrap=SOFT tabindex=0
472
- dir="ltr" spellcheck="false"
473
- autocapitalize="off" autocomplete="off"
474
- autocorrect="off"></textarea></div>
475
- <script>(function () {
476
- var src = document.getElementById('source');
477
- src.focus();
478
- src.select();
479
- src.style.boxSizing = src.style.WebkitBoxSizing = src.style.MozBoxSizing = src.style.MsBoxSizing = 'border-box';
480
- })();</script>
481
- <div id=gt-src-tools>
482
- <div id=gt-src-tools-l></div>
483
- <div id=gt-src-tools-r></div>
484
- </div>
485
- </div>
486
- <div id=select_document>Type text or a website address or <a href="/?tr=f&hl=en">translate
487
- a document.</a></div>
488
- <div id=file_div class=file style="display:none">
489
- <div id=select_text><a href="/?tr=t&hl=en">Cancel</a></div>
490
- <input type=file name=file id=file size=40></div>
491
- <div id=src-translit class=translit dir=ltr style="text-align:;display:none"></div>
492
- <div id=spelling-correction style="display:none"></div>
493
- <div id=gt-src-ex></div>
494
- </div>
495
- </div>
496
- <div id=gt-res-c class=g-unit>
497
- <div id=gt-res-p>
498
- <div id=gt-res-data>
499
- <div id=gt-tgt-lang-sugg class="gt-lang-sugg-message je">
500
- <div class="goog-inline-block goog-toolbar-button goog-toolbar-button-checked">
501
- <div class="goog-inline-block goog-toolbar-button-outer-box">
502
- <div class="goog-inline-block goog-toolbar-button-inner-box">
503
- English
504
- </div>
505
- </div>
506
- </div>
507
- <div class="goog-inline-block goog-toolbar-button">
508
- <div class="goog-inline-block goog-toolbar-button-outer-box">
509
- <div class="goog-inline-block goog-toolbar-button-inner-box">
510
- Spanish
511
- </div>
512
- </div>
513
- </div>
514
- <div class="goog-inline-block goog-toolbar-button">
515
- <div class="goog-inline-block goog-toolbar-button-outer-box">
516
- <div class="goog-inline-block goog-toolbar-button-inner-box">
517
- Arabic
518
- </div>
519
- </div>
520
- </div>
521
- </div>
522
- <div id=gt-res-wrap>
523
- <div id="gt-res-content" class=almost_half_cell>
524
- <div dir="ltr" style="zoom:1">
525
- <div id="tts_button" style="display:none" class="">
526
- <object type="application/x-shockwave-flash"
527
- data="//ssl.gstatic.com/translate/sound_player2.swf"
528
- width="18" height="18" id="tts">
529
- <param value="//ssl.gstatic.com/translate/sound_player2.swf"
530
- name="movie"/>
531
- <param value="sound_name_cb=_TTSSoundFile"
532
- name="flashvars"/>
533
- <param value="transparent" name="wmode"/>
534
- <param value="always" name="allowScriptAccess"/>
535
- </object>
536
- </div>
537
- <span id=result_box class="short_text"></span></div>
538
- </div>
539
- <div id=gt-res-tools>
540
- <div id=gt-res-tools-l>
541
- <div id=gt-pb-star></div>
542
- <div id=gt-res-undo><a id=gt-undo style="display:none"></a></div>
543
- </div>
544
- <div id=gt-res-tools-r>
545
- <div id="gt-alpha" class="goog-inline-block" style="display:none">
546
- Alpha
547
- </div>
548
- </div>
549
- </div>
550
- </div>
551
- <div id=res-translit class=translit dir=ltr style="text-align:"></div>
552
- <div id=gt-res-ex></div>
553
- <div id=gt-res-dict style="display:none"><h3>Dictionary</h3></div>
554
- </div>
555
- </div>
556
- </div>
557
- </div>
558
- <div id=gt-question-promo><span class="jfk-butterBar jfk-butterBar-shown jfk-butterBar-info">Would you mind <a
559
- target=_blank>answering some questions</a> to help improve translation quality?</span>
560
- </div>
561
- <div id=gt-ft>
562
- <div id=gt-ft-mkt>
563
- <div class=gt-ft-promos><span class=gt-ft-text>Google Translate for Business:</span><a
564
- href="http://www.google.com/url?source=transpromo&rs=rsmf&q=http://translate.google.com/toolkit%3Fhl%3Den"><span
565
- id="gt-ft-mkt-toolkit" class=gt-ft-mkt-icon></span>Translator Toolkit</a><a
566
- href="http://www.google.com/url?source=transpromo&rs=rsmf&q=http://translate.google.com/manager/website/%3Fhl%3Den"><span
567
- id="gt-ft-mkt-element" class=gt-ft-mkt-icon></span>Website Translator</a><a
568
- href="http://www.google.com/url?source=transpromo&rs=rsmf&q=http://translate.google.com/globalmarketfinder/%3Flocale%3Den"><span
569
- id="gt-ft-mkt-gmf" class=gt-ft-mkt-icon></span>Global Market Finder</a></div>
570
- </div>
571
- </div>
572
- </div>
573
- </div>
574
- </div>
575
- </form>
576
- </div>
577
- <script>{
578
- window.jstiming.load.tick('rsw');
579
- window.jstiming.load.tick('rsl');
580
- window.jstiming.load.tick('rtl');
581
- function _njClk(e) {
582
- document.body.className += ' nj';
583
- var i = new Image();
584
- i.src = '/gen204?njclk=1';
585
- i.onload = function () {
586
- i.onload = null;
587
- };
588
- }
589
-
590
- var slgms = document.getElementById('gt-sl-gms');
591
- var tlgms = document.getElementById('gt-tl-gms');
592
- slgms.onclick = tlgms.onclock = _njClk;
593
- }</script>
594
- <div id="gt-dd-filelink-help" style="display:none">Drag and drop file or link here to translate the document or web
595
- page.
596
- </div>
597
- <div id="gt-dd-link-help" style="display:none">Drag and drop link here to translate the web page.</div>
598
- <div id="gt-dd-file-error" style="display:none">We do not support the type of file you drop. Please try other file
599
- types.
600
- </div>
601
- <div id="gt-dd-link-error" style="display:none">We do not support the type of link you drop. Please try link of
602
- other types.
603
- </div>
604
- <div id=gt-ft-res><span id=ft-l><a id=gt-otf-switch href="/?hl=en&eotf=0">Turn off instant
605
- translation</a></span><span id=ft-r><a
606
- href="http://www.google.com/url?source=transpromo&rs=rssf&q=http://translate.google.com/about/intl/en_ALL/">About
607
- Google Translate</a><a
608
- href="http://www.google.com/url?source=transpromo&rs=rssf&q=http://www.google.com/mobile/translate/">Mobile</a><a
609
- href="http://www.google.com/url?source=transpromo&rs=rssf&q=http://www.google.com/intl/en/privacy.html">Privacy</a><a
610
- href="http://www.google.com/url?source=transpromo&rs=rssf&q=http://www.google.com/support/translate/">Help</a><a
611
- href="javascript:void(0);" id="gt-feedback">Send feedback</a></span></div>
612
- <script>MSG_GOOGLE_TRANSLATE = 'Google Translate';
613
- common_translation_tooltip = 'Common translation';
614
- detect_language = 'Detect language';
615
- n_more_label = '+ %1$s more';
616
- rare_translation_tooltip = 'Rare translation';
617
- source_language_detected = '%1$s - detected';
618
- uncommon_translation_tooltip = 'Uncommon translation';
619
- url_hyperlink_tooltip = 'View translated webpage';
620
- MSG_PUBLIC_EVAL_PATH = '';
621
- MSG_PUBLIC_EVAL_PATH = '/question';
622
- CLICKABLE_DICTIONARY = 1;
623
- REORDERING = 1;
624
- EXPERIMENT_IDS = [];
625
- FILE_TRANSLATION_PATH = 'http://translate.googleusercontent.com/translate_f';
626
- PUBLIC_EVAL_LANGUAGE_PAIRS = {};
627
- PUBLIC_EVAL_LANGUAGE_PAIRS = {"en/mi": true, "mi/en": true};
628
- TEXT_TRANSLATION_PATH = '/';
629
- TR_ASYNC_JS_PATH = '/translate/releases/twsfe_w_20130624_RC01/r/js/desktop_module_async.js';
630
- TR_LAZY_JS_PATH = '/translate/releases/twsfe_w_20130624_RC01/r/js/desktop_module_lazy.js';
631
- TTS_TEXT_SIZE_LIMIT = 100;
632
- TRANSLATED_TEXT = '';
633
- INPUT_TOOL_PATH = '//www.google.com';
634
- var ctr, h;
635
- tld = '.com';
636
- FEATURE_STICKINESS = [
637
- [, , , 0, "auto", "en"],
638
- 1
639
- ];</script>
640
- <script src="/translate/releases/twsfe_w_20130624_RC01/r/js/desktop_module_main.js"></script>
641
- <script>window.jstiming.load.tick('br');
642
- Init();
643
- window.jstiming.load.tick('prt');</script>
644
- <script>TR_ASYNC_JS_PATH && LoadJsModule(TR_ASYNC_JS_PATH);</script>
645
- </div>
646
- </body>
647
- </html>