From fc8769abfb554b9ac38fefc3077675ff2fe22da9 Mon Sep 17 00:00:00 2001 From: Trent Date: Mon, 6 Jun 2011 18:41:59 -0400 Subject: [PATCH] Fix portability --- localization/jquery-ui-timepicker-cs.js | 28 +++++++++++++----------- localization/jquery-ui-timepicker-de.js | 28 +++++++++++++----------- localization/jquery-ui-timepicker-fr.js | 28 +++++++++++++----------- localization/jquery-ui-timepicker-hu.js | 28 +++++++++++++----------- localization/jquery-ui-timepicker-id.js | 29 +++++++++++++------------ localization/jquery-ui-timepicker-lt.js | 29 +++++++++++++------------ localization/jquery-ui-timepicker-nl.js | 28 +++++++++++++----------- localization/jquery-ui-timepicker-ru.js | 28 +++++++++++++----------- 8 files changed, 120 insertions(+), 106 deletions(-) diff --git a/localization/jquery-ui-timepicker-cs.js b/localization/jquery-ui-timepicker-cs.js index cc16586..55275c9 100644 --- a/localization/jquery-ui-timepicker-cs.js +++ b/localization/jquery-ui-timepicker-cs.js @@ -1,15 +1,17 @@ /* Czech translation for the jQuery Timepicker Addon */ /* Written by Ondřej Vodáček */ -$.timepicker.regional['cs'] = { - timeOnlyTitle: 'Vyberte čas', - timeText: 'Čas', - hourText: 'Hodiny', - minuteText: 'Minuty', - secondText: 'Vteřiny', - timezoneText: 'Časové pásmo', - currentText: 'Nyní', - closeText: 'Zavřít', - timeFormat: 'h:m', - ampm: false -}; -$.timepicker.setDefaults($.timepicker.regional['cs']); +(function($) { + $.timepicker.regional['cs'] = { + timeOnlyTitle: 'Vyberte čas', + timeText: 'Čas', + hourText: 'Hodiny', + minuteText: 'Minuty', + secondText: 'Vteřiny', + timezoneText: 'Časové pásmo', + currentText: 'Nyní', + closeText: 'Zavřít', + timeFormat: 'h:m', + ampm: false + }; + $.timepicker.setDefaults($.timepicker.regional['cs']); +})(jQuery); diff --git a/localization/jquery-ui-timepicker-de.js b/localization/jquery-ui-timepicker-de.js index 6bf7dea..b7dc534 100644 --- a/localization/jquery-ui-timepicker-de.js +++ b/localization/jquery-ui-timepicker-de.js @@ -1,15 +1,17 @@ /* German translation for the jQuery Timepicker Addon */ /* Written by Marvin */ -$.timepicker.regional['de'] = { - timeOnlyTitle: 'Zeit Wählen', - timeText: 'Zeit', - hourText: 'Stunde', - minuteText: 'Minute', - secondText: 'Sekunde', - timezoneText: 'Zeitzone', - currentText: 'Jetzt', - closeText: 'Fertig', - timeFormat: 'hh:mm tt', - ampm: false -}; -$.timepicker.setDefaults($.timepicker.regional['de']); +(function($) { + $.timepicker.regional['de'] = { + timeOnlyTitle: 'Zeit Wählen', + timeText: 'Zeit', + hourText: 'Stunde', + minuteText: 'Minute', + secondText: 'Sekunde', + timezoneText: 'Zeitzone', + currentText: 'Jetzt', + closeText: 'Fertig', + timeFormat: 'hh:mm tt', + ampm: false + }; + $.timepicker.setDefaults($.timepicker.regional['de']); +})(jQuery); diff --git a/localization/jquery-ui-timepicker-fr.js b/localization/jquery-ui-timepicker-fr.js index 83cc9b9..f99babf 100644 --- a/localization/jquery-ui-timepicker-fr.js +++ b/localization/jquery-ui-timepicker-fr.js @@ -1,15 +1,17 @@ /* Czech translation for the jQuery Timepicker Addon */ /* Written by Thomas Lété */ -$.timepicker.regional['fr'] = { - timeOnlyTitle: 'Choisir une heure', - timeText: 'Heure', - hourText: 'Heures', - minuteText: 'Minutes', - secondText: 'Secondes', - timezoneText: 'Fuseau horaire', - currentText: 'Maintenant', - closeText: 'Terminé' - timeFormat: 'h:m', - ampm: false -}; -$.timepicker.setDefaults($.timepicker.regional['fr']); +(function($) { + $.timepicker.regional['fr'] = { + timeOnlyTitle: 'Choisir une heure', + timeText: 'Heure', + hourText: 'Heures', + minuteText: 'Minutes', + secondText: 'Secondes', + timezoneText: 'Fuseau horaire', + currentText: 'Maintenant', + closeText: 'Terminé', + timeFormat: 'h:m', + ampm: false + }; + $.timepicker.setDefaults($.timepicker.regional['fr']); +})(jQuery); diff --git a/localization/jquery-ui-timepicker-hu.js b/localization/jquery-ui-timepicker-hu.js index 29e7a9f..39d98db 100644 --- a/localization/jquery-ui-timepicker-hu.js +++ b/localization/jquery-ui-timepicker-hu.js @@ -1,15 +1,17 @@ /* Hungarian translation for the jQuery Timepicker Addon */ /* Written by Vas Gábor */ -$.timepicker.regional['hu'] = { - currentText: 'Most', - closeText: 'Kész', - ampm: false, - timeFormat: 'hh:mm tt', - timeOnlyTitle: 'Válasszon időpontot', - timeText: 'Idő', - hourText: 'Óra', - minuteText: 'Perc', - secondText: 'Másodperc', - timezoneText: 'Időzóna' -}; -$.timepicker.setDefaults($.timepicker.regional['hu']); +(function($) { + $.timepicker.regional['hu'] = { + timeOnlyTitle: 'Válasszon időpontot', + timeText: 'Idő', + hourText: 'Óra', + minuteText: 'Perc', + secondText: 'Másodperc', + timezoneText: 'Időzóna', + currentText: 'Most', + closeText: 'Kész', + timeFormat: 'hh:mm tt', + ampm: false + }; + $.timepicker.setDefaults($.timepicker.regional['hu']); +})(jQuery); diff --git a/localization/jquery-ui-timepicker-id.js b/localization/jquery-ui-timepicker-id.js index 2a86d8f..f4b4f66 100644 --- a/localization/jquery-ui-timepicker-id.js +++ b/localization/jquery-ui-timepicker-id.js @@ -1,16 +1,17 @@ /* Indonesian translation for the jQuery Timepicker Addon */ /* Written by Nia */ -$.timepicker.regional['id'] = { - timeOnlyTitle: 'Pilih Waktu', - timeText: 'Waktu', - hourText: 'Pukul', - minuteText: 'Menit', - secondText: 'Detik', - timezoneText: 'Zona Waktu', - currentText: 'Sekarang', - closeText: 'OK', - timeFormat: 'hh:mm tt', - ampm: false -}; -$.timepicker.setDefaults($.timepicker.regional['id']); - +(function($) { + $.timepicker.regional['id'] = { + timeOnlyTitle: 'Pilih Waktu', + timeText: 'Waktu', + hourText: 'Pukul', + minuteText: 'Menit', + secondText: 'Detik', + timezoneText: 'Zona Waktu', + currentText: 'Sekarang', + closeText: 'OK', + timeFormat: 'hh:mm tt', + ampm: false + }; + $.timepicker.setDefaults($.timepicker.regional['id']); +})(jQuery); diff --git a/localization/jquery-ui-timepicker-lt.js b/localization/jquery-ui-timepicker-lt.js index dba507c..9d3e8f1 100644 --- a/localization/jquery-ui-timepicker-lt.js +++ b/localization/jquery-ui-timepicker-lt.js @@ -1,16 +1,17 @@ /* Lithuanian translation for the jQuery Timepicker Addon */ /* Written by Irmantas Šiupšinskas */ -$.timepicker.regional['lt'] = { - timeOnlyTitle: 'Pasirinkite laiką', - timeText: 'Laikas', - hourText: 'Valandos', - minuteText: 'Minutės', - secondText: 'Sekundės', - timezoneText: 'Laiko zona', - currentText: 'Dabar', - closeText: 'Uždaryti', - timeFormat: 'hh:mm', - ampm: false -}; -$.timepicker.setDefaults($.timepicker.regional['lt']); - +(function($) { + $.timepicker.regional['lt'] = { + timeOnlyTitle: 'Pasirinkite laiką', + timeText: 'Laikas', + hourText: 'Valandos', + minuteText: 'Minutės', + secondText: 'Sekundės', + timezoneText: 'Laiko zona', + currentText: 'Dabar', + closeText: 'Uždaryti', + timeFormat: 'hh:mm', + ampm: false + }; + $.timepicker.setDefaults($.timepicker.regional['lt']); +})(jQuery); diff --git a/localization/jquery-ui-timepicker-nl.js b/localization/jquery-ui-timepicker-nl.js index 4a71d1c..6d50225 100644 --- a/localization/jquery-ui-timepicker-nl.js +++ b/localization/jquery-ui-timepicker-nl.js @@ -1,15 +1,17 @@ /* Dutch translation for the jQuery Timepicker Addon */ /* Written by Martijn van der Lee */ -$.timepicker.regional['nl'] = { - timeOnlyTitle: 'Tijdstip', - timeText: 'Tijd', - hourText: 'Uur', - minuteText: 'Minuut', - secondText: 'Seconde', - timezoneText: 'Tijdzone', - currentText: 'Vandaag', - closeText: 'Sluiten', - timeFormat: 'hh:mm tt', - ampm: false -}; -$.timepicker.setDefaults($.timepicker.regional['nl']); +(function($) { + $.timepicker.regional['nl'] = { + timeOnlyTitle: 'Tijdstip', + timeText: 'Tijd', + hourText: 'Uur', + minuteText: 'Minuut', + secondText: 'Seconde', + timezoneText: 'Tijdzone', + currentText: 'Vandaag', + closeText: 'Sluiten', + timeFormat: 'hh:mm tt', + ampm: false + }; + $.timepicker.setDefaults($.timepicker.regional['nl']); +})(jQuery); diff --git a/localization/jquery-ui-timepicker-ru.js b/localization/jquery-ui-timepicker-ru.js index 54e3e0e..8081b25 100644 --- a/localization/jquery-ui-timepicker-ru.js +++ b/localization/jquery-ui-timepicker-ru.js @@ -1,15 +1,17 @@ /* Russian translation for the jQuery Timepicker Addon */ /* Written by Trent Richardson */ -$.timepicker.regional['ru'] = { - timeOnlyTitle: 'Выберите время', - timeText: 'Время', - hourText: 'Часы', - minuteText: 'Минуты', - secondText: 'Секунды', - timezoneText: 'Время зоны', - currentText: 'Теперь', - closeText: 'Закрыть', - timeFormat: 'hh:mm tt', - ampm: false -}; -$.timepicker.setDefaults($.timepicker.regional['ru']); +(function($) { + $.timepicker.regional['ru'] = { + timeOnlyTitle: 'Выберите время', + timeText: 'Время', + hourText: 'Часы', + minuteText: 'Минуты', + secondText: 'Секунды', + timezoneText: 'Время зоны', + currentText: 'Теперь', + closeText: 'Закрыть', + timeFormat: 'hh:mm tt', + ampm: false + }; + $.timepicker.setDefaults($.timepicker.regional['ru']); +})(jQuery);