Skip to content

Commit

Permalink
Update jQuery UI Time Picker to 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasReschke committed Oct 12, 2012
1 parent 9849d36 commit 70bfbf7
Show file tree
Hide file tree
Showing 53 changed files with 317 additions and 45 deletions.
Empty file modified timepicker/GPL-LICENSE.txt
100644 → 100755
Empty file.
Empty file modified timepicker/MIT-LICENSE.txt
100644 → 100755
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified timepicker/css/include/images/ui-bg_flat_10_000000_40x100.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified timepicker/css/include/images/ui-bg_glass_100_f6f6f6_1x400.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified timepicker/css/include/images/ui-bg_glass_100_fdf5ce_1x400.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified timepicker/css/include/images/ui-bg_glass_65_ffffff_1x400.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified timepicker/css/include/images/ui-icons_222222_256x240.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified timepicker/css/include/images/ui-icons_228ef1_256x240.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified timepicker/css/include/images/ui-icons_ef8c08_256x240.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified timepicker/css/include/images/ui-icons_ffd27a_256x240.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified timepicker/css/include/images/ui-icons_ffffff_256x240.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified timepicker/css/include/jquery-1.5.1.min.js
100644 → 100755
Empty file.
Empty file modified timepicker/css/include/jquery-ui-1.8.14.custom.css
100644 → 100755
Empty file.
Empty file modified timepicker/css/include/jquery.ui.core.min.js
100644 → 100755
Empty file.
Empty file modified timepicker/css/include/jquery.ui.position.min.js
100644 → 100755
Empty file.
Empty file modified timepicker/css/include/jquery.ui.tabs.min.js
100644 → 100755
Empty file.
Empty file modified timepicker/css/include/jquery.ui.widget.min.js
100644 → 100755
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion timepicker/css/jquery.ui.timepicker.css
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

.ui-timepicker-inline { display: inline; }

#ui-timepicker-div { padding: 0.2em }
#ui-timepicker-div { padding: 0.2em; background-color: #fff; }
.ui-timepicker-table { display: inline-table; width: 0; }
.ui-timepicker-table table { margin:0.15em 0 0 0; border-collapse: collapse; }

Expand Down
98 changes: 86 additions & 12 deletions timepicker/js/i18n/i18n.html
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Around the world, around the world -->
<!-- Around the world, around the world -->
<!-- Around the world, around the world -->
<!-- Around the world, around the world -->

<meta charset="utf-8">
<title>Internationalisation page for the jquery ui timepicker</title>

Expand All @@ -14,10 +19,20 @@
<style>
#timepicker { font-size: 10px }
</style>

<script src='jquery.ui.timepicker-cs.js'></script>
<script src='jquery.ui.timepicker-de.js'></script>
<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-it.js'></script>
<script src='jquery.ui.timepicker-ja.js'></script>
<script src='jquery.ui.timepicker-nl.js'></script>
<script src='jquery.ui.timepicker-pl.js'></script>
<script src='jquery.ui.timepicker-pt-BR.js'></script>
<script src='jquery.ui.timepicker-sl.js'></script>
<script src='jquery.ui.timepicker-sv.js'></script>
<script src='jquery.ui.timepicker-tr.js'></script>
</head>
<body>

Expand All @@ -32,18 +47,35 @@
showDeselectButton: true
});

$('#locale').change(function() {
$('#timepicker').timepicker( "option",
$.timepicker.regional[ $( this ).val() ] );
});
$('#locale').change(updateLocale).keyup(updateLocale);

});

function updateLocale()
{
$('#timepicker').timepicker( "option",
$.timepicker.regional[ $( '#locale' ).val() ] );
}

</script>

Select a localisation :
<select id='locale'>
<option value='fr'>Fran&ccedil;ais</option>
<option value='de'>Deutsch</option>
<option>Select a localisation</option>

<option value='hr'>Croatian/Bosnian</option>
<option value='cs'>Czech</option>
<option value='de'>German (Deutsch)</option>
<option value='nl'>Dutch (Nederlands)</option>
<option value='fr'>Fran&ccedil;ais</option>
<option value='it'>Italian</option>
<option value='ja'>Japanese</option>
<option value='pl'>Polish</option>
<option value="pt-BR">Portuguese/Brazilian</option>
<option value='sl'>Slovenian</option>
<option value='es'>Spanish</option>
<option value='sv'>Swedish</option>
<option value='tr'>Turkish</option>
</select>

