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…'; + } + }; +});