TW-Collections-EN Translation

English Translation - TW-Collections - see below

当前为 2015-01-11 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name TW-Collections-EN Translation
  3. // @description English Translation - TW-Collections - see below
  4. // @include http://*.the-west.*/game.php*
  5. // @include http://userscripts.org/scripts/source/178803*
  6. // @version 1.0.9
  7. // @grant none
  8. // @namespace https://greasyfork.org/users/2196
  9. // ==/UserScript==
  10. // To add a new language to the TW Collections script :
  11. // Copy / paste this content into a new script
  12. // Replace translator by your name
  13. // idscript by the id of the script (last part of the url of your script)
  14. // short_name by the short name for your language
  15. // name by the long name of your language
  16. // Replace all lines with your translation
  17. //
  18. //
  19. // Use with TW Collection script :
  20. // Install this script (and of course TW Collections script), the new language appears in the settings.
  21. //
  22.  
  23. (function(e) {
  24. var t = document.createElement("script");
  25. t.type = "application/javascript";
  26. t.textContent = "(" + e + ")();";
  27. document.body.appendChild(t);
  28. t.parentNode.removeChild(t)
  29. })
  30. (function() {
  31. if (window.location.href.indexOf(".the-west.") > 0) {
  32.  
  33. TWT_ADDLANG = {
  34. translator : 'Dun',
  35. idscript : '1673',
  36. version : '1.0.9',
  37. short_name : 'en',
  38. name : 'English',
  39. translation : {
  40. // START OF LANGUAGE VARS
  41. description : "<center><BR /><b>TW-Collections</b><br><b>Tips and reporting missing items collections <br>list of collection needed items<BR> Bank fees on mouseover <br> Various shortcuts"
  42. + "<br>All reports deletion<br> Fees in bank <br> Additional buttons in inventory (duplicates,useables, recipes, sets) <br>etc ...</b>",
  43. Options : {
  44. tab : {
  45. setting : 'Settings'
  46. },
  47. checkbox_text : {
  48. box : {
  49. title : 'Features / Menus',
  50. options : {
  51. goHome : 'Travel to town',
  52. goToDaily1 : 'Ghost Town',
  53. goToDaily2 : 'Waupee Indian Camp ',
  54. ownSaloon : 'Open saloon',
  55. openMarket : 'Open Market',
  56. mobileTrader : 'Open Mobile Trader',
  57. forum : 'Open forum',
  58. listNeeded : 'Collector\'s items needed'
  59.  
  60. }
  61. },
  62. collection : {
  63. title : 'Collections',
  64. options : {
  65. gereNewItems : 'Manage the new items added on succeeded achievements',
  66. patchsell : 'Signal missing items in inventory',
  67. patchtrader : 'Signal missing items on Traders',
  68. patchmarket : 'Signal missing items on Market',
  69. showmiss : 'List for missing items on tip',
  70. filterMarket : 'Market filter : show only missing items (collections)'
  71.  
  72. }
  73. },
  74. inventory : {
  75. title : 'Buttons in inventory',
  76. doublons : 'Additional buttons in inventory (duplicates,useables, recipes, sets)',
  77. options : {
  78. doublons : 'Add button for duplicates search',
  79. useables : 'Add button for useables search',
  80. recipe : 'Add button for recipes search',
  81. sets : 'Add button for sets list',
  82. sum : 'Show sell sum on search based on merchant prices'
  83.  
  84. }
  85. },
  86. miscellaneous : {
  87. title : 'Miscellaneous',
  88. options : {
  89. lang : 'Language',
  90. logout : 'Add Logout button',
  91. deleteAllReports : 'Add suppress all reports action',
  92. showFees : 'Add Bank Fees on Mouseover',
  93. popupTWT:'Open menu of TW Collections on mouse hover'
  94. }
  95. },
  96. twdbadds : {
  97. title : 'Clothcalc Add-on',
  98. options : {
  99. filterBuyMarket : 'Market filter : show only marked missing items (twdb add)'
  100. }
  101. }
  102. },
  103. message : {
  104. title : 'Information',
  105. message : 'Preferences have been applied.',
  106. reloadButton : 'Reload this page',
  107. gameButton : 'Return to the game',
  108. indispo : 'Setting unavailable (Collections completed or script not available)',
  109. more : 'More ?',
  110. moreTip : 'Open the translations tips page'
  111. },
  112. update : {
  113. title : 'TW Collections Update',
  114. upddaily : 'Every day',
  115. updweek : 'Every week',
  116. updnever : 'Never',
  117. checknow : 'Check update now ?',
  118. updok : "The TW Collection's script is up to date",
  119. updlangmaj : 'An update is available for one or more languages ​​of the TW Collections script.<BR>Clic on the links bellow to upgrade.',
  120. updscript : 'An update is available for the script TW Collections<br/>Upgrade ?',
  121. upderror : 'Unable to upgrade, you should install the script or language manually'
  122. },
  123. saveButton : 'Save'
  124.  
  125. },
  126. ToolBox : {
  127. title : 'Features',
  128. list : {
  129. openOptions : 'Settings'
  130. }
  131. },
  132. Doublons : {
  133. tip : 'Show only duplicates',
  134. current : 'Current search',
  135. noset : 'Without set items',
  136. sellable : 'Sellables',
  137. auctionable : 'Auctionables',
  138. tipuse : 'Show only useables',
  139. tiprecipe : 'Show only recipes',
  140. tipsets : 'Show only set items',
  141. sellGain : '$ from the merchant'
  142. },
  143. Logout : {
  144. title : 'Logout'
  145. },
  146. AllReportsDelete : {
  147. button : 'Suppress all',
  148. title : 'Suppress all reports',
  149. work : 'Job',
  150. progress : 'Progress',
  151. userConfirm : 'User Confirm',
  152. loadPage : 'Load Page',
  153. deleteReports : 'Delete reports',
  154. confirmText : 'Supress all reports - Are you sure ?',
  155. deleteYes : 'Yes, delete',
  156. deleteNo : 'No, don\'t delete',
  157. status : {
  158. title : 'Status',
  159. wait : 'Wait',
  160. successful : 'R&eacute;ussi',
  161. fail : 'Error',
  162. error : 'Error'
  163. }
  164. },
  165. fees : {
  166. tipText : '%1 % Fees : $%2'
  167.  
  168. },
  169. twdbadds : {
  170. buyFilterTip : 'Show only missing items',
  171. buyFilterLabel : 'Missing items'
  172. },
  173. collection : {
  174. miss : "Missing : ",
  175. thText : '%1 missing item%2',
  176. thEncours : 'You have a bid for this item',
  177. thFetch : 'You may retrieve this item at %1\'s market ',
  178. allOpt : 'All',
  179. collectionFilterTip : 'Show only collections items',
  180. collectionFilterLabel : 'Collections only',
  181. select : 'Select ...',
  182. listText : 'Collector\'s items needed',
  183. filters : 'Filters',
  184. atTrader : 'Sold by mobile trader',
  185. atBid : 'Current bids',
  186. atCurBid : 'Ended bids',
  187. atTraderTitle : 'Show items on sale at the mobile trader',
  188. atBidTitle : 'Show currents bids',
  189. atCurBidTitle : 'Show items retrievable at market',
  190. searchMarket : 'Search in the market',
  191. patchsell : {
  192. title : "Items needed to complete collections"
  193. }
  194. }
  195. // END OF LANGUAGE VARS
  196. },
  197. // DO NOT CHANGE BELOW THIS LIGNE
  198. init : function() {
  199. var that = this;
  200. if (typeof window.TWT == 'undefined'
  201. || window.TWT == null) {
  202. EventHandler.listen('twt.init', function() {
  203. TWT.addPatchLang(that);
  204. return EventHandler.ONE_TIME_EVENT;
  205. });
  206. } else {
  207. EventHandler.signal('twt_lang_started_'
  208. + that.short_name);
  209. TWT.addPatchLang(that);
  210.  
  211. }
  212. }
  213.  
  214. }.init();
  215. }
  216. });