diff options
Diffstat (limited to 'apps/files_external/3rdparty/select2/select2_locale_pt-PT.js')
-rw-r--r-- | apps/files_external/3rdparty/select2/select2_locale_pt-PT.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/files_external/3rdparty/select2/select2_locale_pt-PT.js b/apps/files_external/3rdparty/select2/select2_locale_pt-PT.js new file mode 100644 index 00000000000..cced7cf3ec1 --- /dev/null +++ b/apps/files_external/3rdparty/select2/select2_locale_pt-PT.js @@ -0,0 +1,15 @@ +/** + * Select2 Portuguese (Portugal) translation + */ +(function ($) { + "use strict"; + + $.extend($.fn.select2.defaults, { + formatNoMatches: function () { return "Nenhum resultado encontrado"; }, + formatInputTooShort: function (input, min) { var n = min - input.length; return "Introduza " + n + " car" + (n == 1 ? "ácter" : "acteres"); }, + formatInputTooLong: function (input, max) { var n = input.length - max; return "Apague " + n + " car" + (n == 1 ? "ácter" : "acteres"); }, + 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…"; } + }); +})(jQuery); |