Administrator
2023-04-21 195945efc5db921a4c9eb8cf9421c172273293f5
提交 | 用户 | 时间
58d006 1 /**
A 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
25 $.jgrid = $.jgrid || {};
26 if(!$.jgrid.hasOwnProperty("regional")) {
27     $.jgrid.regional = [];
28 }
29 $.jgrid.regional["fi"] = {
30     defaults: {
31         recordtext: "Rivit {0} - {1} / {2}",
32         emptyrecords: "Ei näytettäviä",
33         loadtext: "Haetaan...",
34         savetext: "Saving...",
35         pgtext: "Sivu {0} / {1}",        
36         pgfirst : "First Page",
37         pglast : "Last Page",
38         pgnext : "Next Page",
39         pgprev : "Previous Page",
40         pgrecs : "Records per Page",
41         showhide: "Toggle Expand Collapse Grid",
42         // mobile
43         pagerCaption : "Grid::Page Settings",
44         pageText : "Page:",
45         recordPage : "Records per Page",
46         nomorerecs : "No more records...",
47         scrollPullup: "Pull up to load more...",
48         scrollPulldown : "Pull down to refresh...",
49         scrollRefresh : "Release to refresh..."
50     },
51     search: {
52         caption: "Etsi...",
53         Find: "Etsi",
54         Reset: "Tyhjennä",
55         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'}],
56         groupOps: [    { op: "AND", text: "kaikki" }, { op: "OR", text: "mikä tahansa" }    ],
57         operandTitle : "Click to select search operation.",
58         resetTitle : "Reset Search Value"        
59     },
60     edit: {
61         addCaption: "Uusi rivi",
62         editCaption: "Muokkaa riviä",
63         bSubmit: "OK",
64         bCancel: "Peru",
65         bClose: "Sulje",
66         saveData: "Tietoja muutettu! Tallennetaanko?",
67         bYes: "Kyllä",
68         bNo: "Ei",
69         bExit: "Peru",
70         msg: {
71             required: "pakollinen",
72             number: "Anna kelvollinen nro",
73             minValue: "arvon oltava suurempi tai yhtäsuuri kuin ",
74             maxValue: "arvon oltava pienempi tai yhtäsuuri kuin ",
75             email: "ei ole kelvollinen säpostiosoite",
76             integer: "Anna kelvollinen kokonaisluku",
77             date: "Anna kelvollinen pvm",
78             url: "Ei ole kelvollinen linkki(URL). Alku oltava ('http://' tai 'https://')",
79             nodefined: " ei ole määritelty!",
80             novalue: " paluuarvo vaaditaan!",
81             customarray: "Oman funktion tulee palauttaa jono!",
82             customfcheck: "Oma funktio on määriteltävä räätälöityä tarkastusta varten!"
83         }
84     },
85     view: {
86         caption: "Näytä rivi",
87         bClose: "Sulje"
88     },
89     del: {
90         caption: "Poista",
91         msg: "Poista valitut rivit?",
92         bSubmit: "Poista",
93         bCancel: "Peru"
94     },
95     nav: {
96         edittext: "",
97         edittitle: "Muokkaa valittua riviä",
98         addtext: "",
99         addtitle: "Uusi rivi",
100         deltext: "",
101         deltitle: "Poista valittu rivi",
102         searchtext: "",
103         searchtitle: "Etsi tietoja",
104         refreshtext: "",
105         refreshtitle: "Lataa uudelleen",
106         alertcap: "Varoitus",
107         alerttext: "Valitse rivi",
108         viewtext: "",
109         viewtitle: "Näyta valitut rivit",
110         savetext: "",
111         savetitle: "Save row",
112         canceltext: "",
113         canceltitle : "Cancel row editing",
114         selectcaption : "Actions..."
115     },
116     col: {
117         caption: "Valitse sarakkeet",
118         bSubmit: "OK",
119         bCancel: "Peru"    
120     },
121     errors : {
122         errcap: "Virhe",
123         nourl: "URL on asettamatta",
124         norecords: "Ei muokattavia tietoja",
125         model: "Pituus colNames <> colModel!"
126     },
127     formatter: {
128         integer: {thousandsSeparator: "", defaultValue: '0'},
129         number: {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, defaultValue: '0,00'},
130         currency: {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
131         date: {
132             dayNames:   [
133                 "Su", "Ma", "Ti", "Ke", "To", "Pe", "La",
134                 "Sunnuntai", "Maanantai", "Tiistai", "Keskiviikko", "Torstai", "Perjantai", "Lauantai"
135             ],
136             monthNames: [
137                 "Tam", "Hel", "Maa", "Huh", "Tou", "Kes", "Hei", "Elo", "Syy", "Lok", "Mar", "Jou",
138                 "Tammikuu", "Helmikuu", "Maaliskuu", "Huhtikuu", "Toukokuu", "Kes&auml;kuu", "Hein&auml;kuu", "Elokuu", "Syyskuu", "Lokakuu", "Marraskuu", "Joulukuu"
139             ],
140             AmPm: ["am","pm","AM","PM"],
141             S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
142             srcformat: 'Y-m-d',
143             newformat: 'd.m.Y',
144             parseRe : /[#%\\\/:_;.,\t\s-]/,
145             masks: {
146                 ISO8601Long:"Y-m-d H:i:s",
147                 ISO8601Short:"Y-m-d",
148                 ShortDate: "d.m.Y",
149                 LongDate: "l, F d, Y",
150                 FullDateTime: "l, F d, Y g:i:s A",
151                 MonthDay: "F d",
152                 ShortTime: "g:i A",
153                 LongTime: "g:i:s A",
154                 SortableDateTime: "Y-m-d\\TH:i:s",
155                 UniversalSortableDateTime: "Y-m-d H:i:sO",
156                 YearMonth: "F, Y"
157             },
158             reformatAfterEdit : false,
159             userLocalTime : false
160         },
161         baseLinkUrl: '',
162         showAction: '',
163         target: '',
164         checkbox: {disabled:true},
165         idName: 'id'
166     }
167 };
168 // FI
169 }));