aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorge Barreiro <yortx.barry@gmail.com>2010-09-20 10:59:01 -0400
committerScott González <scott.gonzalez@gmail.com>2010-09-20 10:59:01 -0400
commitf04a25f9bf24bcbfa6f9f79b45a6a97bc90ffd1d (patch)
treef302c8e1e7a76df97d06235a9b674d9b1e9cf4a8
parentce08df3bdc8f2806062f7a393975656f31cda035 (diff)
downloadjquery-ui-f04a25f9bf24bcbfa6f9f79b45a6a97bc90ffd1d.tar.gz
jquery-ui-f04a25f9bf24bcbfa6f9f79b45a6a97bc90ffd1d.zip
Datepicker: Added galician localization. Fixes #6079 - Datepicker: Add Galician localization.
-rw-r--r--demos/datepicker/localization.html2
-rw-r--r--demos/index.html1
-rw-r--r--ui/i18n/jquery.ui.datepicker-gl.js23
3 files changed, 26 insertions, 0 deletions
diff --git a/demos/datepicker/localization.html b/demos/datepicker/localization.html
index c2393fdea..9b09c9bb6 100644
--- a/demos/datepicker/localization.html
+++ b/demos/datepicker/localization.html
@@ -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>
diff --git a/demos/index.html b/demos/index.html
index 3297ba726..fc7e09157 100644
--- a/demos/index.html
+++ b/demos/index.html
@@ -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
index 000000000..278403e8f
--- /dev/null
+++ b/ui/i18n/jquery.ui.datepicker-gl.js
@@ -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