<br>
Expand All @@ -56,18 +88,60 @@

List of localisations :
<ul>

<li>
<a href="jquery.ui.timepicker-de.js">Deutsch (jquery.ui.timepicker-de.js</a>
<a href="jquery.ui.timepicker-hr.js">Croatian/Bosnian (jquery.ui.timepicker.hr.js)</a>
</li>


<li>
<a href="jquery.ui.timepicker-cs.js">Czech (jquery.ui.timepicker-cs.js</a>
</li>

<li>
<a href="jquery.ui.timepicker-de.js">German (Deutsch) (jquery.ui.timepicker-de.js)</a>
</li>

<li>
<a href="jquery.ui.timepicker-nl.js">Dutch (Nederlands) (jquery.ui.timepicker-nl.js)</a>
</li>

<li>
<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-ja.js">Japanese (jquery.ui.timepicker-ja.js)</a>
</li>

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

<li>
<a href="jquery.ui.timepicker-pt-BR.js">Portuguese/Brazilian (jquery.ui.timepicker-pt-BR.js)</a>
</li>

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

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

<li>
<a href="jquery.ui.timepicker-fr.js">Fran&ccedil;ais (jquery.ui.timepicker-fr.js</a>
<a href="jquery.ui.timepicker-es.js">Spanish (jquery.ui.timepicker-es.js)</a>
</li>

<li>
<a href="jquery.ui.timepicker-ja.js">Japanese (jquery.ui.timepicker-ja.js</a>
<a href="jquery.ui.timepicker-sv.js">Turkish (jquery.ui.timepicker-tr.js)</a>
</li>

</ul>

</body>
</body>
</html>
12 changes: 12 additions & 0 deletions timepicker/js/i18n/jquery.ui.timepicker-cs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* Czech initialisation for the timepicker plugin */
/* Written by David Spohr (spohr.david at gmail). */
jQuery(function($){
$.timepicker.regional['cs'] = {
hourText: 'Hodiny',
minuteText: 'Minuty',
amPmText: ['AM', 'PM'] ,
closeButtonText: 'Zavřít',
nowButtonText: 'Nyní',
deselectButtonText: 'Odoznačit' }
$.timepicker.setDefaults($.timepicker.regional['cs']);
});
11 changes: 7 additions & 4 deletions timepicker/js/i18n/jquery.ui.timepicker-de.js
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
/* Deutsch initialisation for the timepicker plugin */
/* Written by Bernd Plagge ([email protected]). */
/* German initialisation for the timepicker plugin */
/* Written by Lowie Hulzinga. */
jQuery(function($){
$.timepicker.regional['de'] = {
hourText: 'Stunde',
minuteText: 'Minuten',
amPmText: ['AM', 'PM'] }
amPmText: ['AM', 'PM'] ,
closeButtonText: 'Beenden',
nowButtonText: 'Aktuelle Zeit',
deselectButtonText: 'Wischen' }
$.timepicker.setDefaults($.timepicker.regional['de']);
});
});
12 changes: 12 additions & 0 deletions timepicker/js/i18n/jquery.ui.timepicker-es.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* Spanish initialisation for the jQuery time picker plugin. */
/* Writen by Jandro González ([email protected]) */
jQuery(function($){
$.timepicker.regional['es'] = {
hourText: 'Hora',
minuteText: 'Minuto',
amPmText: ['AM', 'PM'],
closeButtonText: 'Aceptar',
nowButtonText: 'Ahora',
deselectButtonText: 'Deseleccionar' }
$.timepicker.setDefaults($.timepicker.regional['es']);
});
Empty file modified timepicker/js/i18n/jquery.ui.timepicker-fr.js
100644 → 100755
Empty file.
13 changes: 13 additions & 0 deletions timepicker/js/i18n/jquery.ui.timepicker-hr.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/* Croatian/Bosnian initialisation for the timepicker plugin */
/* Written by Rene Brakus ([email protected]). */
jQuery(function($){
$.timepicker.regional['hr'] = {
hourText: 'Sat',
minuteText: 'Minuta',
amPmText: ['Prijepodne', 'Poslijepodne'],
closeButtonText: 'Zatvoriti',
nowButtonText: 'Sada',
deselectButtonText: 'Poništite'}

$.timepicker.setDefaults($.timepicker.regional['hr']);
});
12 changes: 12 additions & 0 deletions timepicker/js/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']);
});
5 changes: 4 additions & 1 deletion timepicker/js/i18n/jquery.ui.timepicker-ja.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ jQuery(function($){
$.timepicker.regional['ja'] = {
hourText: '時間',
minuteText: '分',
amPmText: ['午前', '午後'] }
amPmText: ['午前', '午後'],
closeButtonText: '閉じる',
nowButtonText: '現時',
deselectButtonText: '選択解除' }
$.timepicker.setDefaults($.timepicker.regional['ja']);
});
12 changes: 12 additions & 0 deletions timepicker/js/i18n/jquery.ui.timepicker-nl.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* Nederlands initialisation for the timepicker plugin */
/* Written by Lowie Hulzinga. */
jQuery(function($){
$.timepicker.regional['nl'] = {
hourText: 'Uren',
minuteText: 'Minuten',
amPmText: ['AM', 'PM'],
closeButtonText: 'Sluiten',
nowButtonText: 'Actuele tijd',
deselectButtonText: 'Wissen' }
$.timepicker.setDefaults($.timepicker.regional['nl']);
});
12 changes: 12 additions & 0 deletions timepicker/js/i18n/jquery.ui.timepicker-pl.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* Polish initialisation for the timepicker plugin */
/* Written by Mateusz Wadolkowski ([email protected]). */
jQuery(function($){
$.timepicker.regional['pl'] = {
hourText: 'Godziny',
minuteText: 'Minuty',
amPmText: ['', ''],
closeButtonText: 'Zamknij',
nowButtonText: 'Teraz',
deselectButtonText: 'Odznacz'}
$.timepicker.setDefaults($.timepicker.regional['pl']);
});
12 changes: 12 additions & 0 deletions timepicker/js/i18n/jquery.ui.timepicker-pt-BR.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* Brazilan initialisation for the timepicker plugin */
/* Written by Daniel Almeida ([email protected]). */
jQuery(function($){
$.timepicker.regional['pt-BR'] = {
hourText: 'Hora',
minuteText: 'Minuto',
amPmText: ['AM', 'PM'],
closeButtonText: 'Fechar',
nowButtonText: 'Agora',
deselectButtonText: 'Limpar' }
$.timepicker.setDefaults($.timepicker.regional['pt-BR']);
});
12 changes: 12 additions & 0 deletions timepicker/js/i18n/jquery.ui.timepicker-sl.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* Slovenian localization for the jQuery time picker plugin. */
/* Written by Blaž Maležič ([email protected]) */
jQuery(function($){
$.timepicker.regional['sl'] = {
hourText: 'Ure',
minuteText: 'Minute',
amPmText: ['AM', 'PM'],
closeButtonText: 'Zapri',
nowButtonText: 'Zdaj',
deselectButtonText: 'Pobriši' }
$.timepicker.setDefaults($.timepicker.regional['sl']);
});
12 changes: 12 additions & 0 deletions timepicker/js/i18n/jquery.ui.timepicker-sv.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* Swedish initialisation for the timepicker plugin */
/* Written by Björn Westlin ([email protected]). */
jQuery(function($){
$.timepicker.regional['sv'] = {
hourText: 'Timme',
minuteText: 'Minut',
amPmText: ['AM', 'PM'] ,
closeButtonText: 'Stäng',
nowButtonText: 'Nu',
deselectButtonText: 'Rensa' }
$.timepicker.setDefaults($.timepicker.regional['sv']);
});
12 changes: 12 additions & 0 deletions timepicker/js/i18n/jquery.ui.timepicker-tr.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* Turkish initialisation for the jQuery time picker plugin. */
/* Written by Mutlu Tevfik Koçak ([email protected]) */
jQuery(function($){
$.timepicker.regional['tr'] = {
hourText: 'Saat',
minuteText: 'Dakika',
amPmText: ['AM', 'PM'],
closeButtonText: 'Kapat',
nowButtonText: 'Şu anda',
deselectButtonText: 'Seçimi temizle' }
$.timepicker.setDefaults($.timepicker.regional['tr']);
});
Loading

0 comments on commit 70bfbf7

Please sign in to comment.