grid.locale-dk.js 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. /**
  2. * jqGrid Danish Translation
  3. * Kaare Rasmussen kjs@jasonic.dk
  4. * http://jasonic.dk/blog
  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. /*global jQuery, define */
  10. (function( factory ) {
  11. "use strict";
  12. if ( typeof define === "function" && define.amd ) {
  13. // AMD. Register as an anonymous module.
  14. define([
  15. "jquery",
  16. "../grid.base"
  17. ], factory );
  18. } else {
  19. // Browser globals
  20. factory( jQuery );
  21. }
  22. }(function( $ ) {
  23. $.jgrid = $.jgrid || {};
  24. if(!$.jgrid.hasOwnProperty("regional")) {
  25. $.jgrid.regional = [];
  26. }
  27. $.jgrid.regional["dk"] = {
  28. defaults : {
  29. recordtext: "View {0} - {1} of {2}",
  30. emptyrecords: "No records to view",
  31. loadtext: "Loading...",
  32. savetext: "Saving...",
  33. pgtext : "Page {0} of {1}",
  34. pgfirst : "First Page",
  35. pglast : "Last Page",
  36. pgnext : "Next Page",
  37. pgprev : "Previous Page",
  38. pgrecs : "Records per Page",
  39. showhide: "Toggle Expand Collapse Grid",
  40. // mobile
  41. pagerCaption : "Grid::Page Settings",
  42. pageText : "Page:",
  43. recordPage : "Records per Page",
  44. nomorerecs : "No more records...",
  45. scrollPullup: "Pull up to load more...",
  46. scrollPulldown : "Pull down to refresh...",
  47. scrollRefresh : "Release to refresh..."
  48. },
  49. search : {
  50. caption: "Søg...",
  51. Find: "Find",
  52. Reset: "Nulstil",
  53. odata: [{ oper:'eq', text:'equal'},{ oper:'ne', text:'not equal'},{ oper:'lt', text:'less'},{ oper:'le', text:'less or equal'},{ oper:'gt', text:'greater'},{ oper:'ge', text:'greater or equal'},{ oper:'bw', text:'begins with'},{ oper:'bn', text:'does not begin with'},{ oper:'in', text:'is in'},{ oper:'ni', text:'is not in'},{ oper:'ew', text:'ends with'},{ oper:'en', text:'does not end with'},{ oper:'cn', text:'contains'},{ oper:'nc', text:'does not contain'},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}, {oper:'bt', text:'between'}],
  54. groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
  55. operandTitle : "Click to select search operation.",
  56. resetTitle : "Reset Search Value"
  57. },
  58. edit : {
  59. addCaption: "Tilføj",
  60. editCaption: "Ret",
  61. bSubmit: "Send",
  62. bCancel: "Annuller",
  63. bClose: "Luk",
  64. saveData: "Data has been changed! Save changes?",
  65. bYes : "Yes",
  66. bNo : "No",
  67. bExit : "Cancel",
  68. msg: {
  69. required:"Felt er nødvendigt",
  70. number:"Indtast venligst et validt tal",
  71. minValue:"værdi skal være større end eller lig med",
  72. maxValue:"værdi skal være mindre end eller lig med",
  73. email: "er ikke en valid email",
  74. integer: "Indtast venligst et validt heltalt",
  75. date: "Indtast venligst en valid datoværdi",
  76. url: "is not a valid URL. Prefix required ('http://' or 'https://')",
  77. nodefined : " is not defined!",
  78. novalue : " return value is required!",
  79. customarray : "Custom function should return array!",
  80. customfcheck : "Custom function should be present in case of custom checking!"
  81. }
  82. },
  83. view : {
  84. caption: "View Record",
  85. bClose: "Close"
  86. },
  87. del : {
  88. caption: "Slet",
  89. msg: "Slet valgte række(r)?",
  90. bSubmit: "Slet",
  91. bCancel: "Annuller"
  92. },
  93. nav : {
  94. edittext: " ",
  95. edittitle: "Rediger valgte række",
  96. addtext:" ",
  97. addtitle: "Tilføj ny række",
  98. deltext: " ",
  99. deltitle: "Slet valgte række",
  100. searchtext: " ",
  101. searchtitle: "Find poster",
  102. refreshtext: "",
  103. refreshtitle: "Indlæs igen",
  104. alertcap: "Advarsel",
  105. alerttext: "Vælg venligst række",
  106. viewtext: "",
  107. viewtitle: "View selected row",
  108. savetext: "",
  109. savetitle: "Save row",
  110. canceltext: "",
  111. canceltitle : "Cancel row editing",
  112. selectcaption : "Actions..."
  113. },
  114. col : {
  115. caption: "Vis/skjul kolonner",
  116. bSubmit: "Send",
  117. bCancel: "Annuller"
  118. },
  119. errors : {
  120. errcap : "Fejl",
  121. nourl : "Ingel url valgt",
  122. norecords: "Ingen poster at behandle",
  123. model : "colNames og colModel har ikke samme længde!"
  124. },
  125. formatter : {
  126. integer : {thousandsSeparator: " ", defaultValue: '0'},
  127. number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
  128. currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
  129. date : {
  130. dayNames: [
  131. "Søn", "Man", "Tirs", "Ons", "Tors", "Fre", "Lør",
  132. "Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"
  133. ],
  134. monthNames: [
  135. "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec",
  136. "Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"
  137. ],
  138. AmPm : ["","","",""],
  139. S: function (j) {return '.'},
  140. srcformat: 'Y-m-d',
  141. newformat: 'd/m/Y',
  142. parseRe : /[#%\\\/:_;.,\t\s-]/,
  143. masks : {
  144. ISO8601Long:"Y-m-d H:i:s",
  145. ISO8601Short:"Y-m-d",
  146. ShortDate: "j/n/Y",
  147. LongDate: "l d. F Y",
  148. FullDateTime: "l d F Y G:i:s",
  149. MonthDay: "d. F",
  150. ShortTime: "G:i",
  151. LongTime: "G:i:s",
  152. SortableDateTime: "Y-m-d\\TH:i:s",
  153. UniversalSortableDateTime: "Y-m-d H:i:sO",
  154. YearMonth: "F Y"
  155. },
  156. reformatAfterEdit : false,
  157. userLocalTime : false
  158. },
  159. baseLinkUrl: '',
  160. showAction: '',
  161. target: '',
  162. checkbox : {disabled:true},
  163. idName : 'id'
  164. },
  165. colmenu : {
  166. sortasc : "Sort Ascending",
  167. sortdesc : "Sort Descending",
  168. columns : "Columns",
  169. filter : "Filter",
  170. grouping : "Group By",
  171. ungrouping : "Ungroup",
  172. searchTitle : "Get items with value that:",
  173. freeze : "Freeze",
  174. unfreeze : "Unfreeze",
  175. reorder : "Move to reorder"
  176. }
  177. };
  178. // DK
  179. }));