aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demos/datepicker/localization.html4
-rw-r--r--demos/index.html2
-rw-r--r--ui/i18n/jquery.ui.datepicker-af.js23
-rw-r--r--ui/i18n/jquery.ui.datepicker-en-GB.js23
4 files changed, 52 insertions, 0 deletions
diff --git a/demos/datepicker/localization.html b/demos/datepicker/localization.html
index 1e87c6ac0..13688400d 100644
--- a/demos/datepicker/localization.html
+++ b/demos/datepicker/localization.html
@@ -6,6 +6,7 @@
<script type="text/javascript" src="../../jquery-1.3.2.js"></script>
<script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="../../ui/jquery.ui.datepicker.js"></script>
+ <script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-af.js"></script>
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-ar.js"></script>
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-az.js"></script>
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-bg.js"></script>
@@ -14,6 +15,7 @@
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-da.js"></script>
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-de.js"></script>
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-el.js"></script>
+ <script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-en-GB.js"></script>
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-eo.js"></script>
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-es.js"></script>
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-et.js"></script>
@@ -69,6 +71,7 @@
<p>Date: <input type="text" id="datepicker"/>&nbsp;
<select id="locale">
+ <option value="af">Afrikaans</option>
<option value="sq">Albanian (Gjuha shqipe)</option>
<option value="ar">Arabic (&#8235;(&#1604;&#1593;&#1585;&#1576;&#1610;</option>
<option value="hy">Armenian (&#1344;&#1377;&#1397;&#1381;&#1408;&#1381;&#1398;)</option>
@@ -82,6 +85,7 @@
<option value="cs">Czech (Ce&ouml;tina)</option>
<option value="da">Danish (Dansk)</option>
<option value="nl">Dutch (Nederlands)</option>
+ <option value="en-GB">English/UK</option>
<option value="eo">Esperanto</option>
<option value="et">Estonian (eesti keel)</option>
<option value="fa">Farsi/Persian (&#8235;(&#1601;&#1575;&#1585;&#1587;&#1740;</option>
diff --git a/demos/index.html b/demos/index.html
index cb42ace36..6789f2af6 100644
--- a/demos/index.html
+++ b/demos/index.html
@@ -33,6 +33,7 @@
<script type="text/javascript" src="../ui/jquery.effects.shake.js"></script>
<script type="text/javascript" src="../ui/jquery.effects.slide.js"></script>
<script type="text/javascript" src="../ui/jquery.effects.transfer.js"></script>
+ <script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-af.js"></script>
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-ar.js"></script>
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-az.js"></script>
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-bg.js"></script>
@@ -41,6 +42,7 @@
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-da.js"></script>
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-de.js"></script>
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-el.js"></script>
+ <script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-en-GB.js"></script>
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-eo.js"></script>
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-es.js"></script>
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-et.js"></script>
diff --git a/ui/i18n/jquery.ui.datepicker-af.js b/ui/i18n/jquery.ui.datepicker-af.js
new file mode 100644
index 000000000..9aad2ab2d
--- /dev/null
+++ b/ui/i18n/jquery.ui.datepicker-af.js
@@ -0,0 +1,23 @@
+/* Afrikaans initialisation for the jQuery UI date picker plugin. */
+/* Written by Renier Pretorius. */
+jQuery(function($){
+ $.datepicker.regional['af'] = {
+ closeText: 'Selekteer',
+ prevText: 'Vorige',
+ nextText: 'Volgende',
+ currentText: 'Vandag',
+ monthNames: ['Januarie','Februarie','Maart','April','Mei','Junie',
+ 'Julie','Augustus','September','Oktober','November','Desember'],
+ monthNamesShort: ['Jan', 'Feb', 'Mrt', 'Apr', 'Mei', 'Jun',
+ 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Des'],
+ dayNames: ['Sondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrydag', 'Saterdag'],
+ dayNamesShort: ['Son', 'Maa', 'Din', 'Woe', 'Don', 'Vry', 'Sat'],
+ dayNamesMin: ['So','Ma','Di','Wo','Do','Vr','Sa'],
+ weekHeader: 'Wk',
+ dateFormat: 'dd/mm/yy',
+ firstDay: 1,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['af']);
+});
diff --git a/ui/i18n/jquery.ui.datepicker-en-GB.js b/ui/i18n/jquery.ui.datepicker-en-GB.js
new file mode 100644
index 000000000..bf909dd03
--- /dev/null
+++ b/ui/i18n/jquery.ui.datepicker-en-GB.js
@@ -0,0 +1,23 @@
+/* English/UK initialisation for the jQuery UI date picker plugin. */
+/* Written by Stuart. */
+jQuery(function($){
+ $.datepicker.regional['en-GB'] = {
+ closeText: 'Clear',
+ prevText: 'Prev',
+ nextText: 'Next',
+ currentText: 'Today',
+ monthNames: ['January','February','March','April','May','June',
+ 'July','August','September','October','November','December'],
+ monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
+ 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
+ dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
+ dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
+ dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'],
+ weekHeader: 'Wk',
+ dateFormat: 'dd/mm/yy',
+ firstDay: 1,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['en-GB']);
+});