]> source.dussan.org Git - jquery-ui.git/commitdiff
Datepicker: Added Luxembourgish translation. Fixes #7891 Datepicker: Add Luxembourgis...
authorMichel Weimerskirch <michel@weimerskirch.net>
Thu, 17 Nov 2011 17:52:32 +0000 (11:52 -0600)
committerScott González <scott.gonzalez@gmail.com>
Sat, 19 Nov 2011 15:25:10 +0000 (09:25 -0600)
(cherry picked from commit 326bfec626b3039e2d51f53d2d6d2d48cdd78207)

demos/datepicker/localization.html
demos/index.html
ui/i18n/jquery.ui.datepicker-lb.js [new file with mode: 0644]

index d63859663e83d073f4721d6451f189aafd79edaf..36cf4cfa713096ea52b6f643565c98e35b27d186 100644 (file)
@@ -42,6 +42,7 @@
        <script src="../../ui/i18n/jquery.ui.datepicker-ja.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-kk.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-ko.js"></script>
+       <script src="../../ui/i18n/jquery.ui.datepicker-lb.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-lt.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-lv.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-ml.js"></script>
                <option value="ko">Korean (&#54620;&#44397;&#50612;)</option>
                <option value="lv">Latvian (Latvie&ouml;u Valoda)</option>
                <option value="lt">Lithuanian (lietuviu kalba)</option>
+               <option value="lb">Luxembourgish</option>
                <option value="ml">Malayalam</option>
                <option value="ms">Malaysian (Bahasa Malaysia)</option>
                <option value="no">Norwegian (Norsk)</option>
index 41e2e7cd58533fa082c752c51faa4cdb2dbdb81a..734addbdb5fe2c1192b3615851a78fac762503c7 100644 (file)
@@ -71,6 +71,7 @@
        <script src="../ui/i18n/jquery.ui.datepicker-ja.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-kk.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-ko.js"></script>
+       <script src="../ui/i18n/jquery.ui.datepicker-lb.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-lt.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-lv.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-ml.js"></script>
diff --git a/ui/i18n/jquery.ui.datepicker-lb.js b/ui/i18n/jquery.ui.datepicker-lb.js
new file mode 100644 (file)
index 0000000..87c79d5
--- /dev/null
@@ -0,0 +1,23 @@
+/* Luxembourgish initialisation for the jQuery UI date picker plugin. */
+/* Written by Michel Weimerskirch <michel@weimerskirch.net> */
+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']);
+});