/*
This file is part of Ext JS 4.2
Copyright (c) 2011-2013 Sencha Inc
Contact: http://www.sencha.com/contact
GNU General Public License Usage
This file may be used under the terms of the GNU General Public License version 3.0 as
published by the Free Software Foundation and appearing in the file LICENSE included in the
packaging of this file.
Please review the following information to ensure the GNU General Public License version 3.0
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
If you are unsure which license is appropriate for your use, please contact the sales department
at http://www.sencha.com/contact.
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
*/
/**
* Croatian translation
* By Ylodi (utf8 encoding)
* 8 May 2007
*
* By Stjepan at gmail dot com (utf8 encoding)
* 17 May 2008
*/
Ext.onReady(function() {
if (Ext.Date) {
Ext.Date.monthNames = ["SijeÄanj", "VeljaÄa", "Ožujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"];
Ext.Date.getShortMonthName = function(month) {
return Ext.Date.monthNames[month].substring(0, 3);
};
Ext.Date.monthNumbers = {
Jan: 0,
Feb: 1,
Mar: 2,
Apr: 3,
May: 4,
Jun: 5,
Jul: 6,
Aug: 7,
Sep: 8,
Oct: 9,
Nov: 10,
Dec: 11
};
Ext.Date.getMonthNumber = function(name) {
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
};
Ext.Date.dayNames = ["Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "ÄŒetvrtak", "Petak", "Subota"];
Ext.Date.getShortDayName = function(day) {
return Ext.Date.dayNames[day].substring(0, 3);
};
}
if (Ext.util && Ext.util.Format) {
Ext.apply(Ext.util.Format, {
thousandSeparator: '.',
decimalSeparator: ',',
currencySign: 'kn',
// Croation Kuna
dateFormat: 'd.m.Y'
});
}
});
Ext.define("Ext.locale.hr.view.View", {
override: "Ext.view.View",
emptyText: ""
});
Ext.define("Ext.locale.hr.grid.plugin.DragDrop", {
override: "Ext.grid.plugin.DragDrop",
dragText: "{0} odabranih redova"
});
Ext.define("Ext.locale.hr.tab.Tab", {
override: "Ext.tab.Tab",
closeText: "Zatvori ovaj tab"
});
Ext.define("Ext.locale.hr.form.field.Base", {
override: "Ext.form.field.Base",
invalidText: "Unesena vrijednost u ovom polju je neispravna"
});
// changing the msg text below will affect the LoadMask
Ext.define("Ext.locale.hr.view.AbstractView", {
override: "Ext.view.AbstractView",
loadingText: "UÄitavanje..."
});
Ext.define("Ext.locale.hr.picker.Date", {
override: "Ext.picker.Date",
todayText: "Danas",
minText: "Taj datum je prije najmanjeg datuma",
maxText: "Taj datum je poslije najvećeg datuma",
disabledDaysText: "",
disabledDatesText: "",
nextText: 'Slijedeći mjesec (Control+Desno)',
prevText: 'Prethodni mjesec (Control+Lijevo)',
monthYearText: 'Odaberite mjesec (Control+Gore/Dolje za promjenu godine)',
todayTip: "{0} (Razmaknica)",
format: "d.m.y",
startDay: 1
});
Ext.define("Ext.locale.hr.picker.Month", {
override: "Ext.picker.Month",
okText: " U redu ",
cancelText: "Odustani"
});
Ext.define("Ext.locale.hr.toolbar.Paging", {
override: "Ext.PagingToolbar",
beforePageText: "Stranica",
afterPageText: "od {0}",
firstText: "Prva stranica",
prevText: "Prethodna stranica",
nextText: "Slijedeća stranica",
lastText: "Posljednja stranica",
refreshText: "Obnovi",
displayMsg: "Prikazujem {0} - {1} od {2}",
emptyMsg: 'Nema podataka za prikaz'
});
Ext.define("Ext.locale.hr.form.field.Text", {
override: "Ext.form.field.Text",
minLengthText: "Minimalna dužina za ovo polje je {0}",
maxLengthText: "Maksimalna dužina za ovo polje je {0}",
blankText: "Ovo polje je obavezno",
regexText: "",
emptyText: null
});
Ext.define("Ext.locale.hr.form.field.Number", {
override: "Ext.form.field.Number",
minText: "Minimalna vrijednost za ovo polje je {0}",
maxText: "Maksimalna vrijednost za ovo polje je {0}",
nanText: "{0} nije ispravan broj"
});
Ext.define("Ext.locale.hr.form.field.Date", {
override: "Ext.form.field.Date",
disabledDaysText: "Neaktivno",
disabledDatesText: "Neaktivno",
minText: "Datum u ovom polje mora biti poslije {0}",
maxText: "Datum u ovom polju mora biti prije {0}",
invalidText: "{0} nije ispravan datum - mora biti u obliku {1}",
format: "d.m.y"
});
Ext.define("Ext.locale.hr.form.field.ComboBox", {
override: "Ext.form.field.ComboBox",
valueNotFoundText: undefined
}, function() {
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
loadingText: "UÄitavanje..."
});
});
Ext.define("Ext.locale.hr.form.field.VTypes", {
override: "Ext.form.field.VTypes",
emailText: 'Ovdje možete unijeti samo e-mail adresu u obliku "korisnik@domena.com"',
urlText: 'Ovdje možete unijeti samo URL u obliku "http:/' + '/www.domena.com"',
alphaText: 'Ovo polje može sadržavati samo slova i znak _',
alphanumText: 'Ovo polje može sadržavati samo slova, brojeve i znak _'
});
Ext.define("Ext.locale.hr.form.field.HtmlEditor", {
override: "Ext.form.field.HtmlEditor",
createLinkText: 'Unesite URL za link:'
}, function() {
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
buttonTips: {
bold: {
title: 'Podebljano (Ctrl+B)',
text: 'Podebljavanje oznaÄenog teksta.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
italic: {
title: 'Kurziv (Ctrl+I)',
text: 'Pretvaranje oznaÄenog tekst u kurziv',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
underline: {
title: 'Podcrtano (Ctrl+U)',
text: 'Potcrtavanje oznaÄenog teksta',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
increasefontsize: {
title: 'Povećanje teksta',
text: 'Povećavanje veliÄine fonta.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
decreasefontsize: {
title: 'Smanjivanje teksta',
text: 'Smanjivanje veliÄine fonta.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
backcolor: {
title: 'Boja oznaÄenog teksta',
text: 'Promjena boje pozadine oznaÄenog teksta.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
forecolor: {
title: 'Boja fonta',
text: 'Promjena boje oznaÄenog teksta.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
justifyleft: {
title: 'Lijevo poravnanje teksta',
text: 'Poravnanje teksta na lijevu stranu.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
justifycenter: {
title: 'Centriranje teksta',
text: 'Centriranje teksta u ureÄ‘ivaÄu teksta.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
justifyright: {
title: 'Desno poravnanje teksta',
text: 'Poravnanje teksta na desnu stranu.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
insertunorderedlist: {
title: 'OznaÄena lista',
text: 'ZapoÄinjanje oznaÄene liste.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
insertorderedlist: {
title: 'Numerirana lista',
text: 'ZapoÄinjanje numerirane liste.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
createlink: {
title: 'Hiperveza',
text: 'Stvaranje hiperveze od oznaÄenog teksta.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
sourceedit: {
title: 'Uređivanje izvornog koda',
text: 'Prebacivanje u naÄin rada za ureÄ‘ivanje izvornog koda.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
}
}
});
});
Ext.define("Ext.locale.hr.grid.header.Container", {
override: "Ext.grid.header.Container",
sortAscText: "Sortiraj rastućim redoslijedom",
sortDescText: "Sortiraj padajućim redoslijedom",
lockText: "ZakljuÄaj stupac",
unlockText: "OtkljuÄaj stupac",
columnsText: "Stupci"
});
Ext.define("Ext.locale.hr.grid.GroupingFeature", {
override: "Ext.grid.GroupingFeature",
emptyGroupText: '(Ništa)',
groupByText: 'Grupiranje po ovom polju',
showGroupsText: 'Prikaz u grupama'
});
Ext.define("Ext.locale.hr.grid.PropertyColumnModel", {
override: "Ext.grid.PropertyColumnModel",
nameText: "Naziv",
valueText: "Vrijednost",
dateFormat: "d.m.Y"
});
Ext.define("Ext.locale.hr.window.MessageBox", {
override: "Ext.window.MessageBox",
buttonText: {
ok: "U redu",
cancel: "Odustani",
yes: "Da",
no: "Ne"
}
});
// This is needed until we can refactor all of the locales into individual files
Ext.define("Ext.locale.hr.Component", {
override: "Ext.Component"
});
|