1
0
mirror of synced 2024-11-21 20:46:07 +03:00

Syntax fix

Signed-off-by: Kevin Brown <kevin@kevinbrown.in>
This commit is contained in:
Jonas Pyfferoen 2014-05-16 10:55:03 +02:00 committed by Kevin Brown
parent 6b92b1c211
commit 8243f8191c
33 changed files with 34 additions and 67 deletions

View File

@ -13,8 +13,7 @@
formatSelectionTooBig: function (limit) { if (n == 1){ return "يمكنك أن تختار إختيار واحد فقط"; } return n == 2 ? "يمكنك أن تختار إختيارين فقط" : "يمكنك أن تختار " + n + " إختيارات فقط"; },
formatLoadMore: function (pageNumber) { return "تحميل المزيد من النتائج…"; },
formatSearching: function () { return "البحث…"; }
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['ar']);
);
})(jQuery);

View File

@ -14,8 +14,7 @@
formatSelectionTooBig: function (limit) { return "Можете да направите до " + limit + (limit > 1 ? " избора" : " избор"); },
formatLoadMore: function (pageNumber) { return "Зареждат се още…"; },
formatSearching: function () { return "Търсене…"; }
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['bg']);
);
})(jQuery);

View File

@ -13,8 +13,7 @@
formatSelectionTooBig: function (limit) { return "Només podeu seleccionar " + limit + " element" + (limit == 1 ? "" : "s"); },
formatLoadMore: function (pageNumber) { return "S'estan carregant més resultats…"; },
formatSearching: function () { return "S'està cercant…"; }
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['ca']);
);
})(jQuery);

View File

@ -45,8 +45,7 @@
},
formatLoadMore: function (pageNumber) { return "Načítají se další výsledky…"; },
formatSearching: function () { return "Vyhledávání…"; }
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['cs']);
);
})(jQuery);

View File

@ -13,8 +13,7 @@
formatSelectionTooBig: function (limit) { return "Du kan kun vælge " + limit + " emne" + (limit === 1 ? "" : "r"); },
formatLoadMore: function (pageNumber) { return "Indlæser flere resultater…"; },
formatSearching: function () { return "Søger…"; }
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['fi']);
);
})(jQuery);

View File

@ -12,8 +12,7 @@
formatLoadMore: function (pageNumber) { return "Lade mehr Ergebnisse…"; },
formatSearching: function () { return "Suche…"; },
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']);
);
})(jQuery);

View File

@ -13,8 +13,7 @@
formatSelectionTooBig: function (limit) { return "Μπορείτε να επιλέξετε μόνο " + limit + " αντικείμεν" + (limit > 1 ? "α" : "ο"); },
formatLoadMore: function (pageNumber) { return "Φόρτωση περισσότερων…"; },
formatSearching: function () { return "Αναζήτηση…"; }
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['el']);
);
})(jQuery);

View File

@ -14,8 +14,7 @@
formatSelectionTooBig: function (limit) { return "You can only select " + limit + " item" + (limit == 1 ? "" : "s"); },
formatLoadMore: function (pageNumber) { return "Loading more results…"; },
formatSearching: function () { return "Searching…"; }
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['en']);
);
})(jQuery);

View File

@ -11,8 +11,7 @@
formatSelectionTooBig: function (limit) { return "Sólo puede seleccionar " + limit + " elemento" + (limit == 1 ? "" : "s"); },
formatLoadMore: function (pageNumber) { return "Cargando más resultados…"; },
formatSearching: function () { return "Buscando…"; }
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['es']);
);
})(jQuery);

View File

@ -13,8 +13,7 @@
formatSelectionTooBig: function (limit) { return "Saad vaid " + limit + " tulemus" + (limit == 1 ? "e" : "t") + " valida"; },
formatLoadMore: function (pageNumber) { return "Laen tulemusi.."; },
formatSearching: function () { return "Otsin.."; }
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['et']);
);
})(jQuery);

View File

@ -39,8 +39,7 @@
formatSearching: function () {
return "Bilatzen…";
}
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['eu']);
);
})(jQuery);

View File

