From ec195fc36cdce350bc35947864bb7dc759cae48d Mon Sep 17 00:00:00 2001 From: rbrennan Date: Mon, 16 Jan 2023 17:22:50 +0000 Subject: [PATCH 1/2] Add Irish Locale to datepicker --- js/locales/bootstrap-datepicker.ga.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 js/locales/bootstrap-datepicker.ga.js diff --git a/js/locales/bootstrap-datepicker.ga.js b/js/locales/bootstrap-datepicker.ga.js new file mode 100644 index 000000000..35793b647 --- /dev/null +++ b/js/locales/bootstrap-datepicker.ga.js @@ -0,0 +1,18 @@ +/** + * Irish translation for bootstrap-datepicker + * Ronan Brennan + */ +;(function($){ +$.fn.datepicker.dates['ga'] = { + days: ["Dé Domhnaigh", "Dé Luain", "Dé Máirt", "Dé Céadaoin", "Déardaoin", "Dé hAoine", "Dé Sathairn"], + daysShort: ["Dom", "Lua", "Mái", "Céa", "Déa", "hAo", "Sat"], + daysMin: ["Do", "Lu", "Má", "Cé", "Dé", "hA", "Sa"], + months: ["Eanáir", "Feabhra", "Márta", "Aibreán", "Bealtaine", "Meitheamh", "Iúil", "Lúnasa", "Meán Fómhair", "Deireadh Fómhair", "Samhain", "Nollaig"], + monthsShort: ["Jan", "Fea", "Már", "Aib", "Bea", "Mei", "Iúi", "Lún", "Meá", "Dei", "Sam", "Nol"], + today: "inniu", + clear: "Scrios é", + format: "dd/MM/yyyy", + titleFormat: "MM yyyy", + weekStart: 0 +}; +}(jQuery)); From a84c9b0e6a2cfe4ca40f520038a96487b75d3ec0 Mon Sep 17 00:00:00 2001 From: Ronan Brennan <84009560+Brennanro4-dot@users.noreply.github.com> Date: Thu, 19 Jan 2023 09:09:36 +0000 Subject: [PATCH 2/2] Update bootstrap-datepicker.ga.js --- js/locales/bootstrap-datepicker.ga.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/locales/bootstrap-datepicker.ga.js b/js/locales/bootstrap-datepicker.ga.js index 35793b647..91568fe0b 100644 --- a/js/locales/bootstrap-datepicker.ga.js +++ b/js/locales/bootstrap-datepicker.ga.js @@ -8,7 +8,7 @@ $.fn.datepicker.dates['ga'] = { daysShort: ["Dom", "Lua", "Mái", "Céa", "Déa", "hAo", "Sat"], daysMin: ["Do", "Lu", "Má", "Cé", "Dé", "hA", "Sa"], months: ["Eanáir", "Feabhra", "Márta", "Aibreán", "Bealtaine", "Meitheamh", "Iúil", "Lúnasa", "Meán Fómhair", "Deireadh Fómhair", "Samhain", "Nollaig"], - monthsShort: ["Jan", "Fea", "Már", "Aib", "Bea", "Mei", "Iúi", "Lún", "Meá", "Dei", "Sam", "Nol"], + monthsShort: ["Ean", "Fea", "Már", "Aib", "Bea", "Mei", "Iúi", "Lún", "Meá", "Dei", "Sam", "Nol"], today: "inniu", clear: "Scrios é", format: "dd/MM/yyyy",