Skip to content
Permalink
Browse files

Fixed 3224 Croatian localisation

  • Loading branch information
Keith Wood
Keith Wood committed Aug 21, 2008
1 parent 187c97b commit 5a0431afbc0cf2027df466f9e1405d69d5a092cc
Showing with 30 additions and 1 deletion.
  1. +4 −1 demos/functional/index.html
  2. +1 −0 demos/functional/templates/ui.datepicker.html
  3. +25 −0 ui/i18n/ui.datepicker-hr.js
@@ -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['']);
@@ -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");' },
@@ -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']);
});

0 comments on commit 5a0431a

Please sign in to comment.
You can’t perform that action at this time.