PageRenderTime 27ms CodeModel.GetById 14ms app.highlight 7ms RepoModel.GetById 1ms app.codeStats 0ms

/indra/newview/skins/default/xui/en/floater_translation_settings.xml

https://bitbucket.org/lindenlab/viewer-beta/
XML | 244 lines | 234 code | 9 blank | 1 comment | 0 complexity | 0b7e66505b1c44530d70fb72b7a6e8d1 MD5 | raw file
  1<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2<floater
  3 legacy_header_height="18"
  4 height="310"
  5 layout="topleft"
  6 name="floater_translation_settings"
  7 help_topic="translation_settings"
  8 save_rect="true"
  9 title="CHAT TRANSLATION SETTINGS"
 10 width="485">
 11
 12 <string name="bing_api_key_not_verified">Bing appID not verified. Please try again.</string>
 13 <string name="google_api_key_not_verified">Google API key not verified. Please try again.</string>
 14
 15 <string name="bing_api_key_verified">Bing appID verified.</string>
 16 <string name="google_api_key_verified">Google API key verified.</string>
 17
 18 <check_box
 19  height="16"     
 20  label="Enable machine translation while chatting"
 21  layout="topleft"
 22  left="10"
 23  name="translate_chat_checkbox"
 24  top="30"
 25  width="20" />
 26 <text
 27  height="20"
 28  follows="left|top"
 29  layout="topleft"
 30  left="40"
 31  name="translate_language_label"
 32  top_pad="20"
 33  width="130">
 34  Translate chat into: 
 35 </text>
 36 <combo_box
 37  allow_text_entry="true"
 38  follows="left|top"
 39  height="23"
 40  left_pad="10"
 41  max_chars="135"
 42  mouse_opaque="true"
 43  name="translate_language_combo"
 44  top_delta="-5"
 45  width="190">
 46  <combo_box.item
 47   label="System Default"
 48   name="System Default Language"
 49   value="default" />
 50  <combo_box.item
 51   label="English"
 52   name="English"
 53   value="en" />
 54  <!-- After "System Default" and "English", please keep the rest of these combo_box.items in alphabetical order by the first character in the string. -->
 55  <combo_box.item
 56   label="Dansk (Danish)"
 57   name="Danish"
 58   value="da" />
 59  <combo_box.item
 60   label="Deutsch (German)"
 61   name="German"
 62   value="de" />
 63  <combo_box.item
 64   label="Espańol (Spanish)"
 65   name="Spanish"
 66   value="es" />
 67  <combo_box.item
 68   label="Français (French)"
 69   name="French"
 70   value="fr" />
 71  <combo_box.item
 72   label="Italiano (Italian)"
 73   name="Italian"
 74   value="it" />
 75  <combo_box.item
 76   label="Magyar (Hungarian)"
 77   name="Hungarian"
 78   value="hu" />
 79  <combo_box.item
 80   label="Nederlands (Dutch)"
 81   name="Dutch"
 82   value="nl" />
 83  <combo_box.item
 84   label="Polski (Polish)"
 85   name="Polish"
 86   value="pl" />
 87  <combo_box.item
 88   label="Portuguęs (Portuguese)"
 89   name="Portugese"
 90   value="pt" />
 91  <combo_box.item
 92   label="??????? (Russian)"
 93   name="Russian"
 94   value="ru" />
 95  <combo_box.item
 96   label="Türkçe (Turkish)"
 97   name="Turkish"
 98   value="tr" />
 99  <combo_box.item
100   label="?????????? (Ukrainian)"
101   name="Ukrainian"
102   value="uk" />
103  <combo_box.item
104   label="?? (??) (Chinese)"
105   name="Chinese"
106   value="zh" />
107  <combo_box.item
108   label="??? (Japanese)"
109   name="Japanese"
110   value="ja" />
111  <combo_box.item
112   label="??? (Korean)"
113   name="Korean"
114   value="ko" />
115 </combo_box>
116
117 <text
118  follows="top|left|right"
119  height="15"
120  layout="topleft"
121  left="40"
122  name="tip"
123  top_pad="20"
124  width="330"
125  wrap="true">
126  Choose translation service:
127 </text>
128
129 <radio_group
130  follows="top|left"
131  height="80"
132  layout="topleft"
133  left_delta="10"
134  name="translation_service_rg"
135  top_pad="20"
136  width="320">
137  <radio_item
138   initial_value="bing"
139   label="Bing Translator"
140   layout="topleft"
141   name="bing" />
142  <radio_item
143   initial_value="google"
144   label="Google Translate"
145   layout="topleft"
146   name="google"
147   top_pad="55" />
148 </radio_group>
149
150 <text
151  type="string"
152  length="1"
153  follows="top|right"
154  height="20"
155  layout="topleft"
156  left="70"
157  name="bing_api_key_label"
158  top_pad="-55"
159  width="85">
160  Bing [http://www.bing.com/developers/createapp.aspx AppID]:
161  </text>
162 <line_editor
163  default_text="Enter Bing AppID and click &quot;Verify&quot;"
164  follows="top|left"
165  height="20"
166  layout="topleft"
167  left_pad="10"
168  max_length_chars="50"
169  top_delta="-4"
170  name="bing_api_key"
171  width="210" />
172 <button
173  follows="left|top"
174  height="23"
175  label="Verify"
176  layout="topleft"
177  left_pad="10"
178  name="verify_bing_api_key_btn"
179  top_delta="-2"
180  width="90" />	
181
182 <text
183  follows="top|right"
184  height="20"
185  layout="topleft"
186  left="70"
187  length="1"
188  name="google_api_key_label"
189  top_pad="50"
190  type="string"
191  width="85">
192  Google [http://code.google.com/apis/language/translate/v2/getting_started.html#auth API key]:
193 </text>
194 <line_editor
195  default_text="Enter Google API key and click &quot;Verify&quot;"
196  follows="top|left"
197  height="20"
198  layout="topleft"
199  left_pad="10"
200  max_length_chars="50"
201  top_delta="-4"
202  name="google_api_key"
203  width="210" />
204 <button
205  follows="left|top"
206  height="23"
207  label="Verify"
208  layout="topleft"
209  left_pad="10"
210  name="verify_google_api_key_btn"
211  top_delta="-2"
212  width="90" />	
213
214 <text
215  follows="top|right"
216  height="20"
217  layout="topleft"
218  left="185"
219  length="1"
220  name="google_links_text"
221  top_delta="-23"
222  type="string"
223  width="100">
224  [http://code.google.com/apis/language/translate/v2/pricing.html Pricing] | [https://code.google.com/apis/console Stats] 
225 </text>
226
227 <button
228  follows="left|top"
229  height="23"
230  label="OK"
231  layout="topleft"
232  right="-120"
233  name="ok_btn"
234  top="-30"
235  width="100" />
236 <button
237  follows="left|top"
238  height="23"
239  label="Cancel"
240  layout="topleft"
241  left_pad="10"
242  name="cancel_btn"
243  width="100" />	
244</floater>