Skip to content

Commit

Permalink
Merge pull request #4107 from ruipbarata/fix_admin_portugues_locale
Browse files Browse the repository at this point in the history
Fix admin portugues locale
  • Loading branch information
kennyadsl committed Jun 29, 2021
2 parents 1f5fea7 + 12e6421 commit 765f9a4
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -4,7 +4,7 @@
(function ($) {
"use strict";

$.fn.select2.locales['pt-PT'] = {
$.fn.select2.locales['pt'] = {
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"); },
Expand All @@ -13,5 +13,5 @@
formatSearching: function () { return "A pesquisar…"; }
};

$.extend($.fn.select2.defaults, $.fn.select2.locales['pt-PT']);
$.extend($.fn.select2.defaults, $.fn.select2.locales['pt']);
})(jQuery);

0 comments on commit 765f9a4

Please sign in to comment.