summaryrefslogtreecommitdiffstats
path: root/apps/files_external/3rdparty/select2/select2_locale_pt-BR.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/3rdparty/select2/select2_locale_pt-BR.js')
-rw-r--r--apps/files_external/3rdparty/select2/select2_locale_pt-BR.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/files_external/3rdparty/select2/select2_locale_pt-BR.js b/apps/files_external/3rdparty/select2/select2_locale_pt-BR.js
new file mode 100644
index 00000000000..ac4969acfbb
--- /dev/null
+++ b/apps/files_external/3rdparty/select2/select2_locale_pt-BR.js
@@ -0,0 +1,15 @@
+/**
+ * Select2 Brazilian Portuguese translation
+ */
+(function ($) {
+ "use strict";
+
+ $.extend($.fn.select2.defaults, {
+ formatNoMatches: function () { return "Nenhum resultado encontrado"; },
+ formatInputTooShort: function (input, min) { var n = min - input.length; return "Digite mais " + n + " caracter" + (n == 1? "" : "es"); },
+ formatInputTooLong: function (input, max) { var n = input.length - max; return "Apague " + n + " caracter" + (n == 1? "" : "es"); },
+ formatSelectionTooBig: function (limit) { return "Só é possível selecionar " + limit + " elemento" + (limit == 1 ? "" : "s"); },
+ formatLoadMore: function (pageNumber) { return "Carregando mais resultados…"; },
+ formatSearching: function () { return "Buscando…"; }
+ });
+})(jQuery);