aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Wood <kbwood.au@gmail.com>2008-08-21 09:13:45 +0000
committerKeith Wood <kbwood.au@gmail.com>2008-08-21 09:13:45 +0000
commit5a0431afbc0cf2027df466f9e1405d69d5a092cc (patch)
tree3c933b904aed9f02851540bf5e20e0fd7dbd274a
parent187c97bef0a92f8840abc2f04952d8786eef0705 (diff)
downloadjquery-ui-5a0431afbc0cf2027df466f9e1405d69d5a092cc.tar.gz
jquery-ui-5a0431afbc0cf2027df466f9e1405d69d5a092cc.zip
Fixed 3224 Croatian localisation
-rw-r--r--demos/functional/index.html5
-rw-r--r--demos/functional/templates/ui.datepicker.html1
-rw-r--r--ui/i18n/ui.datepicker-hr.js25
3 files changed, 30 insertions, 1 deletions
diff --git a/demos/functional/index.html b/demos/functional/index.html
index 51e02caca..25ccb6980 100644
--- a/demos/functional/index.html
+++ b/demos/functional/index.html
@@ -37,6 +37,7 @@
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-fi.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-fr.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-he.js"></script>
+ <script type="text/javascript" src="../../ui/i18n/ui.datepicker-hr.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-hu.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-hy.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-id.js"></script>
@@ -90,10 +91,12 @@
<script src="js/beautify.js" type="text/javascript"></script>
<script src="js/functional.demo.js" type="text/javascript"></script>
- <script src="js/jquery.chili.pack.js" type="text/javascript"></script>
+ <script src="js/jquery.chili.pack.js" type="text/javascript"></script>
<script src="js/chili-recipes.js" type="text/javascript"></script>
+ <script src="js/jquery.mousewheel.js" type="text/javascript"></script>
+
<script type="text/javascript">
$(function() {
$.datepicker.setDefaults($.datepicker.regional['']);
diff --git a/demos/functional/templates/ui.datepicker.html b/demos/functional/templates/ui.datepicker.html
index 26eccf3cf..a8c822534 100644
--- a/demos/functional/templates/ui.datepicker.html
+++ b/demos/functional/templates/ui.datepicker.html
@@ -332,6 +332,7 @@
{ desc: 'Esperanto', source: '$("#i18n").datepicker($.extend({}, $.datepicker.regional["eo"], {showStatus: true, showOn: "both", buttonImage: "templates/images/calendar.gif", buttonImageOnly: true}));$("#contrib").html("Olivier M.");' },
{ desc: 'Fran&ccedil;ais (French)', source: '$("#i18n").datepicker($.extend({}, $.datepicker.regional["fr"], {showStatus: true, showOn: "both", buttonImage: "templates/images/calendar.gif", buttonImageOnly: true}));$("#contrib").html("St&eacute;phane Nahmani");' },
{ desc: '&#54620;&#44397;&#50612; (Korean)', source: '$("#i18n").datepicker($.extend({}, $.datepicker.regional["ko"], {showStatus: true, showOn: "both", buttonImage: "templates/images/calendar.gif", buttonImageOnly: true}));$("#contrib").html("DaeKwon Kang");' },
+ { desc: 'Hrvatski jezik (Croatian)', source: '$("#i18n").datepicker($.extend({}, $.datepicker.regional["hr"], {showStatus: true, showOn: "both", buttonImage: "templates/images/calendar.gif", buttonImageOnly: true}));$("#contrib").html("Vjekoslav Nesek");' },
{ desc: '&#1344;&#1377;&#1397;&#1381;&#1408;&#1381;&#1398; (Armenian)', source: '$("#i18n").datepicker($.extend({}, $.datepicker.regional["hy"], {showStatus: true, showOn: "both", buttonImage: "templates/images/calendar.gif", buttonImageOnly: true}));$("#contrib").html("Levon Zakaryan");' },
{ desc: '&Iacute;slenska (Icelandic)', source: '$("#i18n").datepicker($.extend({}, $.datepicker.regional["is"], {showStatus: true, showOn: "both", buttonImage: "templates/images/calendar.gif", buttonImageOnly: true}));$("#contrib").html("Haukur H. Thorsson");' },
{ desc: 'Italiano (Italian)', source: '$("#i18n").datepicker($.extend({}, $.datepicker.regional["it"], {showStatus: true, showOn: "both", buttonImage: "templates/images/calendar.gif", buttonImageOnly: true}));$("#contrib").html("Apaella");' },
diff --git a/ui/i18n/ui.datepicker-hr.js b/ui/i18n/ui.datepicker-hr.js
new file mode 100644
index 000000000..be438acfb
--- /dev/null
+++ b/ui/i18n/ui.datepicker-hr.js
@@ -0,0 +1,25 @@
+/* Croatian i18n for the jQuery UI date picker plugin. */
+/* Written by Vjekoslav Nesek. */
+jQuery(function($){
+ $.datepicker.regional['hr'] = {
+ clearText: 'izbriši', clearStatus: 'Izbriši trenutni datum',
+ closeText: 'Zatvori', closeStatus: 'Zatvori kalendar',
+ prevText: '&#x3c;', prevStatus: 'Prikaži prethodni mjesec',
+ prevBigText: '&#x3c;&#x3c;', prevBigStatus: '',
+ nextText: '&#x3e;', nextStatus: 'Prikaži slijedeći mjesec',
+ nextBigText: '&#x3e;&#x3e;', nextBigStatus: '',
+ currentText: 'Danas', currentStatus: 'Današnji datum',
+ monthNames: ['Siječanj','Veljača','Ožujak','Travanj','Svibanj','Lipani',
+ 'Srpanj','Kolovoz','Rujan','Listopad','Studeni','Prosinac'],
+ monthNamesShort: ['Sij','Velj','Ožu','Tra','Svi','Lip',
+ 'Srp','Kol','Ruj','Lis','Stu','Pro'],
+ monthStatus: 'Prikaži mjesece', yearStatus: 'Prikaži godine',
+ weekHeader: 'Tje', weekStatus: 'Tjedan',
+ dayNames: ['Nedjalja','Ponedjeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'],
+ dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'],
+ dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
+ dayStatus: 'Odaber DD za prvi dan tjedna', dateStatus: '\'Datum\' D, M d',
+ dateFormat: 'dd.mm.yy.', firstDay: 1,
+ initStatus: 'Odaberi datum', isRTL: false};
+ $.datepicker.setDefaults($.datepicker.regional['hr']);
+}); \ No newline at end of file