grid.locale-dk.js 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. ;(function($){
  2. /**
  3. * jqGrid Danish Translation
  4. * Kaare Rasmussen kjs@jasonic.dk
  5. * http://jasonic.dk/blog
  6. * Dual licensed under the MIT and GPL licenses:
  7. * http://www.opensource.org/licenses/mit-license.php
  8. * http://www.gnu.org/licenses/gpl.html
  9. **/
  10. $.jgrid = {
  11. defaults : {
  12. recordtext: "View {0} - {1} of {2}",
  13. emptyrecords: "No records to view",
  14. loadtext: "Loading...",
  15. pgtext : "Page {0} of {1}"
  16. },
  17. search : {
  18. caption: "Søg...",
  19. Find: "Find",
  20. Reset: "Nulstil",
  21. 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'}],
  22. groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ]
  23. },
  24. edit : {
  25. addCaption: "Tilføj",
  26. editCaption: "Ret",
  27. bSubmit: "Send",
  28. bCancel: "Annuller",
  29. bClose: "Luk",
  30. saveData: "Data has been changed! Save changes?",
  31. bYes : "Yes",
  32. bNo : "No",
  33. bExit : "Cancel",
  34. msg: {
  35. required:"Felt er nødvendigt",
  36. number:"Indtast venligst et validt tal",
  37. minValue:"værdi skal være større end eller lig med",
  38. maxValue:"værdi skal være mindre end eller lig med",
  39. email: "er ikke en valid email",
  40. integer: "Indtast venligst et validt heltalt",
  41. date: "Indtast venligst en valid datoværdi",
  42. url: "is not a valid URL. Prefix required ('http://' or 'https://')",
  43. nodefined : " is not defined!",
  44. novalue : " return value is required!",
  45. customarray : "Custom function should return array!",
  46. customfcheck : "Custom function should be present in case of custom checking!"
  47. }
  48. },
  49. view : {
  50. caption: "View Record",
  51. bClose: "Close"
  52. },
  53. del : {
  54. caption: "Slet",
  55. msg: "Slet valgte række(r)?",
  56. bSubmit: "Slet",
  57. bCancel: "Annuller"
  58. },
  59. nav : {
  60. edittext: " ",
  61. edittitle: "Rediger valgte række",
  62. addtext:" ",
  63. addtitle: "Tilføj ny række",
  64. deltext: " ",
  65. deltitle: "Slet valgte række",
  66. searchtext: " ",
  67. searchtitle: "Find poster",
  68. refreshtext: "",
  69. refreshtitle: "Indlæs igen",
  70. alertcap: "Advarsel",
  71. alerttext: "Vælg venligst række",
  72. viewtext: "",
  73. viewtitle: "View selected row"
  74. },
  75. col : {
  76. caption: "Vis/skjul kolonner",
  77. bSubmit: "Send",
  78. bCancel: "Annuller"
  79. },
  80. errors : {
  81. errcap : "Fejl",
  82. nourl : "Ingel url valgt",
  83. norecords: "Ingen poster at behandle",
  84. model : "colNames og colModel har ikke samme længde!"
  85. },
  86. formatter : {
  87. integer : {thousandsSeparator: " ", defaultValue: '0'},
  88. number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
  89. currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
  90. date : {
  91. dayNames: [
  92. "Søn", "Man", "Tirs", "Ons", "Tors", "Fre", "Lør",
  93. "Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"
  94. ],
  95. monthNames: [
  96. "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec",
  97. "Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"
  98. ],
  99. AmPm : ["","","",""],
  100. S: function (j) {return '.'},
  101. srcformat: 'Y-m-d',
  102. newformat: 'd/m/Y',
  103. parseRe : /[Tt\\\/:_;.,\t\s-]/,
  104. masks : {
  105. ISO8601Long:"Y-m-d H:i:s",
  106. ISO8601Short:"Y-m-d",
  107. ShortDate: "j/n/Y",
  108. LongDate: "l d. F Y",
  109. FullDateTime: "l d F Y G:i:s",
  110. MonthDay: "d. F",
  111. ShortTime: "G:i",
  112. LongTime: "G:i:s",
  113. SortableDateTime: "Y-m-d\\TH:i:s",
  114. UniversalSortableDateTime: "Y-m-d H:i:sO",
  115. YearMonth: "F Y"
  116. },
  117. reformatAfterEdit : false
  118. },
  119. baseLinkUrl: '',
  120. showAction: '',
  121. target: '',
  122. checkbox : {disabled:true},
  123. idName : 'id'
  124. }
  125. };
  126. // DK
  127. })(jQuery);