summaryrefslogtreecommitdiffstats
path: root/public/javascripts/i18n/datepicker-sr.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/javascripts/i18n/datepicker-sr.js')
-rw-r--r--public/javascripts/i18n/datepicker-sr.js40
1 files changed, 40 insertions, 0 deletions
diff --git a/public/javascripts/i18n/datepicker-sr.js b/public/javascripts/i18n/datepicker-sr.js
new file mode 100644
index 000000000..8b04d9bb3
--- /dev/null
+++ b/public/javascripts/i18n/datepicker-sr.js
@@ -0,0 +1,40 @@
+/* Serbian i18n for the jQuery UI date picker plugin. */
+/* Written by Dejan Dimić. */
+( function( factory ) {
+ "use strict";
+
+ if ( typeof define === "function" && define.amd ) {
+
+ // AMD. Register as an anonymous module.
+ define( [ "../widgets/datepicker" ], factory );
+ } else {
+
+ // Browser globals
+ factory( jQuery.datepicker );
+ }
+} )( function( datepicker ) {
+"use strict";
+
+datepicker.regional.sr = {
+ closeText: "Затвори",
+ prevText: "Претходна",
+ nextText: "Следећи",
+ currentText: "Данас",
+ monthNames: [ "Јануар", "Фебруар", "Март", "Април", "Мај", "Јун",
+ "Јул", "Август", "Септембар", "Октобар", "Новембар", "Децембар" ],
+ monthNamesShort: [ "Јан", "Феб", "Мар", "Апр", "Мај", "Јун",
+ "Јул", "Авг", "Сеп", "Окт", "Нов", "Дец" ],
+ dayNames: [ "Недеља", "Понедељак", "Уторак", "Среда", "Четвртак", "Петак", "Субота" ],
+ dayNamesShort: [ "Нед", "Пон", "Уто", "Сре", "Чет", "Пет", "Суб" ],
+ dayNamesMin: [ "Не", "По", "Ут", "Ср", "Че", "Пе", "Су" ],
+ weekHeader: "Сед",
+ dateFormat: "dd.mm.yy",
+ firstDay: 1,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: "" };
+datepicker.setDefaults( datepicker.regional.sr );
+
+return datepicker.regional.sr;
+
+} );