diff options
author | Keith Wood <kbwood.au@gmail.com> | 2008-08-21 09:13:45 +0000 |
---|---|---|
committer | Keith Wood <kbwood.au@gmail.com> | 2008-08-21 09:13:45 +0000 |
commit | 5a0431afbc0cf2027df466f9e1405d69d5a092cc (patch) | |
tree | 3c933b904aed9f02851540bf5e20e0fd7dbd274a | |
parent | 187c97bef0a92f8840abc2f04952d8786eef0705 (diff) | |
download | jquery-ui-5a0431afbc0cf2027df466f9e1405d69d5a092cc.tar.gz jquery-ui-5a0431afbc0cf2027df466f9e1405d69d5a092cc.zip |
Fixed 3224 Croatian localisation
-rw-r--r-- | demos/functional/index.html | 5 | ||||
-rw-r--r-- | demos/functional/templates/ui.datepicker.html | 1 | ||||
-rw-r--r-- | ui/i18n/ui.datepicker-hr.js | 25 |
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çais (French)', source: '$("#i18n").datepicker($.extend({}, $.datepicker.regional["fr"], {showStatus: true, showOn: "both", buttonImage: "templates/images/calendar.gif", buttonImageOnly: true}));$("#contrib").html("Stéphane Nahmani");' }, { desc: '한국어 (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: 'Հայերեն (Armenian)', source: '$("#i18n").datepicker($.extend({}, $.datepicker.regional["hy"], {showStatus: true, showOn: "both", buttonImage: "templates/images/calendar.gif", buttonImageOnly: true}));$("#contrib").html("Levon Zakaryan");' }, { desc: 'Í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: '<', prevStatus: 'Prikaži prethodni mjesec',
+ prevBigText: '<<', prevBigStatus: '',
+ nextText: '>', nextStatus: 'Prikaži slijedeći mjesec',
+ nextBigText: '>>', 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 |