grid.locale-fi.js 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. /**
  2. * jqGrid (fi) Finnish Translation
  3. * Jukka Inkeri awot.fi 2010-05-19
  4. * Alex Grönholm alex.gronholm@nextday.fi 2011-05-18
  5. * http://awot.fi
  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. /*global jQuery, define */
  11. (function( factory ) {
  12. "use strict";
  13. if ( typeof define === "function" && define.amd ) {
  14. // AMD. Register as an anonymous module.
  15. define([
  16. "jquery",
  17. "../grid.base"
  18. ], factory );
  19. } else {
  20. // Browser globals
  21. factory( jQuery );
  22. }
  23. }(function( $ ) {
  24. $.jgrid = $.jgrid || {};
  25. if(!$.jgrid.hasOwnProperty("regional")) {
  26. $.jgrid.regional = [];
  27. }
  28. $.jgrid.regional["fi"] = {
  29. defaults: {
  30. recordtext: "Rivit {0} - {1} / {2}",
  31. emptyrecords: "Ei näytettäviä",
  32. loadtext: "Haetaan...",
  33. savetext: "Saving...",
  34. pgtext: "Sivu {0} / {1}",
  35. pgfirst : "First Page",
  36. pglast : "Last Page",
  37. pgnext : "Next Page",
  38. pgprev : "Previous Page",
  39. pgrecs : "Records per Page",
  40. showhide: "Toggle Expand Collapse Grid",
  41. // mobile
  42. pagerCaption : "Grid::Page Settings",
  43. pageText : "Page:",
  44. recordPage : "Records per Page",
  45. nomorerecs : "No more records...",
  46. scrollPullup: "Pull up to load more...",
  47. scrollPulldown : "Pull down to refresh...",
  48. scrollRefresh : "Release to refresh..."
  49. },
  50. search: {
  51. caption: "Etsi...",
  52. Find: "Etsi",
  53. Reset: "Tyhjennä",
  54. odata: [{ oper:'eq', text:"on"},{ oper:'ne', text:"ei ole"},{ oper:'lt', text:"pienempi"},{ oper:'le', text:"pienempi tai yhtäsuuri"},{ oper:'gt', text:"suurempi"},{ oper:'ge', text:"suurempi tai yhtäsuuri"},{ oper:'bw', text:"alkaa"},{ oper:'bn', text:"ei ala"},{ oper:'in', text:"joukossa"},{ oper:'ni', text:"ei joukossa"},{ oper:'ew', text:"loppuu"},{ oper:'en', text:"ei lopu"},{ oper:'cn', text:"sisältää"},{ oper:'nc', text:"ei sisällä"},{ oper:'nu', text:"on tyhjä"},{ oper:'nn', text:"ei ole tyhjä"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}, {oper:'bt', text:'between'}],
  55. groupOps: [ { op: "AND", text: "kaikki" }, { op: "OR", text: "mikä tahansa" } ],
  56. operandTitle : "Click to select search operation.",
  57. resetTitle : "Reset Search Value"
  58. },
  59. edit: {
  60. addCaption: "Uusi rivi",
  61. editCaption: "Muokkaa riviä",
  62. bSubmit: "OK",
  63. bCancel: "Peru",
  64. bClose: "Sulje",
  65. saveData: "Tietoja muutettu! Tallennetaanko?",
  66. bYes: "Kyllä",
  67. bNo: "Ei",
  68. bExit: "Peru",
  69. msg: {
  70. required: "pakollinen",
  71. number: "Anna kelvollinen nro",
  72. minValue: "arvon oltava suurempi tai yhtäsuuri kuin ",
  73. maxValue: "arvon oltava pienempi tai yhtäsuuri kuin ",
  74. email: "ei ole kelvollinen säpostiosoite",
  75. integer: "Anna kelvollinen kokonaisluku",
  76. date: "Anna kelvollinen pvm",
  77. url: "Ei ole kelvollinen linkki(URL). Alku oltava ('http://' tai 'https://')",
  78. nodefined: " ei ole määritelty!",
  79. novalue: " paluuarvo vaaditaan!",
  80. customarray: "Oman funktion tulee palauttaa jono!",
  81. customfcheck: "Oma funktio on määriteltävä räätälöityä tarkastusta varten!"
  82. }
  83. },
  84. view: {
  85. caption: "Näytä rivi",
  86. bClose: "Sulje"
  87. },
  88. del: {
  89. caption: "Poista",
  90. msg: "Poista valitut rivit?",
  91. bSubmit: "Poista",
  92. bCancel: "Peru"
  93. },
  94. nav: {
  95. edittext: "",
  96. edittitle: "Muokkaa valittua riviä",
  97. addtext: "",
  98. addtitle: "Uusi rivi",
  99. deltext: "",
  100. deltitle: "Poista valittu rivi",
  101. searchtext: "",
  102. searchtitle: "Etsi tietoja",
  103. refreshtext: "",
  104. refreshtitle: "Lataa uudelleen",
  105. alertcap: "Varoitus",
  106. alerttext: "Valitse rivi",
  107. viewtext: "",
  108. viewtitle: "Näyta valitut rivit",
  109. savetext: "",
  110. savetitle: "Save row",
  111. canceltext: "",
  112. canceltitle : "Cancel row editing",
  113. selectcaption : "Actions..."
  114. },
  115. col: {
  116. caption: "Valitse sarakkeet",
  117. bSubmit: "OK",
  118. bCancel: "Peru"
  119. },
  120. errors : {
  121. errcap: "Virhe",
  122. nourl: "URL on asettamatta",
  123. norecords: "Ei muokattavia tietoja",
  124. model: "Pituus colNames <> colModel!"
  125. },
  126. formatter: {
  127. integer: {thousandsSeparator: "", defaultValue: '0'},
  128. number: {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, defaultValue: '0,00'},
  129. currency: {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
  130. date: {
  131. dayNames: [
  132. "Su", "Ma", "Ti", "Ke", "To", "Pe", "La",
  133. "Sunnuntai", "Maanantai", "Tiistai", "Keskiviikko", "Torstai", "Perjantai", "Lauantai"
  134. ],
  135. monthNames: [
  136. "Tam", "Hel", "Maa", "Huh", "Tou", "Kes", "Hei", "Elo", "Syy", "Lok", "Mar", "Jou",
  137. "Tammikuu", "Helmikuu", "Maaliskuu", "Huhtikuu", "Toukokuu", "Kes&auml;kuu", "Hein&auml;kuu", "Elokuu", "Syyskuu", "Lokakuu", "Marraskuu", "Joulukuu"
  138. ],
  139. AmPm: ["am","pm","AM","PM"],
  140. S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
  141. srcformat: 'Y-m-d',
  142. newformat: 'd.m.Y',
  143. parseRe : /[#%\\\/:_;.,\t\s-]/,
  144. masks: {
  145. ISO8601Long:"Y-m-d H:i:s",
  146. ISO8601Short:"Y-m-d",
  147. ShortDate: "d.m.Y",
  148. LongDate: "l, F d, Y",
  149. FullDateTime: "l, F d, Y g:i:s A",
  150. MonthDay: "F d",
  151. ShortTime: "g:i A",
  152. LongTime: "g:i:s A",
  153. SortableDateTime: "Y-m-d\\TH:i:s",
  154. UniversalSortableDateTime: "Y-m-d H:i:sO",
  155. YearMonth: "F, Y"
  156. },
  157. reformatAfterEdit : false,
  158. userLocalTime : false
  159. },
  160. baseLinkUrl: '',
  161. showAction: '',
  162. target: '',
  163. checkbox: {disabled:true},
  164. idName: 'id'
  165. },
  166. colmenu : {
  167. sortasc : "Sort Ascending",
  168. sortdesc : "Sort Descending",
  169. columns : "Columns",
  170. filter : "Filter",
  171. grouping : "Group By",
  172. ungrouping : "Ungroup",
  173. searchTitle : "Get items with value that:",
  174. freeze : "Freeze",
  175. unfreeze : "Unfreeze",
  176. reorder : "Move to reorder"
  177. }
  178. };
  179. // FI
  180. }));