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