Permalink
Browse files

Datepicker: Added galician localization. Fixes #6079 - Datepicker: Ad…

…d Galician localization.
  • Loading branch information...
1 parent ce08df3 commit f04a25f9bf24bcbfa6f9f79b45a6a97bc90ffd1d @yortx yortx committed with scottgonzalez Sep 20, 2010
Showing with 26 additions and 0 deletions.
  1. +2 −0 demos/datepicker/localization.html
  2. +1 −0 demos/index.html
  3. +23 −0 ui/i18n/jquery.ui.datepicker-gl.js
@@ -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>
@@ -103,6 +104,7 @@
<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>
View
@@ -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>
@@ -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']);
+});

0 comments on commit f04a25f

Please sign in to comment.