From e2e476c1964a6e3edf781a59f50924fbd3ffd763 Mon Sep 17 00:00:00 2001 From: Jonas Pyfferoen Date: Fri, 16 May 2014 11:02:10 +0200 Subject: [PATCH] Remaining syntax + indentation Signed-off-by: Kevin Brown --- select2_locale_ar.js | 2 +- select2_locale_bg.js | 2 +- select2_locale_ca.js | 2 +- select2_locale_da.js | 2 +- select2_locale_de.js | 2 +- select2_locale_el.js | 2 +- select2_locale_en.js.template | 2 +- select2_locale_es.js | 2 +- select2_locale_et.js | 2 +- select2_locale_eu.js | 2 +- select2_locale_fa.js | 3 +-- select2_locale_fi.js | 3 +-- select2_locale_fr.js | 3 +-- select2_locale_gl.js | 3 +-- select2_locale_he.js | 3 +-- select2_locale_hr.js | 3 +-- select2_locale_hu.js | 6 +++--- select2_locale_id.js | 5 ++--- select2_locale_is.js | 5 ++--- select2_locale_it.js | 5 ++--- select2_locale_ja.js | 5 ++--- select2_locale_ka.js | 2 +- select2_locale_ko.js | 2 +- select2_locale_lt.js | 2 +- select2_locale_lv.js | 2 +- select2_locale_mk.js | 2 +- select2_locale_ms.js | 2 +- select2_locale_nl.js | 2 +- select2_locale_no.js | 2 +- select2_locale_pl.js | 2 +- select2_locale_pt-BR.js | 2 +- select2_locale_pt-PT.js | 2 +- select2_locale_ro.js | 2 +- select2_locale_rs.js | 2 +- select2_locale_ru.js | 2 +- select2_locale_sv.js | 2 +- select2_locale_th.js | 2 +- select2_locale_tr.js | 2 +- select2_locale_uk.js | 2 +- select2_locale_vi.js | 2 +- select2_locale_zh-CN.js | 2 +- select2_locale_zh-TW.js | 2 +- 42 files changed, 48 insertions(+), 58 deletions(-) diff --git a/select2_locale_ar.js b/select2_locale_ar.js index 2d32c879..f9fbaa16 100644 --- a/select2_locale_ar.js +++ b/select2_locale_ar.js @@ -15,5 +15,5 @@ formatSearching: function () { return "البحث…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['ar']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['ar']); })(jQuery); diff --git a/select2_locale_bg.js b/select2_locale_bg.js index bc069f65..3283d0ae 100644 --- a/select2_locale_bg.js +++ b/select2_locale_bg.js @@ -16,5 +16,5 @@ formatSearching: function () { return "Търсене…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['bg']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['bg']); })(jQuery); diff --git a/select2_locale_ca.js b/select2_locale_ca.js index b847207c..dbea39e9 100644 --- a/select2_locale_ca.js +++ b/select2_locale_ca.js @@ -15,5 +15,5 @@ formatSearching: function () { return "S'està cercant…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['ca']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['ca']); })(jQuery); diff --git a/select2_locale_da.js b/select2_locale_da.js index 0ffe57f2..c636a774 100644 --- a/select2_locale_da.js +++ b/select2_locale_da.js @@ -15,5 +15,5 @@ formatSearching: function () { return "Søger…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['fi']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['fi']); })(jQuery); diff --git a/select2_locale_de.js b/select2_locale_de.js index 472eb650..e2754172 100644 --- a/select2_locale_de.js +++ b/select2_locale_de.js @@ -14,5 +14,5 @@ formatMatches: function (matches) { return matches + " Ergebnis " + (matches > 1 ? "se" : "") + " verfügbar, zum Navigieren die Hoch-/Runter-Pfeiltasten verwenden."; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['de']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['de']); })(jQuery); \ No newline at end of file diff --git a/select2_locale_el.js b/select2_locale_el.js index 74d45561..d17459e1 100644 --- a/select2_locale_el.js +++ b/select2_locale_el.js @@ -15,5 +15,5 @@ formatSearching: function () { return "Αναζήτηση…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['el']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['el']); })(jQuery); \ No newline at end of file diff --git a/select2_locale_en.js.template b/select2_locale_en.js.template index 1979a202..f758b110 100644 --- a/select2_locale_en.js.template +++ b/select2_locale_en.js.template @@ -16,5 +16,5 @@ formatSearching: function () { return "Searching…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['en']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['en']); })(jQuery); diff --git a/select2_locale_es.js b/select2_locale_es.js index c1ac945e..b506fbcd 100644 --- a/select2_locale_es.js +++ b/select2_locale_es.js @@ -13,5 +13,5 @@ formatSearching: function () { return "Buscando…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['es']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['es']); })(jQuery); diff --git a/select2_locale_et.js b/select2_locale_et.js index 8e6582eb..4d69f55e 100644 --- a/select2_locale_et.js +++ b/select2_locale_et.js @@ -15,5 +15,5 @@ formatSearching: function () { return "Otsin.."; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['et']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['et']); })(jQuery); diff --git a/select2_locale_eu.js b/select2_locale_eu.js index e4336ca5..67ae8d05 100644 --- a/select2_locale_eu.js +++ b/select2_locale_eu.js @@ -41,5 +41,5 @@ } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['eu']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['eu']); })(jQuery); diff --git a/select2_locale_fa.js b/select2_locale_fa.js index b4570eb8..a49938ac 100644 --- a/select2_locale_fa.js +++ b/select2_locale_fa.js @@ -17,6 +17,5 @@ formatSearching: function () { return "در حال جستجو…"; } } - $.extend($.fn.select2.defaults, $.fn.select2.locales['fa']); - ); + $.extend($.fn.select2.defaults, $.fn.select2.locales['fa']); })(jQuery); diff --git a/select2_locale_fi.js b/select2_locale_fi.js index f51d3764..fe4aaf09 100644 --- a/select2_locale_fi.js +++ b/select2_locale_fi.js @@ -26,6 +26,5 @@ } } - $.extend($.fn.select2.defaults, $.fn.select2.locales['fi']); - ); + $.extend($.fn.select2.defaults, $.fn.select2.locales['fi']); })(jQuery); diff --git a/select2_locale_fr.js b/select2_locale_fr.js index 94ba2551..fe475772 100644 --- a/select2_locale_fr.js +++ b/select2_locale_fr.js @@ -14,6 +14,5 @@ formatSearching: function () { return "Recherche en cours…"; } } - $.extend($.fn.select2.defaults, $.fn.select2.locales['fr']); - ); + $.extend($.fn.select2.defaults, $.fn.select2.locales['fr']); })(jQuery); diff --git a/select2_locale_gl.js b/select2_locale_gl.js index dfc185e8..13537f32 100644 --- a/select2_locale_gl.js +++ b/select2_locale_gl.js @@ -41,6 +41,5 @@ } } - $.extend($.fn.select2.defaults, $.fn.select2.locales['gl']); - ); + $.extend($.fn.select2.defaults, $.fn.select2.locales['gl']); })(jQuery); diff --git a/select2_locale_he.js b/select2_locale_he.js index da99fc42..8322ca5e 100644 --- a/select2_locale_he.js +++ b/select2_locale_he.js @@ -15,6 +15,5 @@ formatSearching: function () { return "מחפש…"; } } - $.extend($.fn.select2.defaults, $.fn.select2.locales['he']); - ); + $.extend($.fn.select2.defaults, $.fn.select2.locales['he']); })(jQuery); diff --git a/select2_locale_hr.js b/select2_locale_hr.js index 5f79b156..955accd5 100644 --- a/select2_locale_hr.js +++ b/select2_locale_hr.js @@ -16,8 +16,7 @@ formatSearching: function () { return "Pretraga…"; } } - $.extend($.fn.select2.defaults, $.fn.select2.locales['hr']); - ); + $.extend($.fn.select2.defaults, $.fn.select2.locales['hr']); function character (n) { return " " + n + " znak" + (n%10 < 5 && n%10 > 0 && (n%100 < 5 || n%100 > 19) ? n%10 > 1 ? "a" : "" : "ova"); diff --git a/select2_locale_hu.js b/select2_locale_hu.js index 7f502764..94ee4f61 100644 --- a/select2_locale_hu.js +++ b/select2_locale_hu.js @@ -11,8 +11,8 @@ formatSelectionTooBig: function (limit) { return "Csak " + limit + " elemet lehet kiválasztani."; }, formatLoadMore: function (pageNumber) { return "Töltés…"; }, formatSearching: function () { return "Keresés…"; } - } + }; + + $.extend($.fn.select2.defaults, $.fn.select2.locales['hu']); - $.extend($.fn.select2.defaults, $.fn.select2.locales['hu']); - ); })(jQuery); diff --git a/select2_locale_id.js b/select2_locale_id.js index 62aa6820..e9c1fd9b 100644 --- a/select2_locale_id.js +++ b/select2_locale_id.js @@ -13,8 +13,7 @@ formatSelectionTooBig: function (limit) { return "Anda hanya dapat memilih " + limit + " pilihan" + (limit == 1 ? "" : "s"); }, formatLoadMore: function (pageNumber) { return "Mengambil data…"; }, formatSearching: function () { return "Mencari…"; } - } + }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['id']); - ); + $.extend($.fn.select2.defaults, $.fn.select2.locales['id']); })(jQuery); diff --git a/select2_locale_is.js b/select2_locale_is.js index bf9a68db..273f33de 100644 --- a/select2_locale_is.js +++ b/select2_locale_is.js @@ -11,8 +11,7 @@ formatSelectionTooBig: function (limit) { return "Þú getur aðeins valið " + limit + " atriði"; }, formatLoadMore: function (pageNumber) { return "Sæki fleiri niðurstöður…"; }, formatSearching: function () { return "Leita…"; } - } + }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['is']); - ); + $.extend($.fn.select2.defaults, $.fn.select2.locales['is']); })(jQuery); diff --git a/select2_locale_it.js b/select2_locale_it.js index d8f9c1f9..6e2b8e23 100644 --- a/select2_locale_it.js +++ b/select2_locale_it.js @@ -11,8 +11,7 @@ formatSelectionTooBig: function (limit) { return "Puoi selezionare solo " + limit + " element" + (limit == 1 ? "o" : "i"); }, formatLoadMore: function (pageNumber) { return "Caricamento in corso…"; }, formatSearching: function () { return "Ricerca…"; } - } + }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['it']); - ); + $.extend($.fn.select2.defaults, $.fn.select2.locales['it']); })(jQuery); \ No newline at end of file diff --git a/select2_locale_ja.js b/select2_locale_ja.js index 517e2551..7dbd8d7e 100644 --- a/select2_locale_ja.js +++ b/select2_locale_ja.js @@ -11,8 +11,7 @@ formatSelectionTooBig: function (limit) { return "最多で" + limit + "項目までしか選択できません"; }, formatLoadMore: function (pageNumber) { return "読込中・・・"; }, formatSearching: function () { return "検索中・・・"; } - } + }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['ja']); - ); + $.extend($.fn.select2.defaults, $.fn.select2.locales['ja']); })(jQuery); diff --git a/select2_locale_ka.js b/select2_locale_ka.js index e64594bf..6cbe1d8f 100644 --- a/select2_locale_ka.js +++ b/select2_locale_ka.js @@ -15,5 +15,5 @@ formatSearching: function () { return "ძებნა…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['ka']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['ka']); })(jQuery); diff --git a/select2_locale_ko.js b/select2_locale_ko.js index da1dbf81..bf036e09 100644 --- a/select2_locale_ko.js +++ b/select2_locale_ko.js @@ -15,5 +15,5 @@ formatSearching: function () { return "검색 중…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['ko']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['ko']); })(jQuery); diff --git a/select2_locale_lt.js b/select2_locale_lt.js index 5bdb1482..7d7040f7 100644 --- a/select2_locale_lt.js +++ b/select2_locale_lt.js @@ -18,7 +18,7 @@ formatSearching: function () { return "Ieškoma…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['lt']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['lt']); function character (n) { return " " + n + " simbol" + ((n%100 > 9 && n%100 < 21) || n%10 == 0 ? "ių" : n%10 > 1 ? "ius" : "į"); diff --git a/select2_locale_lv.js b/select2_locale_lv.js index 286c9626..4afc5b41 100644 --- a/select2_locale_lv.js +++ b/select2_locale_lv.js @@ -15,5 +15,5 @@ formatSearching: function () { return "Meklēšana…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['lv']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['lv']); })(jQuery); diff --git a/select2_locale_mk.js b/select2_locale_mk.js index af3395b1..8a51a9e0 100644 --- a/select2_locale_mk.js +++ b/select2_locale_mk.js @@ -15,5 +15,5 @@ formatSearching: function () { return "Пребарување…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['mk']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['mk']); })(jQuery); \ No newline at end of file diff --git a/select2_locale_ms.js b/select2_locale_ms.js index 76166345..46588d6d 100644 --- a/select2_locale_ms.js +++ b/select2_locale_ms.js @@ -15,5 +15,5 @@ formatSearching: function () { return "Mencari…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['ms']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['ms']); })(jQuery); diff --git a/select2_locale_nl.js b/select2_locale_nl.js index de841c78..4e283af4 100644 --- a/select2_locale_nl.js +++ b/select2_locale_nl.js @@ -13,5 +13,5 @@ formatSearching: function () { return "Zoeken…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['nl']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['nl']); })(jQuery); \ No newline at end of file diff --git a/select2_locale_no.js b/select2_locale_no.js index bde066e9..e00408cf 100644 --- a/select2_locale_no.js +++ b/select2_locale_no.js @@ -15,6 +15,6 @@ formatSearching: function () { return "Søker…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['no']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['no']); })(jQuery); diff --git a/select2_locale_pl.js b/select2_locale_pl.js index 1d429296..d77648ff 100644 --- a/select2_locale_pl.js +++ b/select2_locale_pl.js @@ -17,7 +17,7 @@ formatSearching: function () { return "Szukanie…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['pl']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['pl']); function character (n, word, pluralSuffix) { return " " + n + " " + word + (n == 1 ? "" : n%10 < 5 && n%10 > 1 && (n%100 < 5 || n%100 > 20) ? pluralSuffix : "ów"); diff --git a/select2_locale_pt-BR.js b/select2_locale_pt-BR.js index d0c9bc2e..e4088f0c 100644 --- a/select2_locale_pt-BR.js +++ b/select2_locale_pt-BR.js @@ -13,5 +13,5 @@ formatSearching: function () { return "Buscando…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['pt-BR']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['pt-BR']); })(jQuery); diff --git a/select2_locale_pt-PT.js b/select2_locale_pt-PT.js index ad3c7c48..ae55a4fc 100644 --- a/select2_locale_pt-PT.js +++ b/select2_locale_pt-PT.js @@ -13,5 +13,5 @@ formatSearching: function () { return "A pesquisar…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['pt-PT']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['pt-PT']); })(jQuery); diff --git a/select2_locale_ro.js b/select2_locale_ro.js index a488bac8..21b0cf18 100644 --- a/select2_locale_ro.js +++ b/select2_locale_ro.js @@ -13,5 +13,5 @@ formatSearching: function () { return "Căutare…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['ro']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['ro']); })(jQuery); diff --git a/select2_locale_rs.js b/select2_locale_rs.js index 1eac36d6..72c16389 100644 --- a/select2_locale_rs.js +++ b/select2_locale_rs.js @@ -15,5 +15,5 @@ formatSearching: function () { return "Pretraga…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['rs']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['rs']); })(jQuery); diff --git a/select2_locale_ru.js b/select2_locale_ru.js index 06993d5f..2a6c7702 100644 --- a/select2_locale_ru.js +++ b/select2_locale_ru.js @@ -15,7 +15,7 @@ formatSearching: function () { return "Поиск…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['ru']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['ru']); function character (n) { return " " + n + " символ" + (n%10 < 5 && n%10 > 0 && (n%100 < 5 || n%100 > 20) ? n%10 > 1 ? "a" : "" : "ов"); diff --git a/select2_locale_sv.js b/select2_locale_sv.js index 426e0411..96f8c0a8 100644 --- a/select2_locale_sv.js +++ b/select2_locale_sv.js @@ -15,5 +15,5 @@ formatSearching: function () { return "Söker…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['sv']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['sv']); })(jQuery); diff --git a/select2_locale_th.js b/select2_locale_th.js index 09270b14..7f3e6ef8 100644 --- a/select2_locale_th.js +++ b/select2_locale_th.js @@ -15,5 +15,5 @@ formatSearching: function () { return "กำลังค้นข้อมูล…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['th']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['th']); })(jQuery); diff --git a/select2_locale_tr.js b/select2_locale_tr.js index 33f47919..1dda95ca 100644 --- a/select2_locale_tr.js +++ b/select2_locale_tr.js @@ -15,5 +15,5 @@ formatSearching: function () { return "Aranıyor…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['tr']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['tr']); })(jQuery); diff --git a/select2_locale_uk.js b/select2_locale_uk.js index fbcd078d..f76bcfd8 100644 --- a/select2_locale_uk.js +++ b/select2_locale_uk.js @@ -17,7 +17,7 @@ formatSearching: function () { return "Пошук…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['uk']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['uk']); function character (n, word) { return n + " " + word + (n%10 < 5 && n%10 > 0 && (n%100 < 5 || n%100 > 19) ? n%10 > 1 ? "и" : "" : "ів"); diff --git a/select2_locale_vi.js b/select2_locale_vi.js index 90c33eb0..cc67065f 100644 --- a/select2_locale_vi.js +++ b/select2_locale_vi.js @@ -15,6 +15,6 @@ formatSearching: function () { return "Đang tìm…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['vi']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['vi']); })(jQuery); diff --git a/select2_locale_zh-CN.js b/select2_locale_zh-CN.js index 4f6638fa..e988dac1 100644 --- a/select2_locale_zh-CN.js +++ b/select2_locale_zh-CN.js @@ -12,5 +12,5 @@ formatSearching: function () { return "搜索中…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['zh-CN']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['zh-CN']); })(jQuery); diff --git a/select2_locale_zh-TW.js b/select2_locale_zh-TW.js index 46608edd..85dbd5af 100644 --- a/select2_locale_zh-TW.js +++ b/select2_locale_zh-TW.js @@ -12,5 +12,5 @@ formatSearching: function () { return "搜尋中…"; } }; - $.extend($.fn.select2.defaults, $.fn.select2.locales['zh-TW']); + $.extend($.fn.select2.defaults, $.fn.select2.locales['zh-TW']); })(jQuery);