From b1211c554f6252a39e2a441d026b02582189acb1 Mon Sep 17 00:00:00 2001 From: mahsem <137205921+mahsem@users.noreply.github.com> Date: Wed, 15 Jan 2025 14:41:07 +0100 Subject: [PATCH 1/2] feat: datepicker_bosnian --- .../frappe/form/controls/datepicker_i18n.js | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/frappe/public/js/frappe/form/controls/datepicker_i18n.js b/frappe/public/js/frappe/form/controls/datepicker_i18n.js index e8c312d4b2..192c5eb2bb 100644 --- a/frappe/public/js/frappe/form/controls/datepicker_i18n.js +++ b/frappe/public/js/frappe/form/controls/datepicker_i18n.js @@ -218,3 +218,44 @@ import "air-datepicker/dist/js/i18n/datepicker.zh.js"; firstDay: 1, }; })(jQuery); + +(function ($) { + $.fn.datepicker.language["bs"] = { + days: ["Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota"], + daysShort: ["Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub"], + daysMin: ["Ne", "Po", "Ut", "Sr", "Če", "Pe", "Su"], + months: [ + "Januar", + "Februar", + "Mart", + "April", + "Maj", + "Juni", + "Juli", + "August", + "Septembar", + "Oktobar", + "Novembar", + "Decembar", + ], + monthsShort: [ + "Jan", + "Feb", + "Mar", + "Apr", + "Maj", + "Jun", + "Jul", + "Aug", + "Sep", + "Okt", + "Nov", + "Dec", + ], + today: "Danas", + clear: "Resetiraj", + dateFormat: "dd/mm/yyyy", + timeFormat: "hh:ii", + firstDay: 1, + }; +})(jQuery); \ No newline at end of file From e98d41013601601e5c99ade37e81f528fc13b00a Mon Sep 17 00:00:00 2001 From: mahsem <137205921+mahsem@users.noreply.github.com> Date: Wed, 15 Jan 2025 14:59:43 +0100 Subject: [PATCH 2/2] feat: datepicker_croatian --- .../frappe/form/controls/datepicker_i18n.js | 43 ++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/frappe/public/js/frappe/form/controls/datepicker_i18n.js b/frappe/public/js/frappe/form/controls/datepicker_i18n.js index 192c5eb2bb..6a61f0eed7 100644 --- a/frappe/public/js/frappe/form/controls/datepicker_i18n.js +++ b/frappe/public/js/frappe/form/controls/datepicker_i18n.js @@ -258,4 +258,45 @@ import "air-datepicker/dist/js/i18n/datepicker.zh.js"; timeFormat: "hh:ii", firstDay: 1, }; -})(jQuery); \ No newline at end of file +})(jQuery); + +(function ($) { + $.fn.datepicker.language["hr"] = { + days: ["Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota"], + daysShort: ["Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub"], + daysMin: ["Ne", "Po", "Ut", "Sr", "Če", "Pe", "Su"], + months: [ + "Sječanj", + "Veljača", + "Ožujak", + "Travanj", + "Svibanj", + "Lipanj", + "Srpanj", + "Kolovoz", + "Rujan", + "Listopad", + "Studeni", + "Prosinac", + ], + monthsShort: [ + "Sje", + "Velj", + "Ožu", + "Tra", + "Svi", + "Lip", + "Srp", + "Kol", + "Ruj", + "Lis", + "Stu", + "Pro", + ], + today: "Danas", + clear: "Resetiraj", + dateFormat: "dd/mm/yyyy", + timeFormat: "hh:ii", + firstDay: 1, + }; +})(jQuery);