Files
luos/gulliver/js/ext/locale/ext-lang-sr.js
Julio Cesar Laura 9c1d1c58d7 BUG 9744 Untranslatable items in calendar forms SOLVED
- Hardcoded labels found in the calandar new/edit form
- Change hardcoded labels to uid translations
2012-09-14 13:40:38 -04:00

188 lines
5.1 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*!
* Ext JS Library 3.4.0
* Copyright(c) 2006-2011 Sencha Inc.
* licensing@sencha.com
* http://www.sencha.com/license
*/
/*
* Serbian Latin Translation
* by Atila Hajnal (latin, utf8 encoding)
* sr
* 14 Sep 2007
*/
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Učitavam...</div>';
if(Ext.View){
Ext.View.prototype.emptyText = "Ne postoji ni jedan slog";
}
if(Ext.grid.GridPanel){
Ext.grid.GridPanel.prototype.ddText = "{0} izabranih redova";
}
if(Ext.TabPanelItem){
Ext.TabPanelItem.prototype.closeText = "Zatvori оvu »karticu«";
}
if(Ext.form.Field){
Ext.form.Field.prototype.invalidText = "Unešena vrednost nije pravilna";
}
if(Ext.LoadMask){
Ext.LoadMask.prototype.msg = "Učitavam...";
}
Date.monthNames = [
"Januar",
"Februar",
"Mart",
"April",
"Мај",
"Jun",
"Јul",
"Avgust",
"Septembar",
"Oktobar",
"Novembar",
"Decembar"
];
Date.dayNames = [
"Nedelja",
"Ponedeljak",
"Utorak",
"Sreda",
"Četvrtak",
"Petak",
"Subota"
];
if(Ext.MessageBox){
Ext.MessageBox.buttonText = {
ok : "U redu",
cancel : "Odustani",
yes : "Da",
no : "Ne"
};
}
if(Ext.util.Format){
Ext.util.Format.date = function(v, format){
if(!v) return "";
if(!(v instanceof Date)) v = new Date(Date.parse(v));
return v.dateFormat(format || "d.m.Y");
};
}
if(Ext.DatePicker){
Ext.apply(Ext.DatePicker.prototype, {
todayText : "Danas",
minText : "Datum је ispred najmanjeg dozvoljenog datuma",
maxText : "Datum је nakon najvećeg dozvoljenog datuma",
disabledDaysText : "",
disabledDatesText : "",
monthNames : Date.monthNames,
dayNames : Date.dayNames,
nextText : 'Sledeći mesec (Control+Desno)',
prevText : 'Prethodni mesec (Control+Levo)',
monthYearText : 'Izaberite mesec (Control+Gore/Dole za izbor godine)',
todayTip : "{0} (Razmaknica)",
format : "d.m.y",
startDay : 1
});
}
if(Ext.PagingToolbar){
Ext.apply(Ext.PagingToolbar.prototype, {
beforePageText : "Strana",
afterPageText : "od {0}",
firstText : "Prva strana",
prevText : "Prethodna strana",
nextText : "Sledeća strana",
lastText : "Poslednja strana",
refreshText : "Osveži",
displayMsg : "Prikazana {0} - {1} od {2}",
emptyMsg : 'Nemam šta prikazati'
});
}
if(Ext.form.TextField){
Ext.apply(Ext.form.TextField.prototype, {
minLengthText : "Minimalna dužina ovog polja је {0}",
maxLengthText : "Maksimalna dužina ovog polja је {0}",
blankText : "Polje је obavezno",
regexText : "",
emptyText : null
});
}
if(Ext.form.NumberField){
Ext.apply(Ext.form.NumberField.prototype, {
minText : "Minimalna vrednost u polju је {0}",
maxText : "Maksimalna vrednost u polju је {0}",
nanText : "{0} nije pravilan broj"
});
}
if(Ext.form.DateField){
Ext.apply(Ext.form.DateField.prototype, {
disabledDaysText : "Pasivno",
disabledDatesText : "Pasivno",
minText : "Datum u ovom polju mora biti nakon {0}",
maxText : "Datum u ovom polju mora biti pre {0}",
invalidText : "{0} nije pravilan datum - zahtevani oblik je {1}",
format : "d.m.y",
altFormats : "d.m.y|d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d",
startDay : 1
});
}
if(Ext.form.ComboBox){
Ext.apply(Ext.form.ComboBox.prototype, {
loadingText : "Učitavam...",
valueNotFoundText : undefined
});
}
if(Ext.form.VTypes){
Ext.apply(Ext.form.VTypes, {
emailText : 'Ovo polje prihavata e-mail adresu isključivo u obliku "korisnik@domen.com"',
urlText : 'Ovo polje prihavata URL adresu isključivo u obliku "http:/'+'/www.domen.com"',
alphaText : 'Ovo polje može sadržati isključivo slova i znak _',
alphanumText : 'Ovo polje može sadržati само slova, brojeve i znak _'
});
}
if(Ext.grid.GridView){
Ext.apply(Ext.grid.GridView.prototype, {
sortAscText : "Rastući redosled",
sortDescText : "Opadajući redosled",
lockText : "Zaključaj kolonu",
unlockText : "Otključaj kolonu",
columnsText : "Kolone"
});
}
if(Ext.grid.PropertyColumnModel){
Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
nameText : "Naziv",
valueText : "Vrednost",
dateFormat : "d.m.Y"
});
}
if (Ext.ux.grid.RowEditor) {
Ext.ux.grid.RowEditor.prototype.saveBtnText = "уштедети";
Ext.ux.grid.RowEditor.prototype.cancelBtnText = "отказати";
Ext.ux.grid.RowEditor.prototype.saveText = "уштедети";
Ext.ux.grid.RowEditor.prototype.cancelText = "отказати";
}
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
splitTip : "Povući za izmenu veličine.",
collapsibleSplitTip : "Povući za izmenu veličine. Dvostruku klik za sakrivanje."
});
}