All Downloads are FREE. Search and download functionalities are using the official Maven repository.

template.i18n.grid.locale-sk.js Maven / Gradle / Ivy

There is a newer version: 5.0.6
Show newest version
/**
 * @license 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
**/

/*jslint white: true */
/*global jQuery, module, require */
(function (factory) {
	"use strict";
	if (typeof define === "function" && define.amd) {
		// AMD. Register as an anonymous module.
		define(["jquery"], factory);
	} else if (typeof module === "object" && module.exports) {
		// Node/CommonJS
		module.exports = function (root, $) {
			if ($ === undefined) {
				// require("jquery") returns a factory that requires window to
				// build a jQuery instance, we normalize how we use modules
				// that require this pattern but the window provided is a noop
				// if it's defined (how jquery works)
				$ = typeof window !== "undefined" ?
						require("jquery") :
						require("jquery")(root || window);
			}
			factory($);
			return $;
		};
	} else {
		// Browser globals
		factory(jQuery);
	}
}(function ($) {
"use strict";
var locInfo = {
	isRTL: false,
	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}",
		pgfirst: "First Page",
		pglast: "Last Page",
		pgnext: "Next Page",
		pgprev: "Previous Page",
		pgrecs: "Records per Page",
		showhide: "Toggle Expand Collapse Grid",
		savetext: "Ukladá sa..."
	},
	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" }
		],
		groupOps: [
			{ op: "AND", text: "všetkých" },
			{ op: "OR",  text: "niektorého z" }
		],
		addGroupTitle: "Add subgroup",
		deleteGroupTitle: "Delete group",
		addRuleTitle: "Add rule",
		deleteRuleTitle: "Delete rule",
		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"
	},
	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",
			masks: {
				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",
				YearMonth: "F, Y"
			}
		}
	}
};
$.jgrid = $.jgrid || {};
$.extend(true, $.jgrid, {
	defaults: {
		locale: "sk"
	},
	locales: {
		// In general the property name is free, but it's recommended to use the names based on
		// http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
		// http://rishida.net/utils/subtags/ and RFC 5646. See Appendix A of RFC 5646 for examples.
		// One can use the lang attribute to specify language tags in HTML, and the xml:lang attribute for XML
		// if it exists. See http://www.w3.org/International/articles/language-tags/#extlang
		sk: $.extend({}, locInfo, { name: "slovenčina", nameEnglish: "Slovak" }),
		"sk-SK": $.extend({}, locInfo, { name: "slovenčina (Slovenská republika)", nameEnglish: "Slovak (Slovakia)" })
	}
});
}));




© 2015 - 2025 Weber Informatics LLC | Privacy Policy