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