westdc-zf1/htdocs/js/timeline_js/scripts/l10n/cs/labellers.js

31 lines
992 B
JavaScript
Raw Normal View History

2009-12-20 06:35:29 +00:00
/*==================================================
* Localization of labellers.js
*==================================================
*/
Timeline.GregorianDateLabeller.monthNames["cs"] = [
"Leden", "<22>nor", "B<>ezen", "Duben", "Kv<4B>ten", "<22>erven", "<22>ervenec", "Srpen", "Z<><5A><EFBFBD>", "<22><>jen", "Listopad", "Prosinec"
];
Timeline.GregorianDateLabeller.dayNames["cs"] = [
"Ne", "Po", "<22>t", "St", "<22>t", "P<>", "So"
];
Timeline.GregorianDateLabeller.labelIntervalFunctions["cs"] = function(date, intervalUnit) {
var text;
var emphasized = false;
var date2 = Timeline.DateTime.removeTimeZoneOffset(date, this._timeZone);
switch(intervalUnit) {
case Timeline.DateTime.DAY:
case Timeline.DateTime.WEEK:
text = date2.getUTCDate() + ". " + (date2.getUTCMonth() + 1) + ".";
break;
default:
return this.defaultLabelInterval(date, intervalUnit);
}
return { text: text, emphasized: emphasized };
};