Administrator
2023-04-21 195945efc5db921a4c9eb8cf9421c172273293f5
提交 | 用户 | 时间
58d006 1 /**
A 2  * jqGrid Serbian latin Translation
3  * Bild Studio info@bild-studio.net
4  * http://www.bild-studio.com
5  * Dual licensed under the MIT and GPL licenses:
6  * http://www.opensource.org/licenses/mit-license.php
7  * http://www.gnu.org/licenses/gpl.html
8 **/
9 /*global jQuery, define */
10 (function( factory ) {
11     "use strict";
12     if ( typeof define === "function" && define.amd ) {
13         // AMD. Register as an anonymous module.
14         define([
15             "jquery",
16             "../grid.base"
17         ], factory );
18     } else {
19         // Browser globals
20         factory( jQuery );
21     }
22 }(function( $ ) {
23
24 $.jgrid = $.jgrid || {};
25 if(!$.jgrid.hasOwnProperty("regional")) {
26     $.jgrid.regional = [];
27 }
28 $.jgrid.regional["sr-latin"] = {
29     defaults : {
30         recordtext: "Pregled {0} - {1} od {2}",
31         emptyrecords: "Ne postoji nijedan zapis",
32         loadtext: "Učitavanje…",
33         pgtext : "Strana {0} od {1}",
34         savetext: "Saving...",
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: "Traženje...",
52         Find: "Traži",
53         Reset: "Resetuj",
54         odata: [{ oper:'eq', text:"jednako"},{ oper:'ne', text:"nije jednako"},{ oper:'lt', text:"manje"},{ oper:'le', text:"manje ili jednako"},{ oper:'gt', text:"veće"},{ oper:'ge', text:"veće ili jednako"},{ oper:'bw', text:"počinje sa"},{ oper:'bn', text:"ne počinje sa"},{ oper:'in', text:"je u"},{ oper:'ni', text:"nije u"},{ oper:'ew', text:"završava sa"},{ oper:'en', text:"ne završava sa"},{ oper:'cn', text:"sadrži"},{ oper:'nc', text:"ne sadrži"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
55         groupOps: [    { op: "AND", text: "sva" },    { op: "OR",  text: "bilo koje" }    ],
56         operandTitle : "Click to select search operation.",
57         resetTitle : "Reset Search Value"
58     },
59     edit : {
60         addCaption: "Dodaj zapis",
61         editCaption: "Izmeni zapis",
62         bSubmit: "Pošalji",
63         bCancel: "Odustani",
64         bClose: "Zatvori",
65         saveData: "Podatak je izmenjen! Sačuvaj izmene?",
66         bYes : "Da",
67         bNo : "Ne",
68         bExit : "Odustani",
69         msg: {
70             required: "Polje je obavezno",
71             number: "Unesite ispravan broj",
72             minValue: "vrednost mora biti veća od ili jednaka sa ",
73             maxValue: "vrednost mora biti manja ili jednaka sa",
74             email: "nije ispravna email adresa, nije valjda da ne umeš ukucati mail!?",
75             integer: "Unesi celobrojnu vrednost ",
76             date: "Unesite ispravan datum",
77             url: "nije ispravan URL. Potreban je prefiks ('http://' or 'https://')",
78             nodefined : " nije definisan!",
79             novalue : " zahtevana je povratna vrednost!",
80             customarray : "Prilagođena funkcija treba da vrati niz!",
81             customfcheck : "Prilagođena funkcija treba da bude prisutana u slučaju prilagođene provere!"
82             
83         }
84     },
85     view : {
86         caption: "Pogledaj zapis",
87         bClose: "Zatvori"
88     },
89     del : {
90         caption: "Izbrisi",
91         msg: "Izbrisi izabran(e) zapise(e)?",
92         bSubmit: "Izbriši",
93         bCancel: "Odbaci"
94     },
95     nav : {
96         edittext: "",
97         edittitle: "Izmeni izabrani red",
98         addtext:"",
99         addtitle: "Dodaj novi red",
100         deltext: "",
101         deltitle: "Izbriši izabran red",
102         searchtext: "",
103         searchtitle: "Nađi zapise",
104         refreshtext: "",
105         refreshtitle: "Ponovo učitaj podatke",
106         alertcap: "Upozorenje",
107         alerttext: "Izaberite red",
108         viewtext: "",
109         viewtitle: "Pogledaj izabrani red",
110         savetext: "",
111         savetitle: "Save row",
112         canceltext: "",
113         canceltitle : "Cancel row editing",
114         selectcaption : "Actions..."
115     },
116     col : {
117         caption: "Izaberi kolone",
118         bSubmit: "OK",
119         bCancel: "Odbaci"
120     },
121     errors : {
122         errcap : "Greška",
123         nourl : "Nije postavljen URL",
124         norecords: "Nema zapisa za obradu",
125         model : "Dužina modela 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                 "Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub",
134                 "Nedelja", "Ponedeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota"
135             ],
136             monthNames: [
137                 "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec",
138                 "Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"
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: "n/j/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 }));