summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en/floater_translation_settings.xml
blob: f21f64fcf6f8a3246d9819cfcf0b160e07c1f078 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<floater
 legacy_header_height="18"
 height="320"
 layout="topleft"
 name="floater_translation_settings"
 help_topic="environment_editor_floater"
 save_rect="true"
 title="TRANSLATION SETTINGS"
 width="350">

 <string name="no_bing_api_key">Bing Translator requires and appID to function.</string>
 <string name="no_google_api_key">Google Translate requires an API key to function.</string>

 <check_box
  height="16"     
  label="Use machine translation while chatting"
  layout="topleft"
  left="10"
  name="translate_chat_checkbox"
  top="30"
  width="20" />
 <text
  height="20"
  follows="left|top"
  layout="topleft"
  left="10"
  name="translate_language_label"
  top_pad="20"
  width="130">
  Translate chat into: 
 </text>
 <combo_box
  allow_text_entry="true"
  follows="left|top"
  height="23"
  left_pad="10"
  max_chars="135"
  mouse_opaque="true"
  name="translate_language_combo"
  top_delta="-5"
  width="190">
  <combo_box.item
   label="System Default"
   name="System Default Language"
   value="default" />
  <combo_box.item
   label="English"
   name="English"
   value="en" />
  <!-- After "System Default" and "English", please keep the rest of these combo_box.items in alphabetical order by the first character in the string. -->
  <combo_box.item
   label="Dansk (Danish)"
   name="Danish"
   value="da" />
  <combo_box.item
   label="Deutsch (German)"
   name="German"
   value="de" />
  <combo_box.item
   label="Español (Spanish)"
   name="Spanish"
   value="es" />
  <combo_box.item
   label="Français (French)"
   name="French"
   value="fr" />
  <combo_box.item
   label="Italiano (Italian)"
   name="Italian"
   value="it" />
  <combo_box.item
   label="Magyar (Hungarian)"
   name="Hungarian"
   value="hu" />
  <combo_box.item
   label="Nederlands (Dutch)"
   name="Dutch"
   value="nl" />
  <combo_box.item
   label="Polski (Polish)"
   name="Polish"
   value="pl" />
  <combo_box.item
   label="Português (Portuguese)"
   name="Portugese"
   value="pt" />
  <combo_box.item
   label="Русский (Russian)"
   name="Russian"
   value="ru" />
  <combo_box.item
   label="Türkçe (Turkish)"
   name="Turkish"
   value="tr" />
  <combo_box.item
   label="Українська (Ukrainian)"
   name="Ukrainian"
   value="uk" />
  <combo_box.item
   label="中文 (简体) (Chinese)"
   name="Chinese"
   value="zh" />
  <combo_box.item
   label="日本語 (Japanese)"
   name="Japanese"
   value="ja" />
  <combo_box.item
   label="한국어 (Korean)"
   name="Korean"
   value="ko" />
 </combo_box>

 <text
  follows="top|left|right"
  height="15"
  layout="topleft"
  left="10"
  name="tip"
  top_pad="20"
  width="330"
  wrap="true">
  Choose translation service to use:
 </text>

 <radio_group
  follows="top|left"
  height="55"
  layout="topleft"
  left_delta="10"
  name="translation_service_rg"
  top_pad="20"
  width="320">
  <radio_item
   initial_value="bing"
   label="Bing Translator"
   layout="topleft"
   name="bing" />
  <radio_item
   initial_value="google"
   label="Google Translate"
   layout="topleft"
   name="google"
   top_pad="20" />
 </radio_group>

 <text
  type="string"
  length="1"
  follows="top|right"
  height="20"
  layout="topleft"
  left="10"
  name="bing_api_key_label"
  top_pad="20"
  width="100">
  Bing [http://www.bing.com/developers/createapp.aspx AppID]:
  </text>
 <line_editor
  follows="top|left"
  height="20"
  layout="topleft"
  left_pad="10"
  max_length_chars="50"
  top_delta="-4"
  name="bing_api_key"
  value=""
  width="220" />

 <text
  follows="top|right"
  height="20"
  layout="topleft"
  left="10"
  length="1"
  name="google_api_key_label"
  top_pad="20"
  type="string"
  width="100">
  Google [http://code.google.com/apis/language/translate/v2/pricing.html API key]:
 </text>
 <line_editor
  follows="top|left"
  height="20"
  layout="topleft"
  left_pad="10"
  max_length_chars="50"
  top_delta="-4"
  name="google_api_key"
  width="220" />

 <text
  follows="top|right"
  height="20"
  layout="topleft"
  left="155"
  length="1"
  name="google_pricing_link"
  top_delta="-80"
  type="string"
  width="100">
  ([http://code.google.com/apis/language/translate/v2/pricing.html pricing])
 </text>

 <button
  follows="left|top"
  height="23"
  label="OK"
  layout="topleft"
  right="-120"
  name="ok_btn"
  top="-30"
  width="100" />
 <button
  follows="left|top"
  height="23"
  label="Cancel"
  layout="topleft"
  left_pad="10"
  name="cancel_btn"
  width="100" />	
</floater>