Administrator
2023-04-21 195945efc5db921a4c9eb8cf9421c172273293f5
提交 | 用户 | 时间
58d006 1 /**
A 2  * jqGrid Polish Translation
3  * Łukasz Schab lukasz@freetree.pl
4  * http://FreeTree.pl
5  *
6  * Updated names, abbreviations, currency and date/time formats for Polish norms (also corresponding with CLDR v21.0.1 --> http://cldr.unicode.org/index) 
7  * Tomasz Pęczek tpeczek@gmail.com
8  * http://tpeczek.blogspot.com; http://tpeczek.codeplex.com
9  *
10  * Dual licensed under the MIT and GPL licenses:
11  * http://www.opensource.org/licenses/mit-license.php
12  * http://www.gnu.org/licenses/gpl.html
13 **/
14 /*global jQuery, define */
15 (function( factory ) {
16     "use strict";
17     if ( typeof define === "function" && define.amd ) {
18         // AMD. Register as an anonymous module.
19         define([
20             "jquery",
21             "../grid.base"
22         ], factory );
23     } else {
24         // Browser globals
25         factory( jQuery );
26     }
27 }(function( $ ) {
28
29 $.jgrid = $.jgrid || {};
30 if(!$.jgrid.hasOwnProperty("regional")) {
31     $.jgrid.regional = [];
32 }
33 $.jgrid.regional["pl"] = {
34     defaults : {
35         recordtext: "Pokaż {0} - {1} z {2}",
36         emptyrecords: "Brak rekordów do pokazania",
37         loadtext: "Ładowanie...",
38         pgtext : "Strona {0} z {1}",
39         savetext: "Saving...",
40         pgfirst : "First Page",
41         pglast : "Last Page",
42         pgnext : "Next Page",
43         pgprev : "Previous Page",
44         pgrecs : "Records per Page",
45         showhide: "Toggle Expand Collapse Grid",
46         // mobile
47         pagerCaption : "Grid::Page Settings",
48         pageText : "Page:",
49         recordPage : "Records per Page",
50         nomorerecs : "No more records...",
51         scrollPullup: "Pull up to load more...",
52         scrollPulldown : "Pull down to refresh...",
53         scrollRefresh : "Release to refresh..."
54     },
55     search : {
56         caption: "Wyszukiwanie...",
57         Find: "Szukaj",
58         Reset: "Czyść",
59         odata: [{ oper:'eq', text:"dokładnie"},{ oper:'ne', text:"różne od"},{ oper:'lt', text:"mniejsze od"},{ oper:'le', text:"mniejsze lub równe"},{ oper:'gt', text:"większe od"},{ oper:'ge', text:"większe lub równe"},{ oper:'bw', text:"zaczyna się od"},{ oper:'bn', text:"nie zaczyna się od"},{ oper:'in', text:"jest w"},{ oper:'ni', text:"nie jest w"},{ oper:'ew', text:"kończy się na"},{ oper:'en', text:"nie kończy się na"},{ oper:'cn', text:"zawiera"},{ oper:'nc', text:"nie zawiera"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
60         groupOps: [    { op: "AND", text: "oraz" },    { op: "OR",  text: "lub" }    ],
61         operandTitle : "Click to select search operation.",
62         resetTitle : "Reset Search Value"
63     },
64     edit : {
65         addCaption: "Dodaj rekord",
66         editCaption: "Edytuj rekord",
67         bSubmit: "Zapisz",
68         bCancel: "Anuluj",
69         bClose: "Zamknij",
70         saveData: "Dane zostały zmienione! Zapisać zmiany?",
71         bYes: "Tak",
72         bNo: "Nie",
73         bExit: "Anuluj",
74         msg: {
75             required: "Pole jest wymagane",
76             number: "Proszę wpisać poprawną liczbę",
77             minValue: "wartość musi być większa lub równa od",
78             maxValue: "wartość musi być mniejsza lub równa od",
79             email: "nie jest poprawnym adresem e-mail",
80             integer: "Proszę wpisać poprawną liczbę",
81             date: "Proszę podaj poprawną datę",
82             url: "jest niewłaściwym adresem URL. Pamiętaj o prefiksie ('http://' lub 'https://')",
83             nodefined: " niezdefiniowane!",
84             novalue: " wymagana jest wartość zwracana!",
85             customarray: "Funkcja niestandardowa powinna zwracać tablicę!",
86             customfcheck: "Funkcja niestandardowa powinna być obecna w przypadku niestandardowego sprawdzania!"
87         }
88     },
89     view : {
90         caption: "Pokaż rekord",
91         bClose: "Zamknij"
92     },
93     del : {
94         caption: "Usuń",
95         msg: "Czy usunąć wybrany rekord(y)?",
96         bSubmit: "Usuń",
97         bCancel: "Anuluj"
98     },
99     nav : {
100         edittext: "",
101         edittitle: "Edytuj wybrany wiersz",
102         addtext: "",
103         addtitle: "Dodaj nowy wiersz",
104         deltext: "",
105         deltitle: "Usuń wybrany wiersz",
106         searchtext: "",
107         searchtitle: "Wyszukaj rekord",
108         refreshtext: "",
109         refreshtitle: "Przeładuj",
110         alertcap: "Uwaga",
111         alerttext: "Proszę wybrać wiersz",
112         viewtext: "",
113         viewtitle: "Pokaż wybrany wiersz",
114         savetext: "",
115         savetitle: "Save row",
116         canceltext: "",
117         canceltitle : "Cancel row editing",
118         selectcaption : "Actions..."
119     },
120     col : {
121         caption: "Pokaż/Ukryj kolumny",
122         bSubmit: "Zatwierdź",
123         bCancel: "Anuluj"
124     },
125     errors : {
126         errcap: "Błąd",
127         nourl: "Brak adresu url",
128         norecords: "Brak danych",
129         model : "Długość colNames <> colModel!"
130     },
131     formatter : {
132         integer : {thousandsSeparator: " ", defaultValue: '0'},
133         number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
134         currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:" zł", defaultValue: '0,00'},
135         date : {
136             dayNames:   [
137                 "niedz.", "pon.", "wt.", "śr.", "czw.", "pt.", "sob.",
138                 "niedziela", "poniedziałek", "wtorek", "środa", "czwartek", "piątek", "sobota"
139             ],
140             monthNames: [
141                 "sty", "lut", "mar", "kwi", "maj", "cze", "lip", "sie", "wrz", "paź", "lis", "gru",
142                 "styczeń", "luty", "marzec", "kwiecień", "maj", "czerwiec", "lipiec", "sierpień", "wrzesień", "październik", "listopad", "grudzień"
143                 ],
144             AmPm : ["","","",""],
145             S: function (j) {return '';},
146             srcformat: 'Y-m-d',
147             newformat: 'd.m.Y',
148             parseRe : /[#%\\\/:_;.,\t\s-]/,
149             masks : {
150                 ISO8601Long: "Y-m-d H:i:s",
151                 ISO8601Short: "Y-m-d",
152                 ShortDate: "d.m.y",
153                 LongDate: "l, j F Y",
154                 FullDateTime: "l, j F Y H:i:s",
155                 MonthDay: "j F",
156                 ShortTime: "H:i",
157                 LongTime: "H:i:s",
158                 SortableDateTime: "Y-m-d\\TH:i:s",
159                 UniversalSortableDateTime: "Y-m-d H:i:sO",
160                 YearMonth: "F Y"
161             },
162             reformatAfterEdit : false,
163             userLocalTime : false
164         },
165         baseLinkUrl: '',
166         showAction: '',
167         target: '',
168         checkbox : {disabled:true},
169         idName : 'id'
170     }
171 };
172 }));