From 25fdc6bef441848383a8eb4a141050b4a4c0f687 Mon Sep 17 00:00:00 2001 From: milupo Date: Sat, 10 Jun 2017 17:02:15 +0200 Subject: [PATCH] Delete hsb.js --- src/js/select2/i18n/hsb.js | 47 -------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 src/js/select2/i18n/hsb.js diff --git a/src/js/select2/i18n/hsb.js b/src/js/select2/i18n/hsb.js deleted file mode 100644 index 16f03a25..00000000 --- a/src/js/select2/i18n/hsb.js +++ /dev/null @@ -1,47 +0,0 @@ -define(function () { - // Upper Sorbian - var charsWords = ['znamješko', 'znamješce', 'znamješka','znamješkow']; - var itemsWords = ['zapisk', 'zapiskaj', 'zapiski','zapiskow']; - - var pluralWord = function pluralWord(numberOfChars, words) { - if (numberOfChars === 1) { - return words[0]; - } else if (numberOfChars === 2) { - return words[1]; - } else if (numberOfChars > 2 && numberOfChars <= 4) { - return words[2]; - } else if (numberOfChars >= 5) { - return words[3]; - } - }; - - return { - errorLoading: function () { - return 'Wuslědki njedachu so začitać.'; - }, - inputTooLong: function (args) { - var overChars = args.input.length - args.maximum; - - return 'Prošu zhašej ' + overChars + ' ' + pluralWord(overChars, charsWords); - }, - inputTooShort: function (args) { - var remainingChars = args.minimum - args.input.length; - - return 'Prošu zapodaj znajmjeńša ' + remainingChars + ' ' + - pluralWord(remainingChars, charsWords); - }, - loadingMore: function () { - return 'Dalše wuslědki so začitaja…'; - }, - maximumSelected: function (args) { - return 'Móžeš jenož ' + args.maximum + ' ' + - pluralWord(args.maximum, itemsWords) + 'wubrać'; - }, - noResults: function () { - return 'Žane wuslědki namakane'; - }, - searching: function () { - return 'Pyta so…'; - } - }; -});