grid.locale-lt.js 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. /**
  2. * @license jqGrid Lithuanian Translation
  3. * aur1mas aur1mas@devnet.lt
  4. * http://aur1mas.devnet.lt
  5. * Dual licensed under the MIT and GPL licenses:
  6. * http://www.opensource.org/licenses/mit-license.php
  7. * http://www.gnu.org/licenses/gpl.html
  8. **/
  9. /*jslint white: true */
  10. /*global jQuery, module, require */
  11. (function (factory) {
  12. "use strict";
  13. if (typeof define === "function" && define.amd) {
  14. // AMD. Register as an anonymous module.
  15. define(["jquery"], factory);
  16. } else if (typeof module === "object" && module.exports) {
  17. // Node/CommonJS
  18. module.exports = function (root, $) {
  19. if ($ === undefined) {
  20. // require("jquery") returns a factory that requires window to
  21. // build a jQuery instance, we normalize how we use modules
  22. // that require this pattern but the window provided is a noop
  23. // if it's defined (how jquery works)
  24. $ = typeof window !== "undefined" ?
  25. require("jquery") :
  26. require("jquery")(root || window);
  27. }
  28. factory($);
  29. return $;
  30. };
  31. } else {
  32. // Browser globals
  33. factory(jQuery);
  34. }
  35. }(function ($) {
  36. "use strict";
  37. var locInfo = {
  38. isRTL: false,
  39. defaults: {
  40. recordtext: "Peržiūrima {0} - {1} iš {2}",
  41. emptyrecords: "Įrašų nėra",
  42. loadtext: "Kraunama...",
  43. pgtext: "Puslapis {0} iš {1}",
  44. pgfirst: "First Page",
  45. pglast: "Last Page",
  46. pgnext: "Next Page",
  47. pgprev: "Previous Page",
  48. pgrecs: "Records per Page",
  49. showhide: "Toggle Expand Collapse Grid",
  50. savetext: "Įrašoma..."
  51. },
  52. search: {
  53. caption: "Paieška...",
  54. Find: "Ieškoti",
  55. Reset: "Atstatyti",
  56. odata: [
  57. { oper: "eq", text: "lygu" },
  58. { oper: "ne", text: "nelygu" },
  59. { oper: "lt", text: "mažiau" },
  60. { oper: "le", text: "mažiau arba lygu" },
  61. { oper: "gt", text: "daugiau" },
  62. { oper: "ge", text: "daugiau arba lygu" },
  63. { oper: "bw", text: "prasideda" },
  64. { oper: "bn", text: "neprasideda" },
  65. { oper: "in", text: "reikšmė yra" },
  66. { oper: "ni", text: "reikšmės nėra" },
  67. { oper: "ew", text: "baigiasi" },
  68. { oper: "en", text: "nesibaigia" },
  69. { oper: "cn", text: "yra sudarytas" },
  70. { oper: "nc", text: "nėra sudarytas" },
  71. { oper: "nu", text: "is null" },
  72. { oper: "nn", text: "is not null" }
  73. ],
  74. groupOps: [
  75. { op: "AND", text: "visi" },
  76. { op: "OR", text: "bet kuris" }
  77. ],
  78. addGroupTitle: "Add subgroup",
  79. deleteGroupTitle: "Delete group",
  80. addRuleTitle: "Add rule",
  81. deleteRuleTitle: "Delete rule",
  82. operandTitle: "Click to select search operation.",
  83. resetTitle: "Reset Search Value"
  84. },
  85. edit: {
  86. addCaption: "Sukurti įrašą",
  87. editCaption: "Redaguoti įrašą",
  88. bSubmit: "Išsaugoti",
  89. bCancel: "Atšaukti",
  90. bClose: "Uždaryti",
  91. saveData: "Duomenys buvo pakeisti! Išsaugoti pakeitimus?",
  92. bYes: "Taip",
  93. bNo: "Ne",
  94. bExit: "Atšaukti",
  95. msg: {
  96. required: "Privalomas laukas",
  97. number: "Įveskite tinkamą numerį",
  98. minValue: "reikšmė turi būti didesnė arba lygi ",
  99. maxValue: "reikšmė turi būti mažesnė arba lygi",
  100. email: "neteisingas el. pašto adresas",
  101. integer: "Įveskite teisingą sveikąjį skaičių",
  102. date: "Įveskite teisingą datą",
  103. url: "blogas adresas. Nepamirškite pridėti ('http://' arba 'https://')",
  104. nodefined: " nėra apibrėžta!",
  105. novalue: " turi būti gražinama kokia nors reikšmė!",
  106. customarray: "Custom f-ja turi grąžinti masyvą!",
  107. customfcheck: "Custom f-ja tūrėtų būti sukurta, prieš bandant ją naudoti!"
  108. }
  109. },
  110. view: {
  111. caption: "Peržiūrėti įrašus",
  112. bClose: "Uždaryti"
  113. },
  114. del: {
  115. caption: "Ištrinti",
  116. msg: "Ištrinti pažymėtus įrašus(-ą)?",
  117. bSubmit: "Ištrinti",
  118. bCancel: "Atšaukti"
  119. },
  120. nav: {
  121. edittext: "",
  122. edittitle: "Redaguoti pažymėtą eilutę",
  123. addtext: "",
  124. addtitle: "Pridėti naują eilutę",
  125. deltext: "",
  126. deltitle: "Ištrinti pažymėtą eilutę",
  127. searchtext: "",
  128. searchtitle: "Rasti įrašus",
  129. refreshtext: "",
  130. refreshtitle: "Perkrauti lentelę",
  131. alertcap: "Įspėjimas",
  132. alerttext: "Pasirinkite eilutę",
  133. viewtext: "",
  134. viewtitle: "Peržiūrėti pasirinktą eilutę",
  135. savetext: "",
  136. savetitle: "Save row",
  137. canceltext: "",
  138. canceltitle: "Cancel row editing"
  139. },
  140. col: {
  141. caption: "Pasirinkti stulpelius",
  142. bSubmit: "Gerai",
  143. bCancel: "Atšaukti"
  144. },
  145. errors: {
  146. errcap: "Klaida",
  147. nourl: "Url reikšmė turi būti perduota",
  148. norecords: "Nėra įrašų, kuriuos būtų galima apdoroti",
  149. model: "colNames skaičius <> colModel skaičiui!"
  150. },
  151. formatter: {
  152. integer: { thousandsSeparator: "", defaultValue: "0" },
  153. number: { decimalSeparator: ",", thousandsSeparator: "", decimalPlaces: 2, defaultValue: "0.00" },
  154. currency: { decimalSeparator: ",", thousandsSeparator: "", decimalPlaces: 2, prefix: "", suffix: "", defaultValue: "0.00" },
  155. date: {
  156. dayNames: [
  157. "Sek", "Pir", "Ant", "Tre", "Ket", "Pen", "Šeš",
  158. "Sekmadienis", "Pirmadienis", "Antradienis", "Trečiadienis", "Ketvirtadienis", "Penktadienis", "Šeštadienis"
  159. ],
  160. monthNames: [
  161. "Sau", "Vas", "Kov", "Bal", "Geg", "Bir", "Lie", "Rugj", "Rugs", "Spa", "Lap", "Gru",
  162. "Sausis", "Vasaris", "Kovas", "Balandis", "Gegužė", "Birželis", "Liepa", "Rugpjūtis", "Rugsėjis", "Spalis", "Lapkritis", "Gruodis"
  163. ],
  164. AmPm: ["am", "pm", "AM", "PM"],
  165. S: function (j) {
  166. return j < 11 || j > 13 ? ["st", "nd", "rd", "th"][Math.min((j - 1) % 10, 3)] : "th";
  167. },
  168. srcformat: "Y-m-d",
  169. newformat: "d/m/Y",
  170. masks: {
  171. ShortDate: "n/j/Y",
  172. LongDate: "l, F d, Y",
  173. FullDateTime: "l, F d, Y g:i:s A",
  174. MonthDay: "F d",
  175. ShortTime: "g:i A",
  176. LongTime: "g:i:s A",
  177. YearMonth: "F, Y"
  178. }
  179. }
  180. }
  181. };
  182. $.jgrid = $.jgrid || {};
  183. $.extend(true, $.jgrid, {
  184. defaults: {
  185. locale: "lt"
  186. },
  187. locales: {
  188. // In general the property name is free, but it's recommended to use the names based on
  189. // http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
  190. // http://rishida.net/utils/subtags/ and RFC 5646. See Appendix A of RFC 5646 for examples.
  191. // One can use the lang attribute to specify language tags in HTML, and the xml:lang attribute for XML
  192. // if it exists. See http://www.w3.org/International/articles/language-tags/#extlang
  193. lt: $.extend({}, locInfo, { name: "lietuvių", nameEnglish: "Lithuanian" }),
  194. "lt-LT": $.extend({}, locInfo, { name: "lietuvių (Lietuva)", nameEnglish: "Lithuanian (Lithuania)" })
  195. }
  196. });
  197. }));