grid.locale-el.js 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. /**
  2. * @license jqGrid Greek (el) Translation
  3. * Alex Cicovic
  4. * http://www.alexcicovic.com
  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: "View {0} - {1} of {2}",
  41. emptyrecords: "No records to view",
  42. loadtext: "Φόρτωση...",
  43. pgtext: "Page {0} of {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: "Αποθήκευση..."
  51. },
  52. search: {
  53. caption: "Αναζήτηση...",
  54. Find: "Εύρεση",
  55. Reset: "Επαναφορά",
  56. odata: [
  57. { oper: "eq", text: "equal" },
  58. { oper: "ne", text: "not equal" },
  59. { oper: "lt", text: "less" },
  60. { oper: "le", text: "less or equal" },
  61. { oper: "gt", text: "greater" },
  62. { oper: "ge", text: "greater or equal" },
  63. { oper: "bw", text: "begins with" },
  64. { oper: "bn", text: "does not begin with" },
  65. { oper: "in", text: "is in" },
  66. { oper: "ni", text: "is not in" },
  67. { oper: "ew", text: "ends with" },
  68. { oper: "en", text: "does not end with" },
  69. { oper: "cn", text: "contains" },
  70. { oper: "nc", text: "does not contain" },
  71. { oper: "nu", text: "is null" },
  72. { oper: "nn", text: "is not null" }
  73. ],
  74. groupOps: [
  75. { op: "AND", text: "all" },
  76. { op: "OR", text: "any" }
  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: "Εισαγωγή Εγγραφής",
  87. editCaption: "Επεξεργασία Εγγραφής",
  88. bSubmit: "Καταχώρηση",
  89. bCancel: "Άκυρο",
  90. bClose: "Κλείσιμο",
  91. saveData: "Data has been changed! Save changes?",
  92. bYes: "Yes",
  93. bNo: "No",
  94. bExit: "Cancel",
  95. msg: {
  96. required: "Το πεδίο είναι απαραίτητο",
  97. number: "Το πεδίο δέχεται μόνο αριθμούς",
  98. minValue: "Η τιμή πρέπει να είναι μεγαλύτερη ή ίση του ",
  99. maxValue: "Η τιμή πρέπει να είναι μικρότερη ή ίση του ",
  100. email: "Η διεύθυνση e-mail δεν είναι έγκυρη",
  101. integer: "Το πεδίο δέχεται μόνο ακέραιους αριθμούς",
  102. url: "is not a valid URL. Prefix required ('http://' or 'https://')",
  103. nodefined: " is not defined!",
  104. novalue: " return value is required!",
  105. customarray: "Custom function should return array!",
  106. customfcheck: "Custom function should be present in case of custom checking!"
  107. }
  108. },
  109. view: {
  110. caption: "View Record",
  111. bClose: "Close"
  112. },
  113. del: {
  114. caption: "Διαγραφή",
  115. msg: "Διαγραφή των επιλεγμένων εγγραφών;",
  116. bSubmit: "Ναι",
  117. bCancel: "Άκυρο"
  118. },
  119. nav: {
  120. edittext: "",
  121. edittitle: "Επεξεργασία επιλεγμένης εγγραφής",
  122. addtext: "",
  123. addtitle: "Εισαγωγή νέας εγγραφής",
  124. deltext: "",
  125. deltitle: "Διαγραφή επιλεγμένης εγγραφής",
  126. searchtext: "",
  127. searchtitle: "Εύρεση Εγγραφών",
  128. refreshtext: "",
  129. refreshtitle: "Ανανέωση Πίνακα",
  130. alertcap: "Προσοχή",
  131. alerttext: "Δεν έχετε επιλέξει εγγραφή",
  132. viewtext: "",
  133. viewtitle: "View selected row",
  134. savetext: "",
  135. savetitle: "Save row",
  136. canceltext: "",
  137. canceltitle: "Cancel row editing"
  138. },
  139. col: {
  140. caption: "Εμφάνιση / Απόκρυψη Στηλών",
  141. bSubmit: "ΟΚ",
  142. bCancel: "Άκυρο"
  143. },
  144. errors: {
  145. errcap: "Σφάλμα",
  146. nourl: "Δεν έχει δοθεί διεύθυνση χειρισμού για τη συγκεκριμένη ενέργεια",
  147. norecords: "Δεν υπάρχουν εγγραφές προς επεξεργασία",
  148. model: "Άνισος αριθμός πεδίων colNames/colModel!"
  149. },
  150. formatter: {
  151. integer: { thousandsSeparator: " ", defaultValue: "0" },
  152. number: { decimalSeparator: ".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: "0.00" },
  153. currency: { decimalSeparator: ".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix: "", defaultValue: "0.00" },
  154. date: {
  155. dayNames: [
  156. "Κυρ", "Δευ", "Τρι", "Τετ", "Πεμ", "Παρ", "Σαβ",
  157. "Κυριακή", "Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη", "Παρασκευή", "Σάββατο"
  158. ],
  159. monthNames: [
  160. "Ιαν", "Φεβ", "Μαρ", "Απρ", "Μαι", "Ιουν", "Ιουλ", "Αυγ", "Σεπ", "Οκτ", "Νοε", "Δεκ",
  161. "Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιος", "Μάιος", "Ιούνιος", "Ιούλιος", "Αύγουστος", "Σεπτέμβριος", "Οκτώβριος", "Νοέμβριος", "Δεκέμβριος"
  162. ],
  163. AmPm: ["πμ", "μμ", "ΠΜ", "ΜΜ"],
  164. S: function (j) {return j === 1 || j > 1 ? ["η"][Math.min((j - 1) % 10, 3)] : "";},
  165. srcformat: "Y-m-d",
  166. newformat: "d/m/Y",
  167. masks: {
  168. ShortDate: "n/j/Y",
  169. LongDate: "l, F d, Y",
  170. FullDateTime: "l, F d, Y g:i:s A",
  171. MonthDay: "F d",
  172. ShortTime: "g:i A",
  173. LongTime: "g:i:s A",
  174. YearMonth: "F, Y"
  175. }
  176. }
  177. }
  178. };
  179. $.jgrid = $.jgrid || {};
  180. $.extend(true, $.jgrid, {
  181. defaults: {
  182. locale: "el"
  183. },
  184. locales: {
  185. // In general the property name is free, but it's recommended to use the names based on
  186. // http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
  187. // http://rishida.net/utils/subtags/ and RFC 5646. See Appendix A of RFC 5646 for examples.
  188. // One can use the lang attribute to specify language tags in HTML, and the xml:lang attribute for XML
  189. // if it exists. See http://www.w3.org/International/articles/language-tags/#extlang
  190. el: $.extend({}, locInfo, { name: "Ελληνικά", nameEnglish: "Greek" }),
  191. "el-GR": $.extend({}, locInfo, { name: "Ελληνικά (Ελλάδα)", nameEnglish: "Greek (Greece)" })
  192. }
  193. });
  194. }));