From f04a25f9bf24bcbfa6f9f79b45a6a97bc90ffd1d Mon Sep 17 00:00:00 2001 From: Jorge Barreiro Date: Mon, 20 Sep 2010 10:59:01 -0400 Subject: [PATCH] Datepicker: Added galician localization. Fixes #6079 - Datepicker: Add Galician localization. --- demos/datepicker/localization.html | 2 ++ demos/index.html | 1 + ui/i18n/jquery.ui.datepicker-gl.js | 23 +++++++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 ui/i18n/jquery.ui.datepicker-gl.js 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 @@ + @@ -103,6 +104,7 @@ + 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 @@ + 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 . */ +jQuery(function($){ + $.datepicker.regional['gl'] = { + closeText: 'Pechar', + prevText: '<Ant', + nextText: 'Seg>', + 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ércores','Xoves','Venres','Sábado'], + dayNamesShort: ['Dom','Lun','Mar','Mér','Xov','Ven','Sáb'], + dayNamesMin: ['Do','Lu','Ma','Mé','Xo','Ve','Sá'], + weekHeader: 'Sm', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['gl']); +}); \ No newline at end of file -- 2.39.5