From 1b707960de82291fbeb64aa58754c10db8e34871 Mon Sep 17 00:00:00 2001 From: Stozze Date: Tue, 24 Feb 2015 23:38:21 +0200 Subject: [PATCH] Swedish i18n --- src/js/select2/i18n/sv.js | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/js/select2/i18n/sv.js diff --git a/src/js/select2/i18n/sv.js b/src/js/select2/i18n/sv.js new file mode 100644 index 00000000..42bed7e5 --- /dev/null +++ b/src/js/select2/i18n/sv.js @@ -0,0 +1,37 @@ +define(function () { + // Swedish + return { + errorLoading: function () { + return 'Resultat kunde inte laddas.'; + }, + inputTooLong: function (args) { + var overChars = args.input.length - args.maximum; + + var message = 'Vänligen sudda ut ' + overChars + ' tecken'; + + return message; + }, + inputTooShort: function (args) { + var remainingChars = args.minimum - args.input.length; + + var message = 'Vänligen skriv in ' + remainingChars + + ' eller fler tecken'; + + return message; + }, + loadingMore: function () { + return 'Laddar fler resultat…'; + }, + maximumSelected: function (args) { + var message = 'Du kan max välja ' + args.maximum + ' element'; + + return message; + }, + noResults: function () { + return 'Inga träffar'; + }, + searching: function () { + return 'Söker…'; + } + }; +});