@ -13,8 +13,7 @@
formatSelectionTooBig: function (limit) { return "თქვენ შეგიძლიათ მხოლოდ " + limit + " ჩანაწერის მონიშვნა"; },
formatLoadMore: function (pageNumber) { return "შედეგის ჩატვირთვა…"; },
formatSearching: function () { return "ძებნა…"; }
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['ka']);
);
})(jQuery);

View File

@ -13,8 +13,7 @@
formatSelectionTooBig: function (limit) { return "최대 "+limit+"개까지만 선택하실 수 있습니다."; },
formatLoadMore: function (pageNumber) { return "불러오는 중…"; },
formatSearching: function () { return "검색 중…"; }
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['ko']);
);
})(jQuery);

View File

@ -16,10 +16,9 @@
},
formatLoadMore: function (pageNumber) { return "Kraunama daugiau rezultatų…"; },
formatSearching: function () { return "Ieškoma…"; }
}
};
$.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" : "į");

View File

@ -13,8 +13,7 @@
formatSelectionTooBig: function (limit) { return "Jūs varat izvēlēties ne vairāk kā " + limit + " element" + (limit == 11 ? "us" : limit%10 == 1 ? "u" : "us"); },
formatLoadMore: function (pageNumber) { return "Datu ielāde…"; },
formatSearching: function () { return "Meklēšana…"; }
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['lv']);
);
})(jQuery);

View File

@ -13,8 +13,7 @@
formatSelectionTooBig: function (limit) { return "Можете да изберете само " + limit + " ставк" + (limit == 1 ? "а" : "и"); },
formatLoadMore: function (pageNumber) { return "Вчитување резултати…"; },
formatSearching: function () { return "Пребарување…"; }
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['mk']);
);
})(jQuery);

View File

@ -13,8 +13,7 @@
formatSelectionTooBig: function (limit) { return "Anda hanya boleh memilih " + limit + " pilihan"; },
formatLoadMore: function (pageNumber) { return "Sedang memuatkan keputusan…"; },
formatSearching: function () { return "Mencari…"; }
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['ms']);
);
})(jQuery);

View File

@ -11,8 +11,7 @@
formatSelectionTooBig: function (limit) { return "Maximaal " + limit + " item" + (limit == 1 ? "" : "s") + " toegestaan"; },
formatLoadMore: function (pageNumber) { return "Meer resultaten laden…"; },
formatSearching: function () { return "Zoeken…"; }
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['nl']);
);
})(jQuery);

View File

@ -13,9 +13,8 @@
formatSelectionTooBig: function (limit) { return "Du kan velge maks " + limit + " elementer"; },
formatLoadMore: function (pageNumber) { return "Laster flere resultater…"; },
formatSearching: function () { return "Søker…"; }
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['no']);
);
})(jQuery);

View File

@ -15,10 +15,9 @@
formatSelectionTooBig: function (limit) { return "Możesz zaznaczyć najwyżej" + character(limit, "element", "y"); },
formatLoadMore: function (pageNumber) { return "Ładowanie wyników…"; },
formatSearching: function () { return "Szukanie…"; }
}
};
$.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");

View File

@ -11,8 +11,7 @@
formatSelectionTooBig: function (limit) { return "Só é possível selecionar " + limit + " elemento" + (limit == 1 ? "" : "s"); },
formatLoadMore: function (pageNumber) { return "Carregando mais resultados…"; },
formatSearching: function () { return "Buscando…"; }
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['pt-BR']);
);
})(jQuery);

View File

@ -11,8 +11,7 @@
formatSelectionTooBig: function (limit) { return "Só é possível selecionar " + limit + " elemento" + (limit == 1 ? "" : "s"); },
formatLoadMore: function (pageNumber) { return "A carregar mais resultados…"; },
formatSearching: function () { return "A pesquisar…"; }
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['pt-PT']);
);
})(jQuery);

View File

@ -11,8 +11,7 @@
formatSelectionTooBig: function (limit) { return "Aveți voie să selectați cel mult " + limit + " element" + (limit == 1 ? "" : "e"); },
formatLoadMore: function (pageNumber) { return "Se încarcă…"; },
formatSearching: function () { return "Căutare…"; }
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['ro']);
);
})(jQuery);

