Version 3.2.3
This commit is contained in:
1 parent
ae5c01cc78
commit
78706903a2
2641 files changed
+228363
-201264
No files matched your search
@@ -1,4 +1,4 @@
|
||||
// CalendarDateSelect version 1.10.11 - a prototype based date picker
|
||||
// CalendarDateSelect version 1.16.3 - a prototype based date picker
|
||||
// Questions, comments, bugs? - see the project page: http://code.google.com/p/calendardateselect
|
||||
if (typeof Prototype == 'undefined') alert("CalendarDateSelect ошибка: Класс-прототип не найден. Пожалуйста убедитесь, что ваше приложение подключает prototype.js (.g. <%= javascript_include_tag :defaults %>) *перед* подключен calendar_date_select.js (.g. <%= calendar_date_select_includes %>).");
|
||||
if (Prototype.Version < "1.6") alert("Требуется класс-прототип 1.6.0. Если используются ранние версии класса- прототипа, используйте calendar_date_select версии 1.8.3");
|
||||
@@ -15,9 +15,8 @@ Element.addMethods({
|
||||
Element.buildAndAppend = function(type, options, style)
|
||||
{
|
||||
var e = $(document.createElement(type));
|
||||
$H(options).each(function(pair) { eval("e." + pair.key + " = pair.value" ); });
|
||||
if (style)
|
||||
$H(style).each(function(pair) { eval("e.style." + pair.key + " = pair.value" ); });
|
||||
$H(options).each(function(pair) { e[pair.key] = pair.value });
|
||||
if (style) e.setStyle(style);
|
||||
return e;
|
||||
};
|
||||
nil = null;
|
||||
@@ -55,7 +54,8 @@ window.f_scrollTop = function() { return ([window.pageYOffset ? window.pageYOffs
|
||||
_translations = {
|
||||
"OK": "OK",
|
||||
"Now": "Сейчас",
|
||||
"Today": "Сегодня"
|
||||
"Today": "Сегодня",
|
||||
"Clear": "Очистить"
|
||||
}
|
||||
SelectBox = Class.create();
|
||||
SelectBox.prototype = {
|
||||
@@ -90,12 +90,26 @@ CalendarDateSelect.prototype = {
|
||||
popup: nil,
|
||||
time: false,
|
||||
buttons: true,
|
||||
clear_button: true,
|
||||
year_range: 10,
|
||||
close_on_click: nil,
|
||||
minute_interval: 5,
|
||||
popup_by: this.target_element,
|
||||
month_year: "dropdowns",
|
||||
onchange: this.target_element.onchange,
|
||||
onchange: function(target_element)
|
||||
{ return function()
|
||||
{ if(target_element.dispatchEvent)
|
||||
{ var event=document.createEvent('HTMLEvents');
|
||||
event.initEvent('change', true, true);
|
||||
target_element.dispatchEvent(event);
|
||||
}
|
||||
else
|
||||
{ var event=document.createEventObject();
|
||||
event.type='onChange';
|
||||
target_element.fireEvent('onChange', event);
|
||||
}
|
||||
};
|
||||
}(this.target_element),
|
||||
valid_date_check: nil
|
||||
}).merge(options || {});
|
||||
this.use_time = this.options.get("time");
|
||||
@@ -231,7 +245,7 @@ CalendarDateSelect.prototype = {
|
||||
onclick: function() {this.today(false); return false;}.bindAsEventListener(this)
|
||||
});
|
||||
|
||||
if (this.options.get("time")=="mixed") buttons_div.build("span", {innerHTML: " | ", className:"button_seperator"})
|
||||
if (this.options.get("time")=="mixed") buttons_div.build("span", {innerHTML: " | ", className:"button_seperator"})
|
||||
|
||||
if (this.options.get("time")) b = buttons_div.build("a", {
|
||||
innerHTML: _translations["Now"],
|
||||
@@ -239,11 +253,15 @@ CalendarDateSelect.prototype = {
|
||||
onclick: function() {this.today(true); return false}.bindAsEventListener(this)
|
||||
});
|
||||
|
||||
if (!this.options.get("embedded"))
|
||||
if (!this.options.get("embedded") && !this.closeOnClick())
|
||||
{
|
||||
buttons_div.build("span", {innerHTML: " "});
|
||||
buttons_div.build("span", {innerHTML: " | ", className:"button_seperator"})
|
||||
buttons_div.build("a", { innerHTML: _translations["OK"], href: "#", onclick: function() {this.close(); return false;}.bindAsEventListener(this) });
|
||||
}
|
||||
if (this.options.get('clear_button')) {
|
||||
buttons_div.build("span", {innerHTML: " | ", className:"button_seperator"})
|
||||
buttons_div.build("a", { innerHTML: _translations["Clear"], href: "#", onclick: function() {this.clearDate(); if (!this.options.get("embedded")) this.close(); return false;}.bindAsEventListener(this) });
|
||||
}
|
||||
}
|
||||
},
|
||||
refresh: function ()
|
||||
@@ -299,7 +317,7 @@ CalendarDateSelect.prototype = {
|
||||
this.year_select.setValue(y);
|
||||
|
||||
} else {
|
||||
this.month_year_label.update( Date.months[m] + " " + y.toString() );
|
||||
this.month_year_label.update().insert(Date.months[m] + " " + y.toString());
|
||||
}
|
||||
},
|
||||
populateYearRange: function() {
|
||||
@@ -316,7 +334,7 @@ CalendarDateSelect.prototype = {
|
||||
validYear: function(year) { if (this.flexibleYearRange()) { return true;} else { return this.yearRange().include(year);} },
|
||||
dayHover: function(element) {
|
||||
var hover_date = new Date(this.selected_date);
|
||||
hover_date.setYear(element.year); hover_date.setMonth(element.month); hover_date.setDate(element.day);
|
||||
hover_date.setFullYear(element.year, element.month, element.day);
|
||||
this.updateFooter(hover_date.toFormattedString(this.use_time));
|
||||
},
|
||||
dayHoverOut: function(element) { this.updateFooter(); },
|
||||
@@ -336,23 +354,34 @@ CalendarDateSelect.prototype = {
|
||||
parseDate: function()
|
||||
{
|
||||
var value = $F(this.target_element).strip()
|
||||
this.selection_made = (value != "");
|
||||
var default_time = this.options.get("default_time");
|
||||
this.selection_made = (value != "" || default_time);
|
||||
this.date = value=="" ? NaN : Date.parseFormattedString(this.options.get("date") || value);
|
||||
if (isNaN(this.date)) this.date = new Date();
|
||||
if (isNaN(this.date) && !default_time)
|
||||
this.date = new Date();
|
||||
else if (isNaN(this.date) && default_time)
|
||||
this.date = (Object.prototype.toString.apply(default_time) === '[object Function]') ? default_time() : default_time;
|
||||
|
||||
if (!this.validYear(this.date.getFullYear())) this.date.setYear( (this.date.getFullYear() < this.yearRange().start) ? this.yearRange().start : this.yearRange().end);
|
||||
this.selected_date = new Date(this.date);
|
||||
this.use_time = /[0-9]:[0-9]{2}/.exec(value) ? true : false;
|
||||
this.date.setDate(1);
|
||||
},
|
||||
updateFooter:function(text) { if (!text) text = this.dateString(); this.footer_div.purgeChildren(); this.footer_div.build("span", {innerHTML: text }); },
|
||||
clearDate:function() {
|
||||
if ((this.target_element.disabled || this.target_element.readOnly) && this.options.get("popup") != "force") return false;
|
||||
var last_value = this.target_element.value;
|
||||
this.target_element.value = "";
|
||||
this.clearSelectedClass();
|
||||
this.updateFooter(' ');
|
||||
if (last_value!=this.target_element.value) this.callback("onchange");
|
||||
},
|
||||
updateSelectedDate:function(partsOrElement, via_click) {
|
||||
var parts = $H(partsOrElement);
|
||||
if ((this.target_element.disabled || this.target_element.readOnly) && this.options.get("popup") != "force") return false;
|
||||
if (parts.get("day")) {
|
||||
var t_selected_date = this.selected_date, vdc = this.options.get("valid_date_check");
|
||||
for (var x = 0; x<=3; x++) t_selected_date.setDate(parts.get("day"));
|
||||
t_selected_date.setYear(parts.get("year"));
|
||||
t_selected_date.setMonth(parts.get("month"));
|
||||
t_selected_date.setFullYear(parts.get("year"), parts.get("month"), parts.get("day"));
|
||||
|
||||
if (vdc && ! vdc(t_selected_date.stripTime())) { return false; }
|
||||
this.selected_date = t_selected_date;
|
||||
@@ -425,7 +454,7 @@ CalendarDateSelect.prototype = {
|
||||
Event.stopObserving(document, "keypress", this.keyPress_handler);
|
||||
this.calendar_div.remove(); this.closed = true;
|
||||
if (this.iframe) this.iframe.remove();
|
||||
if (this.target_element.type!="hidden") this.target_element.focus();
|
||||
if (this.target_element.type != "hidden" && ! this.target_element.disabled) this.target_element.focus();
|
||||
this.callback("after_close");
|
||||
},
|
||||
closeIfClickedOut: function(e) {
|
||||
|
||||
@@ -16,6 +16,7 @@ Date.parseFormattedString = function (string) {
|
||||
// 1/1/1111 01:11pm
|
||||
// 1/1/1111 1:11pm
|
||||
var regexp = "(([0-1]?[0-9])\/[0-3]?[0-9]\/[0-9]{4}) *([0-9]{1,2}(:[0-9]{2})? *(am|pm))?";
|
||||
string = string.strip();
|
||||
var d = string.match(new RegExp(regexp, "i"));
|
||||
if (d==null) {
|
||||
return Date.parse(string); // Give javascript a chance to parse it.
|
||||
@@ -24,7 +25,7 @@ Date.parseFormattedString = function (string) {
|
||||
mdy = d[1].split('/');
|
||||
hrs = 0;
|
||||
mts = 0;
|
||||
if(d[3] != null) {
|
||||
if(d[3] != null && d[3].strip() != "") {
|
||||
hrs = parseInt(d[3].split('')[0], 10);
|
||||
if(d[5].toLowerCase() == 'pm') { hrs += 12; } // Add 12 more to hrs
|
||||
mts = d[4].split(':')[1];
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
// Formats date and time as "2000/01/20 17:00"
|
||||
Date.prototype.toFormattedString = function(include_time){
|
||||
str = Date.padded2(this.getDate()) + "/" + Date.padded2(this.getMonth() + 1) + "/" + this.getFullYear();
|
||||
|
||||
if (include_time) {
|
||||
str += " " + this.getHours() + ":" + this.getPaddedMinutes();
|
||||
}
|
||||
return str;
|
||||
}
|
||||
|
||||
// Parses date and time as "2000/01/20 17:00"
|
||||
Date.parseFormattedString = function(string) {
|
||||
var regexp = "([0-9]{2})/([0-9]{2})/([0-9]{4})" +
|
||||
"( ([0-9]{1,2}):([0-9]{2})(:([0-9]{2})(.([0-9]{3}))?)?" +
|
||||
")?";
|
||||
var d = string.match(new RegExp(regexp, "i"));
|
||||
if (d==null) return Date.parse(string); // at least give javascript a crack at it.
|
||||
var offset = 0;
|
||||
var date = new Date(d[3], 0, 1);
|
||||
if (d[2]) { date.setMonth(d[2] - 1); }
|
||||
if (d[1]) { date.setDate(d[1]); }
|
||||
if (d[4]) {
|
||||
hours = parseInt(d[5], 10);
|
||||
date.setHours(hours);
|
||||
}
|
||||
if (d[6]) { date.setMinutes(d[6]); }
|
||||
//if (d[8]) { date.setSeconds(d[7]); }
|
||||
//if (d[9]) { date.setMiliseconds(Number("0." + d[8]) * 1000); }
|
||||
|
||||
return date;
|
||||
}
|
||||
@@ -8,10 +8,18 @@ Date.prototype.toFormattedString = function(include_time){
|
||||
return str;
|
||||
}
|
||||
Date.parseFormattedString = function (string) {
|
||||
var regexp = '([0-9]{1,2})\.(([0-9]{1,2})\.(([0-9]{4})( ([0-9]{1,2}):([0-9]{2})? *)?)?)?';
|
||||
var regexp = '([0-9]{1,2})\.(([0-9]{1,2})\.(([0-9]{2,4})( ([0-9]{1,2}):([0-9]{2})? *)?)?)?';
|
||||
var d = string.match(new RegExp(regexp, "i"));
|
||||
if (d==null) return Date.parse(string); // at least give javascript a crack at it.
|
||||
var offset = 0;
|
||||
if (d[5] && d[5].length == 2) {
|
||||
// we got only two digits for the year...
|
||||
d[5] = Number(d[5]);
|
||||
if (d[5] > 30)
|
||||
d[5] += 1900;
|
||||
else
|
||||
d[5] += 2000;
|
||||
}
|
||||
var date = new Date(d[5], 0, 1);
|
||||
if (d[3]) { date.setMonth(d[3] - 1); }
|
||||
if (d[5]) { date.setDate(d[1]); }
|
||||
|
||||
@@ -18,11 +18,12 @@ Date.parseFormattedString = function (string) {
|
||||
if (d[7]) {
|
||||
hours = parseInt(d[7], 10);
|
||||
offset=0;
|
||||
is_pm = (d[9].toLowerCase()=="pm")
|
||||
if (is_pm && hours <= 11) hours+=12;
|
||||
if (!is_pm && hours == 12) hours=0;
|
||||
if (d[9]) {
|
||||
is_pm = (d[9].toLowerCase()=="pm");
|
||||
if (is_pm && hours <= 11) hours+=12;
|
||||
if (!is_pm && hours == 12) hours=0;
|
||||
}
|
||||
date.setHours(hours);
|
||||
|
||||
}
|
||||
if (d[8]) { date.setMinutes(d[8]); }
|
||||
if (d[10]) { date.setSeconds(d[10]); }
|
||||
|
||||
@@ -1,46 +1,29 @@
|
||||
// International date format (ISO 8601): yyyy-mm-dd
|
||||
// Including time (no seconds): yyyy-mm-dd HH:MM
|
||||
Date.prototype.toFormattedString = function(include_time) {
|
||||
var hour;
|
||||
var hour;
|
||||
var str = this.getFullYear() + "-" + Date.padded2(this.getMonth() + 1) + "-" +Date.padded2(this.getDate());
|
||||
if (include_time) {
|
||||
hour = this.getHours();
|
||||
str += " " + this.getHours() + ":" + this.getPaddedMinutes();
|
||||
hour = Date.padded2(this.getHours());
|
||||
str += " " + hour + ":" + this.getPaddedMinutes();
|
||||
}
|
||||
return str;
|
||||
};
|
||||
|
||||
// TODO: take care of timezone offsets
|
||||
// as the timezone is not displayed in the input,
|
||||
// this could be tricky (or just unnessesary)
|
||||
Date.parseFormattedString = function (string) {
|
||||
var regexp = "([0-9]{4})(-([0-9]{2})(-([0-9]{2})" +
|
||||
"([T| ]([0-9]{2}):([0-9]{2})(:([0-9]{2})(\.([0-9]+))?)?" +
|
||||
"(Z|(([-+])([0-9]{2}):([0-9]{2})))?)?)?)?";
|
||||
var d = string.match(new RegExp(regexp));
|
||||
|
||||
var regexp = "([0-9]{4})(-([0-9]{2})(-([0-9]{2})" +
|
||||
"( ([0-9]{1,2}):([0-9]{2})?" +
|
||||
"?)?)?)?";
|
||||
var date = new Date(d[1], 0, 1);
|
||||
|
||||
var d = string.match(new RegExp(regexp, "i"));
|
||||
if (d === null) {
|
||||
return Date.parse(string); // at least give javascript a crack at it.
|
||||
}
|
||||
var offset = 0;
|
||||
var date = new Date(d[1], 0, 1);
|
||||
if (d[3]) {
|
||||
date.setMonth(d[3] - 1);
|
||||
}
|
||||
if (d[5]) {
|
||||
date.setDate(d[5]);
|
||||
}
|
||||
if (d[7]) {
|
||||
date.setHours(d[7]);
|
||||
}
|
||||
if (d[8]) {
|
||||
date.setMinutes(d[8]);
|
||||
}
|
||||
if (d[0]) {
|
||||
date.setSeconds(d[0]);
|
||||
}
|
||||
if (d[2]) {
|
||||
date.setMilliseconds(Number("0." + d[2]));
|
||||
}
|
||||
if (d[4]) {
|
||||
offset = (Number(d[6])) + Number(d[8]);
|
||||
offset = ((d[5] == '-') ? 1 : -1);
|
||||
}
|
||||
return date;
|
||||
};
|
||||
if (d[3]) { date.setMonth(d[3] - 1); }
|
||||
if (d[5]) { date.setDate(d[5]); }
|
||||
if (d[7]) { date.setHours(d[7]); }
|
||||
if (d[8]) { date.setMinutes(d[8]); }
|
||||
return date;
|
||||
};
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
Date.prototype.toFormattedString = function(include_time){
|
||||
str = this.getDate() + "/" + (this.getMonth() + 1) + "/" + this.getFullYear();
|
||||
if (include_time) { hour=this.getHours(); str += " " + this.getAMPMHour() + ":" + this.getPaddedMinutes() }
|
||||
if (include_time) { str += " " + this.getHours() + ":" + this.getPaddedMinutes() }
|
||||
return str;
|
||||
}
|
||||
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
<a href="http://www.invisionboard.com/">IP.Board</a>
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,10 @@
|
||||
Date.weekdays = ['سبت', 'أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'];
|
||||
Date.months = ['كانون ثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين أول', 'تشرين ثاني', 'كانون أول'];
|
||||
Date.first_day_of_week = 6;
|
||||
|
||||
_translations = {
|
||||
"OK": "نفذ",
|
||||
"Now": "الآن",
|
||||
"Today": "اليوم",
|
||||
"Clear": "إلغاء"
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
Date.weekdays = $w("Po Út St Čt Pá So Ne");
|
||||
Date.months = $w("Leden Únor Březen Duben Květen Červen Červenec Srpen Září Říjen Listopad Prosinec" );
|
||||
|
||||
Date.first_day_of_week = 1
|
||||
|
||||
_translations = {
|
||||
"OK": "OK",
|
||||
"Now": "Teď",
|
||||
"Today": "Dnes",
|
||||
"Clear": "Smazat"
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
Date.weekdays = $w('Ma Ti On To Fr Lø Sø');
|
||||
Date.months = $w('Januar Februar Marts April Maj Juni Juli August September Oktober November December');
|
||||
|
||||
Date.first_day_of_week = 1;
|
||||
|
||||
_translations = {
|
||||
"OK": "Vælg",
|
||||
"Now": "Nu",
|
||||
"Today": "I dag",
|
||||
"Clear": "Slet"
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
Date.weekdays = $w('Mo Di Mi Do Fr Sa So');
|
||||
Date.months = $w('Januar Februar März April Mai Juni Juli August September Oktober November Dezember');
|
||||
|
||||
Date.first_day_of_week = 1;
|
||||
|
||||
_translations = {
|
||||
"OK": "OK",
|
||||
"Now": "Jetzt",
|
||||
"Today": "Heute",
|
||||
"Clear": "Löschen"
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
Date.weekdays = $w("L M X J V S D");
|
||||
Date.months = $w("Enero Febrero Marzo Abril Mayo Junio Julio Agosto Septiembre Octubre Noviembre Diciembre" );
|
||||
|
||||
Date.first_day_of_week = 1;
|
||||
|
||||
_translations = {
|
||||
"OK": "Cancelar",
|
||||
"Now": "Ahora",
|
||||
"Clear": "Limpiar",
|
||||
"Today": "Hoy"
|
||||
}
|
||||
@@ -6,5 +6,6 @@ Date.first_day_of_week = 1;
|
||||
_translations = {
|
||||
"OK": "OK",
|
||||
"Now": "Maintenant",
|
||||
"Today": "Aujourd'hui"
|
||||
"Today": "Aujourd'hui",
|
||||
"Clear": "Effacer",
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
Date.weekdays = $w('h. k. sze. cs. p. szo. v.');
|
||||
Date.months = $w('január február március április május június július augusztus szeptember október november december');
|
||||
|
||||
Date.first_day_of_week = 1;
|
||||
|
||||
_translations = {
|
||||
"OK": "OK",
|
||||
"Now": "Most",
|
||||
"Today": "Ma",
|
||||
"Clear": "Bezárás"
|
||||
}
|
||||
@@ -5,6 +5,6 @@
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
<a href="http://www.invisionboard.com/">IP.Board</a>
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,9 @@
|
||||
Date.weekdays = $w('Lu Ma Me Gi Ve Sa Do');
|
||||
Date.months = $w('Gennaio Febbraio Marzo Aprile Maggio Giugno Luglio Agosto Settembre Ottobre Novembre Dicembre');
|
||||
Date.first_day_of_week = 1;
|
||||
_translations = {
|
||||
"OK": "OK",
|
||||
"Now": "Ora",
|
||||
"Today": "Oggi",
|
||||
"Clear": "Cancella"
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
Date.weekdays = $w('日 月 火 水 木 金 土');
|
||||
Date.months = $w('1月 2月 3月 4月 5月 6月 7月 8月 9月 10月 11月 12月');
|
||||
|
||||
Date.first_day_of_week = 0
|
||||
|
||||
_translations = {
|
||||
"OK": "OK",
|
||||
"Now": "現在",
|
||||
"Today": "今日",
|
||||
"Clear": "クリア"
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
Date.weekdays = $w('Ma Di Wo Do Vr Za Zo');
|
||||
Date.months = $w('januari februari maart april mei juni juli augustus september oktober november december');
|
||||
|
||||
Date.first_day_of_week = 1;
|
||||
|
||||
_translations = {
|
||||
"OK": "OK",
|
||||
"Now": "Nu",
|
||||
"Today": "Vandaag",
|
||||
"Clear": "Wissen"
|
||||
}
|
||||
@@ -6,5 +6,6 @@ Date.first_day_of_week = 1
|
||||
_translations = {
|
||||
"OK": "OK",
|
||||
"Now": "Teraz",
|
||||
"Clear": "Wyczyść",
|
||||
"Today": "Dziś"
|
||||
}
|
||||
}
|
||||
@@ -1,10 +1,11 @@
|
||||
Date.weekdays = $w('D S T Q Q S S');
|
||||
Date.months = $w('Janeiro Fevereiro Março Abril Maio Junho Julho Agosto Setembro Novembro Dezembro');
|
||||
Date.months = $w('Janeiro Fevereiro Março Abril Maio Junho Julho Agosto Setembro Outubro Novembro Dezembro');
|
||||
|
||||
Date.first_day_of_week = 0
|
||||
|
||||
_translations = {
|
||||
"OK": "OK",
|
||||
"Now": "Agora",
|
||||
"Today": "Hoje"
|
||||
}
|
||||
"Today": "Hoje",
|
||||
"Clear": "Limpar"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
Date.weekdays = $w('Пн Вт Ср Чт Пт Сб Вс');
|
||||
Date.months = $w('Январь Февраль Март Апрель Май Июнь Июль Август Сентябрь Октябрь Ноябрь Декабрь');
|
||||
|
||||
Date.first_day_of_week = 1
|
||||
|
||||
_translations = {
|
||||
"OK": "OK",
|
||||
"Now": "Сейчас",
|
||||
"Today": "Сегодня"
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
Date.weekdays = $w('Po To Sr Če Pe So Ne');
|
||||
Date.months = $w('Januar Februar Marec April Maj Junij Julij Avgust September Oktober November December');
|
||||
|
||||
Date.first_day_of_week = 1;
|
||||
|
||||
_translations = {
|
||||
"OK": "OK",
|
||||
"Now": "Trenutno",
|
||||
"Today": "Danes",
|
||||
"Clear": "Pobriši"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
Date.weekdays = $w('Må Ti On To Fr Lö Sö');
|
||||
Date.months = $w('Januari Februari Mars April Maj Juni Juli Augusti September Oktober November December');
|
||||
Date.first_day_of_week = 1;
|
||||
_translations = {
|
||||
"OK": "OK",
|
||||
"Now": "Nu",
|
||||
"Today": "Idag",
|
||||
"Clear": "Avbryt"
|
||||
}
|
||||
Reference in new issue
Block a user