Skip to content

Commit

Permalink
Add Italian translation, thanks to Serge Margarita
Browse files Browse the repository at this point in the history
  • Loading branch information
fgelinas committed Nov 12, 2011
1 parent 67b94c4 commit 914096c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions i18n/i18n.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

<script src='jquery.ui.timepicker-de.js'></script>
<script src='jquery.ui.timepicker-fr.js'></script>
<script src='jquery.ui.timepicker-it.js'></script>
<script src='jquery.ui.timepicker-ja.js'></script>
<script src='jquery.ui.timepicker-pl.js'></script>
<script src='jquery.ui.timepicker-sl.js'></script>
Expand Down Expand Up @@ -46,6 +47,7 @@
<option>Select a localisation</option>
<option value='fr'>Fran&ccedil;ais</option>
<option value='de'>Deutsch</option>
<option value='id'>Italian</option>
<option value='pl'>Polish</option>
<option value='sl'>Slovenian</option>
<option value='ja'>Japanese</option>
Expand All @@ -69,6 +71,10 @@
<a href="jquery.ui.timepicker-fr.js">Fran&ccedil;ais (jquery.ui.timepicker-fr.js</a>
</li>

<li>
<a href="jquery.ui.timepicker-it.js">Italian (jquery.ui.timepicker-it.js)</a>
</li>

<li>
<a href="jquery.ui.timepicker-pl.js">Polish (jquery.ui.timepicker-pl.js)</a>
</li>
Expand Down
12 changes: 12 additions & 0 deletions i18n/jquery.ui.timepicker-it.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* Italian initialisation for the jQuery time picker plugin. */
/* Written by Serge Margarita ([email protected]) */
jQuery(function($){
$.timepicker.regional['it'] = {
hourText: 'Ore',
minuteText: 'Minuti',
amPmText: ['AM', 'PM'],
closeButtonText: 'Chiudi',
nowButtonText: 'Adesso',
deselectButtonText: 'Svuota' }
$.timepicker.setDefaults($.timepicker.regional['it']);
});
1 change: 1 addition & 0 deletions releases.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Release 0.2.9 - ????
Fix a bug where repeatedly clicking on hour cells made the timepicker very slow.
Added Italian translation, thanks to Serge Margarita.

Release 0.2.8 - November 5, 2011
Updated "defaultTime" to allow for Date object (github issue #26)
Expand Down

0 comments on commit 914096c

Please sign in to comment.