From a8b75a5b9ed2d946fe7bb9f584ccbfb9668c0a95 Mon Sep 17 00:00:00 2001 From: Michel Weimerskirch Date: Thu, 17 Nov 2011 11:52:32 -0600 Subject: [PATCH] Datepicker: Added Luxembourgish translation. Fixes #7891 Datepicker: Add Luxembourgish Translation (cherry picked from commit 326bfec626b3039e2d51f53d2d6d2d48cdd78207) --- demos/datepicker/localization.html | 2 ++ demos/index.html | 1 + ui/i18n/jquery.ui.datepicker-lb.js | 23 +++++++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 ui/i18n/jquery.ui.datepicker-lb.js diff --git a/demos/datepicker/localization.html b/demos/datepicker/localization.html index d63859663..36cf4cfa7 100644 --- a/demos/datepicker/localization.html +++ b/demos/datepicker/localization.html @@ -42,6 +42,7 @@ + @@ -127,6 +128,7 @@ + diff --git a/demos/index.html b/demos/index.html index 41e2e7cd5..734addbdb 100644 --- a/demos/index.html +++ b/demos/index.html @@ -71,6 +71,7 @@ + diff --git a/ui/i18n/jquery.ui.datepicker-lb.js b/ui/i18n/jquery.ui.datepicker-lb.js new file mode 100644 index 000000000..87c79d594 --- /dev/null +++ b/ui/i18n/jquery.ui.datepicker-lb.js @@ -0,0 +1,23 @@ +/* Luxembourgish initialisation for the jQuery UI date picker plugin. */ +/* Written by Michel Weimerskirch */ +jQuery(function($){ + $.datepicker.regional['lb'] = { + closeText: 'Fäerdeg', + prevText: 'Zréck', + nextText: 'Weider', + currentText: 'Haut', + monthNames: ['Januar','Februar','Mäerz','Abrëll','Mee','Juni', + 'Juli','August','September','Oktober','November','Dezember'], + monthNamesShort: ['Jan', 'Feb', 'Mäe', 'Abr', 'Mee', 'Jun', + 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + dayNames: ['Sonndeg', 'Méindeg', 'Dënschdeg', 'Mëttwoch', 'Donneschdeg', 'Freideg', 'Samschdeg'], + dayNamesShort: ['Son', 'Méi', 'Dën', 'Mët', 'Don', 'Fre', 'Sam'], + dayNamesMin: ['So','Mé','Dë','Më','Do','Fr','Sa'], + weekHeader: 'W', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['lb']); +}); -- 2.39.5