From fea75002f77cad7e6f5b82701fe113b8f49e0efb Mon Sep 17 00:00:00 2001 From: Vitor Barbosa Date: Mon, 10 Apr 2017 18:38:10 +0100 Subject: [PATCH] Portuguese Translation Add portuguese (pt-pt) translation --- i18n/jquery.spectrum-pt-pt.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 i18n/jquery.spectrum-pt-pt.js diff --git a/i18n/jquery.spectrum-pt-pt.js b/i18n/jquery.spectrum-pt-pt.js new file mode 100644 index 00000000..addb62c8 --- /dev/null +++ b/i18n/jquery.spectrum-pt-pt.js @@ -0,0 +1,18 @@ +// Spectrum Colorpicker +// Portuguese (pt-pt) localization +// https://github.com/bgrins/spectrum + +(function ( $ ) { + + var localization = $.spectrum.localization["pt-pt"] = { + cancelText: "Cancelar", + chooseText: "Escolher", + clearText: "Limpar cor seleccionada", + noColorSelectedText: "Nenhuma cor seleccionada", + togglePaletteMoreText: "Mais", + togglePaletteLessText: "Menos" + }; + + $.extend($.fn.spectrum.defaults, localization); + +})( jQuery );