aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Wood <kbwood.au@gmail.com>2009-01-15 11:25:53 +0000
committerKeith Wood <kbwood.au@gmail.com>2009-01-15 11:25:53 +0000
commit3ead714520d7da6cdbeb6639df34a32d855c75ca (patch)
tree78622c9b2f6d73fe390870d8e3024595c608d846
parent2b728dc730f436bbf43fa37debd83f530c803b0f (diff)
downloadjquery-ui-3ead714520d7da6cdbeb6639df34a32d855c75ca.tar.gz
jquery-ui-3ead714520d7da6cdbeb6639df34a32d855c75ca.zip
Fixed 3805. Greek localisation
-rw-r--r--demos/datepicker/localization.html4
-rw-r--r--ui/i18n/ui.datepicker-el.js19
2 files changed, 23 insertions, 0 deletions
diff --git a/demos/datepicker/localization.html b/demos/datepicker/localization.html
index 06fb99935..de7f82b19 100644
--- a/demos/datepicker/localization.html
+++ b/demos/datepicker/localization.html
@@ -12,6 +12,7 @@
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-cs.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-da.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-de.js"></script>
+ <script type="text/javascript" src="../../ui/i18n/ui.datepicker-el.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-eo.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-es.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-fa.js"></script>
@@ -28,6 +29,7 @@
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-ko.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-lt.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-lv.js"></script>
+ <script type="text/javascript" src="../../ui/i18n/ui.datepicker-ms.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-nl.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-no.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-pl.js"></script>
@@ -77,6 +79,7 @@
<option value="fi">Finnish (suomi)</option>
<option value="fr" selected="selected">French (Fran&ccedil;ais)</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>
<option value="hu">Hungarian (Magyar)</option>
<option value="is">Icelandic (&Otilde;slenska)</option>
@@ -86,6 +89,7 @@
<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="ms">Malaysian (Bahasa Malaysia)</option>
<option value="no">Norwegian (Norsk)</option>
<option value="pl">Polish (Polski)</option>
<option value="pt-BR">Portuguese/Brazilian (Portugu&ecirc;s)</option>
diff --git a/ui/i18n/ui.datepicker-el.js b/ui/i18n/ui.datepicker-el.js
new file mode 100644
index 000000000..792323e7b
--- /dev/null
+++ b/ui/i18n/ui.datepicker-el.js
@@ -0,0 +1,19 @@
+/* Greek (el) initialisation for the jQuery UI date picker plugin. */
+/* Written by Alex Cicovic (http://www.alexcicovic.com) */
+jQuery(function($){
+ $.datepicker.regional['el'] = {
+ closeText: 'Κλείσιμο',
+ prevText: 'Προηγούμενος',
+ nextText: 'Επόμενος',
+ currentText: 'Τρέχων Μήνας',
+ monthNames: ['Ιανουάριος','Φεβρουάριος','Μάρτιος','Απρίλιος','Μάιος','Ιούνιος',
+ 'Ιούλιος','Αύγουστος','Σεπτέμβριος','Οκτώβριος','Νοέμβριος','Δεκέμβριος'],
+ monthNamesShort: ['Ιαν','Φεβ','Μαρ','Απρ','Μαι','Ιουν',
+ 'Ιουλ','Αυγ','Σεπ','Οκτ','Νοε','Δεκ'],
+ dayNames: ['Κυριακή','Δευτέρα','Τρίτη','Τετάρτη','Πέμπτη','Παρασκευή','Σάββατο'],
+ dayNamesShort: ['Κυρ','Δευ','Τρι','Τετ','Πεμ','Παρ','Σαβ'],
+ dayNamesMin: ['Κυ','Δε','Τρ','Τε','Πε','Πα','Σα'],
+ dateFormat: 'dd/mm/yy', firstDay: 1,
+ isRTL: false};
+ $.datepicker.setDefaults($.datepicker.regional['el']);
+}); \ No newline at end of file