diff options
Diffstat (limited to 'apps/files_external/3rdparty/select2/select2_locale_sv.js')
-rw-r--r-- | apps/files_external/3rdparty/select2/select2_locale_sv.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/apps/files_external/3rdparty/select2/select2_locale_sv.js b/apps/files_external/3rdparty/select2/select2_locale_sv.js new file mode 100644 index 00000000000..d611189a593 --- /dev/null +++ b/apps/files_external/3rdparty/select2/select2_locale_sv.js @@ -0,0 +1,17 @@ +/** + * Select2 Swedish translation. + * + * Author: Jens Rantil <jens.rantil@telavox.com> + */ +(function ($) { + "use strict"; + + $.extend($.fn.select2.defaults, { + formatNoMatches: function () { return "Inga träffar"; }, + formatInputTooShort: function (input, min) { var n = min - input.length; return "Var god skriv in " + n + (n>1 ? " till tecken" : " tecken till"); }, + formatInputTooLong: function (input, max) { var n = input.length - max; return "Var god sudda ut " + n + " tecken"; }, + formatSelectionTooBig: function (limit) { return "Du kan max välja " + limit + " element"; }, + formatLoadMore: function (pageNumber) { return "Laddar fler resultat…"; }, + formatSearching: function () { return "Söker…"; } + }); +})(jQuery); |