Permalink
Browse files

Add Hungarian localisation, thanks Bálint Dávid Tarcsa

  • Loading branch information...
1 parent d277c4b commit cf74f05a069584a31549ef8a5cf35b214a264c2b @fgelinas committed Jan 30, 2013
Showing with 19 additions and 0 deletions.
  1. +6 −0 i18n/i18n.html
  2. +12 −0 i18n/jquery.ui.timepicker-hu.js
  3. +1 −0 index.html
View
@@ -26,6 +26,7 @@
<script src='jquery.ui.timepicker-es.js'></script>
<script src='jquery.ui.timepicker-fr.js'></script>
<script src='jquery.ui.timepicker-hr.js'></script>
+ <script src='jquery.ui.timepicker-hu.js'></script>
<script src='jquery.ui.timepicker-it.js'></script>
<script src='jquery.ui.timepicker-ja.js'></script>
<script src='jquery.ui.timepicker-mk.js'></script>
@@ -71,6 +72,7 @@
<option value='de'>German (Deutsch)</option>
<option value='nl'>Dutch (Nederlands)</option>
<option value='fr'>Fran&ccedil;ais</option>
+ <option value='hu'>Hungarian</option>
<option value='it'>Italian</option>
<option value='ja'>Japanese</option>
<option value='pl'>Macedonian</option>
@@ -112,6 +114,10 @@
<a href="jquery.ui.timepicker-fr.js">Fran&ccedil;ais (jquery.ui.timepicker-fr.js)</a>
</li>
+ <li>
+ <a href="jquery.ui.timepicker-hu.js">Hungarian (jquery.ui.timepicker-hu.js)</a>
+ </li>
+
<li>
<a href="jquery.ui.timepicker-it.js">Italian (jquery.ui.timepicker-it.js)</a>
</li>
@@ -0,0 +1,12 @@
+/* Hungarian initialisation for the timepicker plugin */
+/* Written by Bálint Dávid Tarcsa. */
+jQuery(function($){
+ $.timepicker.regional['hu'] = {
+ hourText: 'Óra',
+ minuteText: 'Perc',
+ amPmText: ['De.', 'Du.'] ,
+ closeButtonText: 'Kész',
+ nowButtonText: 'Most',
+ deselectButtonText: 'Törlés' }
+ $.timepicker.setDefaults($.timepicker.regional['hu']);
+});
View
@@ -909,6 +909,7 @@ <h2>Releases :</h2>
<dt>0.3.3 - ????</dt>
<dd>Better zIndex detection - Thanks Mark Larter <a href="https://github.com/fgelinas/timepicker/issues/62">ref #62</a></dd>
+ <dd>Added Hungarian localisation - Thanks Bálint Dávid Tarcsa.</dd>
<dt>0.3.2 - 25 January 2013</dt>
<dd>Updated to jQuery 1.9.0 and UI 1.10.0. Removed deprecated IE6 hacks.</dd>

0 comments on commit cf74f05

Please sign in to comment.