locale-lt-debug.js 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. /**
  2. * Lithuanian Translations (UTF-8)
  3. * Vladas Saulis (vladas at prodata dot lt), 03-29-2009
  4. * Vladas Saulis (vladas at prodata dot lt), 10-18-2007
  5. */
  6. Ext.onReady(function() {
  7. if (Ext.Date) {
  8. Ext.Date.monthNames = ["Sausis", "Vasaris", "Kovas", "Balandis", "Gegužė", "Birželis", "Liepa", "Rugpjūtis", "Rugsėjis", "Spalis", "Lapkritis", "Gruodis"];
  9. Ext.Date.getShortMonthName = function(month) {
  10. // Uncommons
  11. // eslint-disable-next-line eqeqeq
  12. if (month == 7) {
  13. return "Rgp";
  14. }
  15. // eslint-disable-next-line eqeqeq
  16. if (month == 8) {
  17. return "Rgs";
  18. }
  19. // eslint-disable-next-line eqeqeq
  20. if (month == 11) {
  21. return "Grd";
  22. }
  23. return Ext.Date.monthNames[month].substring(0, 3);
  24. };
  25. Ext.Date.monthNumbers = {
  26. Sau: 0,
  27. Vas: 1,
  28. Kov: 2,
  29. Bal: 3,
  30. Geg: 4,
  31. Bir: 5,
  32. Lie: 6,
  33. Rgp: 7,
  34. Rgs: 8,
  35. Spa: 9,
  36. Lap: 10,
  37. Grd: 11
  38. };
  39. Ext.Date.getMonthNumber = function(name) {
  40. // Some uncommons
  41. if (name === "Rugpjūtis") {
  42. return 7;
  43. }
  44. if (name === "Rugsėjis") {
  45. return 8;
  46. }
  47. if (name === "Gruodis") {
  48. return 11;
  49. }
  50. return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
  51. };
  52. Ext.Date.dayNames = ["Sekmadienis", "Pirmadienis", "Antradienis", "Trečiadienis", "Ketvirtadienis", "Penktadienis", "Šeštadienis"];
  53. Ext.Date.parseCodes.S.s = "(?:as|as|as|as)";
  54. Ext.Date.getShortDayName = function(day) {
  55. return Ext.Date.dayNames[day].substring(0, 3);
  56. };
  57. }
  58. if (Ext.util && Ext.util.Format) {
  59. Ext.apply(Ext.util.Format, {
  60. thousandSeparator: '.',
  61. decimalSeparator: ',',
  62. currencySign: 'Lt',
  63. // Lithuanian Litai
  64. dateFormat: 'Y-m-d'
  65. });
  66. }
  67. });
  68. Ext.define("Ext.locale.lt.view.View", {
  69. override: "Ext.view.View",
  70. emptyText: ""
  71. });
  72. Ext.define("Ext.locale.lt.view.View", {
  73. override: "Ext.view.View",
  74. emptyText: ""
  75. });
  76. Ext.define("Ext.locale.lt.grid.plugin.DragDrop", {
  77. override: "Ext.grid.plugin.DragDrop",
  78. dragText: "{0} pažymėtų eilučių"
  79. });
  80. Ext.define("Ext.locale.lt.tab.Tab", {
  81. override: "Ext.tab.Tab",
  82. closeText: "Uždaryti šią užsklandą"
  83. });
  84. Ext.define("Ext.locale.lt.form.field.Base", {
  85. override: "Ext.form.field.Base",
  86. invalidText: "Šio lauko reikšmė neteisinga"
  87. });
  88. // changing the msg text below will affect the LoadMask
  89. Ext.define("Ext.locale.lt.view.AbstractView", {
  90. override: "Ext.view.AbstractView",
  91. loadingText: "Kraunasi..."
  92. });
  93. Ext.define("Ext.locale.lt.picker.Date", {
  94. override: "Ext.picker.Date",
  95. todayText: "Šiandien",
  96. minText: "Ši data yra mažesnė už leistiną",
  97. maxText: "Ši data yra didesnė už leistiną",
  98. disabledDaysText: "",
  99. disabledDatesText: "",
  100. nextText: 'Kitas mėnuo (Control+Right)',
  101. prevText: 'Ankstesnis mėnuo (Control+Left)',
  102. monthYearText: 'Pasirinkti mėnesį (Control+Up/Down perėjimui tarp metų)',
  103. todayTip: "{0} (Tarpas)",
  104. format: "Y-m-d",
  105. startDay: 1
  106. });
  107. Ext.define("Ext.locale.lt.picker.Month", {
  108. override: "Ext.picker.Month",
  109. okText: " Gerai ",
  110. cancelText: "Atsisaktyi"
  111. });
  112. Ext.define("Ext.locale.lt.toolbar.Paging", {
  113. override: "Ext.PagingToolbar",
  114. beforePageText: "Puslapis",
  115. afterPageText: "iš {0}",
  116. firstText: "Pirmas puslapis",
  117. prevText: "Ankstesnis pusl.",
  118. nextText: "Kitas puslapis",
  119. lastText: "Pakutinis pusl.",
  120. refreshText: "Atnaujinti",
  121. displayMsg: "Rodomi įrašai {0} - {1} iš {2}",
  122. emptyMsg: 'Nėra duomenų'
  123. });
  124. Ext.define("Ext.locale.lt.form.field.Text", {
  125. override: "Ext.form.field.Text",
  126. minLengthText: "Minimalus šio lauko ilgis yra {0}",
  127. maxLengthText: "Maksimalus šio lauko ilgis yra {0}",
  128. blankText: "Šis laukas yra privalomas",
  129. regexText: "",
  130. emptyText: null
  131. });
  132. Ext.define("Ext.locale.lt.form.field.Number", {
  133. override: "Ext.form.field.Number",
  134. minText: "Minimalus šio lauko ilgis yra {0}",
  135. maxText: "Maksimalus šio lauko ilgis yra {0}",
  136. nanText: "{0} yra neleistina reikšmė"
  137. });
  138. Ext.define("Ext.locale.lt.form.field.Date", {
  139. override: "Ext.form.field.Date",
  140. disabledDaysText: "Neprieinama",
  141. disabledDatesText: "Neprieinama",
  142. minText: "Šiame lauke data turi būti didesnė už {0}",
  143. maxText: "Šiame lauke data turi būti mažesnėė už {0}",
  144. invalidText: "{0} yra neteisinga data - ji turi būti įvesta formatu {1}",
  145. format: "Y-m-d",
  146. altFormats: "y-m-d|y/m/d|Y-m-d|m/d|m-d|md|ymd|Ymd|d|Y-m-d"
  147. });
  148. Ext.define("Ext.locale.lt.form.field.ComboBox", {
  149. override: "Ext.form.field.ComboBox",
  150. valueNotFoundText: undefined
  151. }, function() {
  152. Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
  153. loadingText: "Kraunasi..."
  154. });
  155. });
  156. Ext.define("Ext.locale.lt.form.field.VTypes", {
  157. override: "Ext.form.field.VTypes",
  158. emailText: 'Šiame lauke turi būti el.pašto adresas formatu "user@example.com"',
  159. urlText: 'Šiame lauke turi būti nuoroda (URL) formatu "http:/' + '/www.example.com"',
  160. alphaText: 'Šiame lauke gali būti tik raidės ir ženklas "_"',
  161. alphanumText: 'Šiame lauke gali būti tik raidės, skaičiai ir ženklas "_"'
  162. });
  163. Ext.define("Ext.locale.lt.form.field.HtmlEditor", {
  164. override: "Ext.form.field.HtmlEditor",
  165. createLinkText: 'Įveskite URL šiai nuorodai:'
  166. }, function() {
  167. Ext.apply(Ext.form.field.HtmlEditor.prototype, {
  168. buttonTips: {
  169. bold: {
  170. title: 'Bold (Ctrl+B)',
  171. text: 'Teksto paryškinimas.',
  172. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  173. },
  174. italic: {
  175. title: 'Italic (Ctrl+I)',
  176. text: 'Kursyvinis tekstas.',
  177. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  178. },
  179. underline: {
  180. title: 'Underline (Ctrl+U)',
  181. text: 'Teksto pabraukimas.',
  182. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  183. },
  184. increasefontsize: {
  185. title: 'Padidinti šriftą',
  186. text: 'Padidinti šrifto dydį.',
  187. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  188. },
  189. decreasefontsize: {
  190. title: 'Sumažinti šriftą',
  191. text: 'Sumažinti šrifto dydį.',
  192. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  193. },
  194. backcolor: {
  195. title: 'Nuspalvinti teksto foną',
  196. text: 'Pakeisti teksto fono spalvą.',
  197. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  198. },
  199. forecolor: {
  200. title: 'Teksto spalva',
  201. text: 'Pakeisti pažymėto teksto spalvą.',
  202. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  203. },
  204. justifyleft: {
  205. title: 'Išlyginti kairen',
  206. text: 'Išlyginti tekstą į kairę.',
  207. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  208. },
  209. justifycenter: {
  210. title: 'Centruoti tekstą',
  211. text: 'Centruoti tektą redaktoriaus lange.',
  212. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  213. },
  214. justifyright: {
  215. title: 'Išlyginti dešinėn',
  216. text: 'Išlyginti tekstą į dešinę.',
  217. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  218. },
  219. insertunorderedlist: {
  220. title: 'Paprastas sąrašas',
  221. text: 'Pradėti neorganizuotą sąrašą.',
  222. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  223. },
  224. insertorderedlist: {
  225. title: 'Numeruotas sąrašas',
  226. text: 'Pradėti numeruotą sąrašą.',
  227. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  228. },
  229. createlink: {
  230. title: 'Nuoroda',
  231. text: 'Padaryti pažymėta tekstą nuoroda.',
  232. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  233. },
  234. sourceedit: {
  235. title: 'Išeities tekstas',
  236. text: 'Persijungti į išeities teksto koregavimo režimą.',
  237. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  238. }
  239. }
  240. });
  241. });
  242. Ext.define("Ext.locale.lt.form.Basic", {
  243. override: "Ext.form.Basic",
  244. waitTitle: "Palaukite..."
  245. });
  246. Ext.define("Ext.locale.lt.grid.header.Container", {
  247. override: "Ext.grid.header.Container",
  248. sortAscText: "Rūšiuoti didėjančia tvarka",
  249. sortDescText: "Rūšiuoti mažėjančia tvarka",
  250. lockText: "Užfiksuoti stulpelį",
  251. unlockText: "Atlaisvinti stulpelį",
  252. columnsText: "Stulpeliai"
  253. });
  254. Ext.define("Ext.locale.lt.grid.GroupingFeature", {
  255. override: "Ext.grid.feature.Grouping",
  256. emptyGroupText: '(Nėra)',
  257. groupByText: 'Grupuoti pagal šį lauką',
  258. showGroupsText: 'Rodyti grupėse'
  259. });
  260. Ext.define("Ext.locale.lt.grid.PropertyColumnModel", {
  261. override: "Ext.grid.PropertyColumnModel",
  262. nameText: "Pavadinimas",
  263. valueText: "Reikšmė",
  264. dateFormat: "Y-m-d"
  265. });
  266. Ext.define("Ext.locale.lt.form.field.Time", {
  267. override: "Ext.form.field.Time",
  268. minText: "Laikas turi buti lygus arba vėlesnis už {0}",
  269. maxText: "Laikas turi būti lygus arba ankstesnis už {0}",
  270. invalidText: "{0} yra neteisingas laikas",
  271. format: "H:i",
  272. altFormats: "g:ia|g:iA|g:i a|g:i A|h:i|g:i|H:i|ga|ha|gA|h a|g a|g A|gi|hi|gia|hia|g|H"
  273. });
  274. Ext.define("Ext.locale.lt.form.CheckboxGroup", {
  275. override: "Ext.form.CheckboxGroup",
  276. blankText: "Jūs turite padaryti bent vieną pasirinkimą šioje grupėje"
  277. });
  278. Ext.define("Ext.locale.lt.form.RadioGroup", {
  279. override: "Ext.form.RadioGroup",
  280. blankText: "Jūs turite padaryti bent vieną pasirinkimą šioje grupėje"
  281. });
  282. Ext.define("Ext.locale.lt.window.MessageBox", {
  283. override: "Ext.window.MessageBox",
  284. buttonText: {
  285. ok: "Gerai",
  286. cancel: "Atsisakyti",
  287. yes: "Taip",
  288. no: "Ne"
  289. }
  290. });
  291. // This is needed until we can refactor all of the locales into individual files
  292. Ext.define("Ext.locale.lt.Component", {
  293. override: "Ext.Component"
  294. });