]> source.dussan.org Git - jquery-ui.git/commitdiff
Datepicker: Added galician localization. Fixes #6079 - Datepicker: Add Galician local...
authorJorge Barreiro <yortx.barry@gmail.com>
Mon, 20 Sep 2010 14:59:01 +0000 (10:59 -0400)
committerScott González <scott.gonzalez@gmail.com>
Mon, 20 Sep 2010 14:59:01 +0000 (10:59 -0400)
demos/datepicker/localization.html
demos/index.html
ui/i18n/jquery.ui.datepicker-gl.js [new file with mode: 0644]

index c2393fdea94477587a01248e2174a671599d22d8..9b09c9bb60cb35a83edc558d66505cf800a63d75 100644 (file)
@@ -28,6 +28,7 @@
        <script src="../../ui/i18n/jquery.ui.datepicker-fo.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-fr.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-fr-CH.js"></script>
+       <script src="../../ui/i18n/jquery.ui.datepicker-gl.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-he.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-hr.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-hu.js"></script>
                <option value="fi">Finnish (suomi)</option>
                <option value="fr" selected="selected">French (Fran&ccedil;ais)</option>
                <option value="fr-CH">French/Swiss (Fran&ccedil;ais de Suisse)</option>
+               <option value="gl">Galician</option>
                <option value="de">German (Deutsch)</option>
                <option value="el">Greek (&#917;&#955;&#955;&#951;&#957;&#953;&#954;&#940;)</option>
                <option value="he">Hebrew (&#8235;(&#1506;&#1489;&#1512;&#1497;&#1514;</option>
index 3297ba726a7d03c3064e3e8ab6b9164ebda02b7d..fc7e0915764f82eb8b96fe1e308032705ce66708 100644 (file)
@@ -58,6 +58,7 @@
        <script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-fo.js"></script>
        <script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-fr.js"></script>
        <script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-fr-CH.js"></script>
+       <script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-gl.js"></script>
        <script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-he.js"></script>
        <script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-hr.js"></script>
        <script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-hu.js"></script>
diff --git a/ui/i18n/jquery.ui.datepicker-gl.js b/ui/i18n/jquery.ui.datepicker-gl.js
new file mode 100644 (file)
index 0000000..278403e
--- /dev/null
@@ -0,0 +1,23 @@
+/* Galician localization for 'UI date picker' jQuery extension. */
+/* Translated by Jorge Barreiro <yortx.barry@gmail.com>. */
+jQuery(function($){
+       $.datepicker.regional['gl'] = {
+               closeText: 'Pechar',
+               prevText: '&#x3c;Ant',
+               nextText: 'Seg&#x3e;',
+               currentText: 'Hoxe',
+               monthNames: ['Xaneiro','Febreiro','Marzo','Abril','Maio','Xuño',
+               'Xullo','Agosto','Setembro','Outubro','Novembro','Decembro'],
+               monthNamesShort: ['Xan','Feb','Mar','Abr','Mai','Xuñ',
+               'Xul','Ago','Set','Out','Nov','Dec'],
+               dayNames: ['Domingo','Luns','Martes','M&eacute;rcores','Xoves','Venres','S&aacute;bado'],
+               dayNamesShort: ['Dom','Lun','Mar','M&eacute;r','Xov','Ven','S&aacute;b'],
+               dayNamesMin: ['Do','Lu','Ma','M&eacute;','Xo','Ve','S&aacute;'],
+               weekHeader: 'Sm',
+               dateFormat: 'dd/mm/yy',
+               firstDay: 1,
+               isRTL: false,
+               showMonthAfterYear: false,
+               yearSuffix: ''};
+       $.datepicker.setDefaults($.datepicker.regional['gl']);
+});
\ No newline at end of file