View File

@ -13,8 +13,7 @@
formatSelectionTooBig: function (limit) { return "Možete izabrati samo " + limit + " stavk" + (limit % 10 == 1 && limit % 100 != 11 ? "u" : (limit % 10 >= 2 && limit % 10 <= 4 && (limit % 100 < 12 || limit % 100 > 14)? "e" : "i")); },
formatLoadMore: function (pageNumber) { return "Preuzimanje još rezultata…"; },
formatSearching: function () { return "Pretraga…"; }
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['rs']);
);
})(jQuery);

View File

@ -13,10 +13,9 @@
formatSelectionTooBig: function (limit) { return "Вы можете выбрать не более " + limit + " элемент" + (limit%10 == 1 && limit%100 != 11 ? "а" : "ов"); },
formatLoadMore: function (pageNumber) { return "Загрузка данных…"; },
formatSearching: function () { return "Поиск…"; }
}
};
$.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" : "" : "ов");

View File

@ -10,7 +10,7 @@
2: function(masc) { return (masc ? "dva" : "dve"); },
3: function() { return "tri"; },
4: function() { return "štyri"; }
}
};
$.fn.select2.locales['sk'] = {
formatNoMatches: function () { return "Nenašli sa žiadne položky"; },
formatInputTooShort: function (input, min) {
@ -44,8 +44,7 @@
},
formatLoadMore: function (pageNumber) { return "Načítavajú sa ďalšie výsledky…"; },
formatSearching: function () { return "Vyhľadávanie…"; }
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['sk']);
);
})(jQuery);

View File

@ -13,8 +13,7 @@
formatSelectionTooBig: function (limit) { return "Du kan max välja " + limit + " element"; },
formatLoadMore: function (pageNumber) { return "Laddar fler resultat…"; },
formatSearching: function () { return "Söker…"; }
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['sv']);
);
})(jQuery);

View File

@ -13,8 +13,7 @@
formatSelectionTooBig: function (limit) { return "คุณสามารถเลือกได้ไม่เกิน " + limit + " รายการ"; },
formatLoadMore: function (pageNumber) { return "กำลังค้นข้อมูลเพิ่ม…"; },
formatSearching: function () { return "กำลังค้นข้อมูล…"; }
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['th']);
);
})(jQuery);

View File

@ -13,8 +13,7 @@
formatSelectionTooBig: function (limit) { return "Sadece " + limit + " seçim yapabilirsiniz"; },
formatLoadMore: function (pageNumber) { return "Daha fazla…"; },
formatSearching: function () { return "Aranıyor…"; }
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['tr']);
);
})(jQuery);

View File

@ -15,10 +15,9 @@
formatSelectionTooBig: function (limit) { return "Ви можете вибрати лише " + character(limit, "елемент"); },
formatLoadMore: function (pageNumber) { return "Завантаження даних…"; },
formatSearching: function () { return "Пошук…"; }
}
};
$.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 ? "и" : "" : "ів");

View File

@ -13,9 +13,8 @@
formatSelectionTooBig: function (limit) { return "Chỉ có thể chọn được " + limit + " tùy chọn" + (limit == 1 ? "" : "s"); },
formatLoadMore: function (pageNumber) { return "Đang lấy thêm kết quả…"; },
formatSearching: function () { return "Đang tìm…"; }
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['vi']);
);
})(jQuery);

View File

@ -10,8 +10,7 @@
formatSelectionTooBig: function (limit) { return "你只能选择最多" + limit + "项"; },
formatLoadMore: function (pageNumber) { return "加载结果中…"; },
formatSearching: function () { return "搜索中…"; }
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['zh-CN']);
);
})(jQuery);

View File

@ -10,8 +10,7 @@
formatSelectionTooBig: function (limit) { return "你只能選擇最多" + limit + "項"; },
formatLoadMore: function (pageNumber) { return "載入中…"; },
formatSearching: function () { return "搜尋中…"; }
}
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['zh-TW']);
);
})(jQuery);