123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179 |
- /**
- * jqGrid Slovak Translation
- * Milan Cibulka
- * http://trirand.com/blog/
- * 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["sk"] = {
- defaults : {
- recordtext: "Zobrazených {0} - {1} z {2} záznamov",
- emptyrecords: "Neboli nájdené žiadne záznamy",
- loadtext: "Načítám...",
- pgtext : "Strana {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: "Vyhľadávam...",
- Find: "Hľadať",
- Reset: "Reset",
- odata: [{ oper:'eq', text:"rovná sa"},{ oper:'ne', text:"nerovná sa"},{ oper:'lt', text:"menšie"},{ oper:'le', text:"menšie alebo rovnajúce sa"},{ oper:'gt', text:"väčšie"},{ oper:'ge', text:"väčšie alebo rovnajúce sa"},{ oper:'bw', text:"začína s"},{ oper:'bn', text:"nezačína s"},{ oper:'in', text:"je v"},{ oper:'ni', text:"nie je v"},{ oper:'ew', text:"končí s"},{ oper:'en', text:"nekončí s"},{ oper:'cn', text:"obahuje"},{ oper:'nc', text:"neobsahuje"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}, {oper:'bt', text:'between'}],
- groupOps: [ { op: "AND", text: "všetkých" }, { op: "OR", text: "niektorého z" } ],
- operandTitle : "Click to select search operation.",
- resetTitle : "Reset Search Value"
- },
- edit : {
- addCaption: "Pridať záznam",
- editCaption: "Editácia záznamov",
- bSubmit: "Uložiť",
- bCancel: "Storno",
- bClose: "Zavrieť",
- saveData: "Údaje boli zmenené! Uložiť zmeny?",
- bYes : "Ano",
- bNo : "Nie",
- bExit : "Zrušiť",
- msg: {
- required:"Pole je požadované",
- number:"Prosím, vložte valídne číslo",
- minValue:"hodnota musí býť väčšia ako alebo rovná ",
- maxValue:"hodnota musí býť menšia ako alebo rovná ",
- email: "nie je valídny e-mail",
- integer: "Prosím, vložte celé číslo",
- date: "Prosím, vložte valídny dátum",
- url: "nie je platnou URL. Požadovaný prefix ('http://' alebo 'https://')",
- nodefined : " nie je definovaný!",
- novalue : " je vyžadovaná návratová hodnota!",
- customarray : "Custom function mala vrátiť pole!",
- customfcheck : "Custom function by mala byť prítomná v prípade custom checking!"
- }
- },
- view : {
- caption: "Zobraziť záznam",
- bClose: "Zavrieť"
- },
- del : {
- caption: "Zmazať",
- msg: "Zmazať vybraný(é) záznam(y)?",
- bSubmit: "Zmazať",
- bCancel: "Storno"
- },
- nav : {
- edittext: " ",
- edittitle: "Editovať vybraný riadok",
- addtext:" ",
- addtitle: "Pridať nový riadek",
- deltext: " ",
- deltitle: "Zmazať vybraný záznam ",
- searchtext: " ",
- searchtitle: "Nájsť záznamy",
- refreshtext: "",
- refreshtitle: "Obnoviť tabuľku",
- alertcap: "Varovanie",
- alerttext: "Prosím, vyberte riadok",
- viewtext: "",
- viewtitle: "Zobraziť vybraný riadok",
- savetext: "",
- savetitle: "Save row",
- canceltext: "",
- canceltitle : "Cancel row editing",
- selectcaption : "Actions..."
- },
- col : {
- caption: "Zobrazit/Skrýť stĺpce",
- bSubmit: "Uložiť",
- bCancel: "Storno"
- },
- errors : {
- errcap : "Chyba",
- nourl : "Nie je nastavená url",
- norecords: "Žiadne záznamy k spracovaniu",
- model : "Dĺžka colNames <> colModel!"
- },
- formatter : {
- integer : {thousandsSeparator: " ", defaultValue: '0'},
- number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
- currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
- date : {
- dayNames: [
- "Ne", "Po", "Ut", "St", "Št", "Pi", "So",
- "Nedela", "Pondelok", "Utorok", "Streda", "Štvrtok", "Piatek", "Sobota"
- ],
- monthNames: [
- "Jan", "Feb", "Mar", "Apr", "Máj", "Jún", "Júl", "Aug", "Sep", "Okt", "Nov", "Dec",
- "Január", "Február", "Marec", "Apríl", "Máj", "Jún", "Júl", "August", "September", "Október", "November", "December"
- ],
- AmPm : ["do","od","DO","OD"],
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
- srcformat: 'Y-m-d',
- newformat: 'd/m/Y',
- parseRe : /[#%\\\/:_;.,\t\s-]/,
- masks : {
- ISO8601Long:"Y-m-d H:i:s",
- ISO8601Short:"Y-m-d",
- ShortDate: "n/j/Y",
- LongDate: "l, F d, Y",
- FullDateTime: "l, F d, Y g:i:s A",
- MonthDay: "F d",
- ShortTime: "g:i A",
- LongTime: "g:i:s A",
- 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'
- },
- colmenu : {
- sortasc : "Sort Ascending",
- sortdesc : "Sort Descending",
- columns : "Columns",
- filter : "Filter",
- grouping : "Group By",
- ungrouping : "Ungroup",
- searchTitle : "Get items with value that:",
- freeze : "Freeze",
- unfreeze : "Unfreeze",
- reorder : "Move to reorder"
- }
- };
- }));
|