From 6a6abb8eb934c52f0dee8ec2f6e7e16cd35779b8 Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 1 Sep 2022 13:52:41 +0530 Subject: [PATCH] enable Portuguese from Portugal --- customize.dist/messages.js | 1 + customize.dist/translations/messages.pt-pt.js | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 customize.dist/translations/messages.pt-pt.js diff --git a/customize.dist/messages.js b/customize.dist/messages.js index e2011ec5f..471f68c2d 100755 --- a/customize.dist/messages.js +++ b/customize.dist/messages.js @@ -16,6 +16,7 @@ var map = { //'nl': 'Nederlands' 'pl': 'Polski', 'pt-br': 'Português do Brasil', + 'pt-pt': 'Português do Portugal', 'ro': 'Română', 'ru': 'Русский', //'sv': 'Svenska', diff --git a/customize.dist/translations/messages.pt-pt.js b/customize.dist/translations/messages.pt-pt.js new file mode 100644 index 000000000..7f9ca5b44 --- /dev/null +++ b/customize.dist/translations/messages.pt-pt.js @@ -0,0 +1,14 @@ +/* + * You can override the translation text using this file. + * The recommended method is to make a copy of this file (/customize.dist/translations/messages.{LANG}.js) + in a 'customize' directory (/customize/translations/messages.{LANG}.js). + * If you want to check all the existing translation keys, you can open the internal language file + but you should not change it directly (/common/translations/messages.{LANG}.js) +*/ +define(['/common/translations/messages.pt-pt.js'], function (Messages) { + // Replace the existing keys in your copied file here: + // Messages.button_newpad = "New Rich Text Document"; + + return Messages; +}); +