From 01d56041d3355625a9d53bef20ed2ba58ff52cac Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 12 Mar 2023 07:52:00 +0100 Subject: [PATCH] API - init Spanish (es) and Galician (gl) translation files for emails --- fittrackee/config.py | 2 + .../translations/es/LC_MESSAGES/messages.mo | Bin 0 -> 445 bytes .../translations/es/LC_MESSAGES/messages.po | 239 ++++++++++++++++++ .../translations/gl/LC_MESSAGES/messages.mo | Bin 0 -> 445 bytes .../translations/gl/LC_MESSAGES/messages.po | 239 ++++++++++++++++++ 5 files changed, 480 insertions(+) create mode 100644 fittrackee/emails/translations/es/LC_MESSAGES/messages.mo create mode 100644 fittrackee/emails/translations/es/LC_MESSAGES/messages.po create mode 100644 fittrackee/emails/translations/gl/LC_MESSAGES/messages.mo create mode 100644 fittrackee/emails/translations/gl/LC_MESSAGES/messages.po diff --git a/fittrackee/config.py b/fittrackee/config.py index 2a126dd5..0cafe0d5 100644 --- a/fittrackee/config.py +++ b/fittrackee/config.py @@ -64,6 +64,8 @@ class BaseConfig: 'it', # 'nb', # disabled for now 'nl', + # 'es', # disabled for now + # 'gl', # disabled for now ] OAUTH2_TOKEN_EXPIRES_IN = { 'authorization_code': 864000, # 10 days diff --git a/fittrackee/emails/translations/es/LC_MESSAGES/messages.mo b/fittrackee/emails/translations/es/LC_MESSAGES/messages.mo new file mode 100644 index 0000000000000000000000000000000000000000..4dc41c7db1be28121e4707dcdcbf9404bb021ca2 GIT binary patch literal 445 zcmZ8dO;5ux3>^}u9656^5(f}uq#cMUTc>?>sHokluI!#|St;t0DoGLh6`c5c{1#Fs zF~G7VKl{ngdY>o99}OEvwoYxG*Wg!N+y31yaXpKbeBmpDgEd}orE@7L#L4W@AEmJH zlX)>U*lnwX`D(5el!Te{$M;#{P`TkvlNdMXU1N@V`ex7m$)rVY~F%H zXsdNa96~G+C;T<9mHzP@7sx%mBYR%Rw85!jLKn!G-)6f5vVs;#CV%5SJWw*&juyAW{ZfpghGQ4skDPn;$} zBPk3Q_N!fKwG4kVH)X+c(Sg-7Q<@vEG8^1J@ape3Tw!0V)R5C8xG literal 0 HcmV?d00001 diff --git a/fittrackee/emails/translations/es/LC_MESSAGES/messages.po b/fittrackee/emails/translations/es/LC_MESSAGES/messages.po new file mode 100644 index 00000000..2ee36fce --- /dev/null +++ b/fittrackee/emails/translations/es/LC_MESSAGES/messages.po @@ -0,0 +1,239 @@ +# Spanish translations for PROJECT. +# Copyright (C) 2023 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# FIRST AUTHOR , 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2023-03-04 10:33+0100\n" +"PO-Revision-Date: 2023-03-12 07:50+0100\n" +"Last-Translator: FULL NAME \n" +"Language: es\n" +"Language-Team: es \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.12.1\n" + +#: fittrackee/emails/templates/layout.html:215 +#: fittrackee/emails/templates/layout.txt:1 +#, python-format +msgid "Hi %(username)s," +msgstr "" + +#: fittrackee/emails/templates/account_confirmation/body.txt:6 +#: fittrackee/emails/templates/email_update_to_current_email/body.txt:3 +#: fittrackee/emails/templates/email_update_to_new_email/body.txt:6 +#: fittrackee/emails/templates/layout.html:218 +#: fittrackee/emails/templates/password_change/body.txt:3 +#: fittrackee/emails/templates/password_reset_request/body.txt:6 +#, python-format +msgid "" +"For security, this request was received from a %(operating_system)s " +"device using %(browser_name)s." +msgstr "" + +#: fittrackee/emails/templates/layout.html:221 +#: fittrackee/emails/templates/layout.txt:5 +msgid "Thanks," +msgstr "" + +#: fittrackee/emails/templates/layout.html:222 +#: fittrackee/emails/templates/layout.txt:6 +msgid "The FitTrackee Team" +msgstr "" + +#: fittrackee/emails/templates/account_confirmation/body.html:2 +#: fittrackee/emails/templates/account_confirmation/subject.txt:1 +msgid "Confirm your account" +msgstr "" + +#: fittrackee/emails/templates/account_confirmation/body.html:3 +msgid "Use this link to confirm your account." +msgstr "" + +#: fittrackee/emails/templates/account_confirmation/body.html:4 +#: fittrackee/emails/templates/account_confirmation/body.txt:1 +msgid "You have created an account on FitTrackee." +msgstr "" + +#: fittrackee/emails/templates/account_confirmation/body.html:4 +msgid "Use the button below to confirm your address email." +msgstr "" + +#: fittrackee/emails/templates/account_confirmation/body.html:11 +#: fittrackee/emails/templates/account_confirmation/body.txt:4 +#: fittrackee/emails/templates/email_update_to_new_email/body.html:11 +#: fittrackee/emails/templates/email_update_to_new_email/body.txt:4 +msgid "Verify your email" +msgstr "" + +#: fittrackee/emails/templates/account_confirmation/body.html:18 +#: fittrackee/emails/templates/account_confirmation/body.txt:7 +msgid "" +"If this account creation wasn't initiated by you, please ignore this " +"email." +msgstr "" + +#: fittrackee/emails/templates/account_confirmation/body.html:22 +#: fittrackee/emails/templates/data_export_ready/body.html:22 +#: fittrackee/emails/templates/email_update_to_new_email/body.html:22 +#: fittrackee/emails/templates/password_reset_request/body.html:24 +msgid "" +"If you're having trouble with the button above, copy and paste the URL " +"below into your web browser." +msgstr "" + +#: fittrackee/emails/templates/account_confirmation/body.txt:2 +msgid "Use the link below to confirm your address email." +msgstr "" + +#: fittrackee/emails/templates/data_export_ready/body.html:2 +#: fittrackee/emails/templates/data_export_ready/subject.txt:1 +msgid "Your archive is ready to be downloaded" +msgstr "" + +#: fittrackee/emails/templates/data_export_ready/body.html:3 +msgid "A download link is available in your account." +msgstr "" + +#: fittrackee/emails/templates/data_export_ready/body.html:4 +#: fittrackee/emails/templates/data_export_ready/body.txt:1 +msgid "You have requested an export of your account on FitTrackee." +msgstr "" + +#: fittrackee/emails/templates/data_export_ready/body.html:4 +#: fittrackee/emails/templates/data_export_ready/body.txt:2 +msgid "The archive is now ready to be downloaded from your account." +msgstr "" + +#: fittrackee/emails/templates/data_export_ready/body.html:11 +#: fittrackee/emails/templates/data_export_ready/body.txt:4 +msgid "Download your archive" +msgstr "" + +#: fittrackee/emails/templates/data_export_ready/body.html:18 +#: fittrackee/emails/templates/data_export_ready/body.txt:5 +msgid "" +"If you did not request the export, please change your password " +"immediately or contact your administrator if your account is locked." +msgstr "" + +#: fittrackee/emails/templates/email_update_to_current_email/body.html:2 +#: fittrackee/emails/templates/email_update_to_current_email/subject.txt:1 +msgid "Email changed" +msgstr "" + +#: fittrackee/emails/templates/email_update_to_current_email/body.html:3 +msgid "Your email is being updated." +msgstr "" + +#: fittrackee/emails/templates/email_update_to_current_email/body.html:4 +#: fittrackee/emails/templates/email_update_to_current_email/body.txt:1 +msgid "" +"You recently requested to change your email address for your FitTrackee " +"account to:" +msgstr "" + +#: fittrackee/emails/templates/email_update_to_current_email/body.html:18 +#: fittrackee/emails/templates/email_update_to_current_email/body.txt:4 +msgid "" +"If this email change wasn't initiated by you, please change your password" +" immediately or contact your administrator if your account is locked." +msgstr "" + +#: fittrackee/emails/templates/email_update_to_new_email/body.html:2 +#: fittrackee/emails/templates/email_update_to_new_email/subject.txt:1 +msgid "Confirm email change" +msgstr "" + +#: fittrackee/emails/templates/email_update_to_new_email/body.html:3 +msgid "Use this link to confirm email change." +msgstr "" + +#: fittrackee/emails/templates/email_update_to_new_email/body.html:4 +#: fittrackee/emails/templates/email_update_to_new_email/body.txt:1 +msgid "" +"You recently requested to change your email address for your FitTrackee " +"account." +msgstr "" + +#: fittrackee/emails/templates/email_update_to_new_email/body.html:4 +msgid "Use the button below to confirm this address." +msgstr "" + +#: fittrackee/emails/templates/email_update_to_new_email/body.html:18 +#: fittrackee/emails/templates/email_update_to_new_email/body.txt:7 +msgid "If this email change wasn't initiated by you, please ignore this email." +msgstr "" + +#: fittrackee/emails/templates/email_update_to_new_email/body.txt:2 +msgid "Use the link below to confirm this address." +msgstr "" + +#: fittrackee/emails/templates/password_change/body.html:2 +#: fittrackee/emails/templates/password_change/subject.txt:1 +msgid "Password changed" +msgstr "" + +#: fittrackee/emails/templates/password_change/body.html:3 +msgid "Your password has been changed." +msgstr "" + +#: fittrackee/emails/templates/password_change/body.html:4 +#: fittrackee/emails/templates/password_change/body.txt:1 +msgid "The password for your FitTrackee account has been changed." +msgstr "" + +#: fittrackee/emails/templates/password_change/body.html:5 +#: fittrackee/emails/templates/password_change/body.txt:4 +msgid "" +"If this password change wasn't initiated by you, please change your " +"password immediately or contact your administrator if your account is " +"locked." +msgstr "" + +#: fittrackee/emails/templates/password_reset_request/body.html:2 +#: fittrackee/emails/templates/password_reset_request/subject.txt:1 +msgid "Password reset request" +msgstr "" + +#: fittrackee/emails/templates/password_reset_request/body.html:3 +#, python-format +msgid "" +"Use this link to reset your password. The link is only valid for " +"%(expiration_delay)s." +msgstr "" + +#: fittrackee/emails/templates/password_reset_request/body.html:4 +#: fittrackee/emails/templates/password_reset_request/body.txt:1 +msgid "You recently requested to reset your password for your FitTrackee account." +msgstr "" + +#: fittrackee/emails/templates/password_reset_request/body.html:4 +msgid "Use the button below to reset it." +msgstr "" + +#: fittrackee/emails/templates/password_reset_request/body.html:5 +#: fittrackee/emails/templates/password_reset_request/body.txt:2 +#, python-format +msgid "This password reset link is only valid for %(expiration_delay)s." +msgstr "" + +#: fittrackee/emails/templates/password_reset_request/body.html:13 +#: fittrackee/emails/templates/password_reset_request/body.txt:4 +msgid "Reset your password" +msgstr "" + +#: fittrackee/emails/templates/password_reset_request/body.html:20 +#: fittrackee/emails/templates/password_reset_request/body.txt:7 +msgid "If you did not request a password reset, please ignore this email." +msgstr "" + +#: fittrackee/emails/templates/password_reset_request/body.txt:1 +msgid "Use the link below to reset it." +msgstr "" + diff --git a/fittrackee/emails/translations/gl/LC_MESSAGES/messages.mo b/fittrackee/emails/translations/gl/LC_MESSAGES/messages.mo new file mode 100644 index 0000000000000000000000000000000000000000..6ec3a15d305318ea78ef4eec3aa3d1531643e498 GIT binary patch literal 445 zcmZ8dO;5ux3>^}u9656^5(f}uq#cMUTc>?>sHokluI!#|St;t0DoGLh6`c5c{1#Fs zF~G7VKl{ngdY>o99}OEvwoYxG*Wg!N+y31yaXpKbeBmpDgEd}orE@7L#L4W@AEmJH zlX)>U*lnwX`D(5el!Te{$M;#{P`TkvlNdMXU1N@V`ex7m$)rVY~F%H zXsdNa96~G+C;T<9mHzP@7sx%mBYR%Rw85!jLKn&MM2~rJaL)? zjifMK*spe_)iV6e+>`~&MF&>TOlfYs%4~4^z^lLCaD{!blIvV#6xz$&pa(9vvKCo0 QcNB(f$qR6sj!o3~0&${#1^@s6 literal 0 HcmV?d00001 diff --git a/fittrackee/emails/translations/gl/LC_MESSAGES/messages.po b/fittrackee/emails/translations/gl/LC_MESSAGES/messages.po new file mode 100644 index 00000000..7db669cb --- /dev/null +++ b/fittrackee/emails/translations/gl/LC_MESSAGES/messages.po @@ -0,0 +1,239 @@ +# Galician translations for PROJECT. +# Copyright (C) 2023 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# FIRST AUTHOR , 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2023-03-04 10:33+0100\n" +"PO-Revision-Date: 2023-03-12 07:50+0100\n" +"Last-Translator: FULL NAME \n" +"Language: gl\n" +"Language-Team: gl \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.12.1\n" + +#: fittrackee/emails/templates/layout.html:215 +#: fittrackee/emails/templates/layout.txt:1 +#, python-format +msgid "Hi %(username)s," +msgstr "" + +#: fittrackee/emails/templates/account_confirmation/body.txt:6 +#: fittrackee/emails/templates/email_update_to_current_email/body.txt:3 +#: fittrackee/emails/templates/email_update_to_new_email/body.txt:6 +#: fittrackee/emails/templates/layout.html:218 +#: fittrackee/emails/templates/password_change/body.txt:3 +#: fittrackee/emails/templates/password_reset_request/body.txt:6 +#, python-format +msgid "" +"For security, this request was received from a %(operating_system)s " +"device using %(browser_name)s." +msgstr "" + +#: fittrackee/emails/templates/layout.html:221 +#: fittrackee/emails/templates/layout.txt:5 +msgid "Thanks," +msgstr "" + +#: fittrackee/emails/templates/layout.html:222 +#: fittrackee/emails/templates/layout.txt:6 +msgid "The FitTrackee Team" +msgstr "" + +#: fittrackee/emails/templates/account_confirmation/body.html:2 +#: fittrackee/emails/templates/account_confirmation/subject.txt:1 +msgid "Confirm your account" +msgstr "" + +#: fittrackee/emails/templates/account_confirmation/body.html:3 +msgid "Use this link to confirm your account." +msgstr "" + +#: fittrackee/emails/templates/account_confirmation/body.html:4 +#: fittrackee/emails/templates/account_confirmation/body.txt:1 +msgid "You have created an account on FitTrackee." +msgstr "" + +#: fittrackee/emails/templates/account_confirmation/body.html:4 +msgid "Use the button below to confirm your address email." +msgstr "" + +#: fittrackee/emails/templates/account_confirmation/body.html:11 +#: fittrackee/emails/templates/account_confirmation/body.txt:4 +#: fittrackee/emails/templates/email_update_to_new_email/body.html:11 +#: fittrackee/emails/templates/email_update_to_new_email/body.txt:4 +msgid "Verify your email" +msgstr "" + +#: fittrackee/emails/templates/account_confirmation/body.html:18 +#: fittrackee/emails/templates/account_confirmation/body.txt:7 +msgid "" +"If this account creation wasn't initiated by you, please ignore this " +"email." +msgstr "" + +#: fittrackee/emails/templates/account_confirmation/body.html:22 +#: fittrackee/emails/templates/data_export_ready/body.html:22 +#: fittrackee/emails/templates/email_update_to_new_email/body.html:22 +#: fittrackee/emails/templates/password_reset_request/body.html:24 +msgid "" +"If you're having trouble with the button above, copy and paste the URL " +"below into your web browser." +msgstr "" + +#: fittrackee/emails/templates/account_confirmation/body.txt:2 +msgid "Use the link below to confirm your address email." +msgstr "" + +#: fittrackee/emails/templates/data_export_ready/body.html:2 +#: fittrackee/emails/templates/data_export_ready/subject.txt:1 +msgid "Your archive is ready to be downloaded" +msgstr "" + +#: fittrackee/emails/templates/data_export_ready/body.html:3 +msgid "A download link is available in your account." +msgstr "" + +#: fittrackee/emails/templates/data_export_ready/body.html:4 +#: fittrackee/emails/templates/data_export_ready/body.txt:1 +msgid "You have requested an export of your account on FitTrackee." +msgstr "" + +#: fittrackee/emails/templates/data_export_ready/body.html:4 +#: fittrackee/emails/templates/data_export_ready/body.txt:2 +msgid "The archive is now ready to be downloaded from your account." +msgstr "" + +#: fittrackee/emails/templates/data_export_ready/body.html:11 +#: fittrackee/emails/templates/data_export_ready/body.txt:4 +msgid "Download your archive" +msgstr "" + +#: fittrackee/emails/templates/data_export_ready/body.html:18 +#: fittrackee/emails/templates/data_export_ready/body.txt:5 +msgid "" +"If you did not request the export, please change your password " +"immediately or contact your administrator if your account is locked." +msgstr "" + +#: fittrackee/emails/templates/email_update_to_current_email/body.html:2 +#: fittrackee/emails/templates/email_update_to_current_email/subject.txt:1 +msgid "Email changed" +msgstr "" + +#: fittrackee/emails/templates/email_update_to_current_email/body.html:3 +msgid "Your email is being updated." +msgstr "" + +#: fittrackee/emails/templates/email_update_to_current_email/body.html:4 +#: fittrackee/emails/templates/email_update_to_current_email/body.txt:1 +msgid "" +"You recently requested to change your email address for your FitTrackee " +"account to:" +msgstr "" + +#: fittrackee/emails/templates/email_update_to_current_email/body.html:18 +#: fittrackee/emails/templates/email_update_to_current_email/body.txt:4 +msgid "" +"If this email change wasn't initiated by you, please change your password" +" immediately or contact your administrator if your account is locked." +msgstr "" + +#: fittrackee/emails/templates/email_update_to_new_email/body.html:2 +#: fittrackee/emails/templates/email_update_to_new_email/subject.txt:1 +msgid "Confirm email change" +msgstr "" + +#: fittrackee/emails/templates/email_update_to_new_email/body.html:3 +msgid "Use this link to confirm email change." +msgstr "" + +#: fittrackee/emails/templates/email_update_to_new_email/body.html:4 +#: fittrackee/emails/templates/email_update_to_new_email/body.txt:1 +msgid "" +"You recently requested to change your email address for your FitTrackee " +"account." +msgstr "" + +#: fittrackee/emails/templates/email_update_to_new_email/body.html:4 +msgid "Use the button below to confirm this address." +msgstr "" + +#: fittrackee/emails/templates/email_update_to_new_email/body.html:18 +#: fittrackee/emails/templates/email_update_to_new_email/body.txt:7 +msgid "If this email change wasn't initiated by you, please ignore this email." +msgstr "" + +#: fittrackee/emails/templates/email_update_to_new_email/body.txt:2 +msgid "Use the link below to confirm this address." +msgstr "" + +#: fittrackee/emails/templates/password_change/body.html:2 +#: fittrackee/emails/templates/password_change/subject.txt:1 +msgid "Password changed" +msgstr "" + +#: fittrackee/emails/templates/password_change/body.html:3 +msgid "Your password has been changed." +msgstr "" + +#: fittrackee/emails/templates/password_change/body.html:4 +#: fittrackee/emails/templates/password_change/body.txt:1 +msgid "The password for your FitTrackee account has been changed." +msgstr "" + +#: fittrackee/emails/templates/password_change/body.html:5 +#: fittrackee/emails/templates/password_change/body.txt:4 +msgid "" +"If this password change wasn't initiated by you, please change your " +"password immediately or contact your administrator if your account is " +"locked." +msgstr "" + +#: fittrackee/emails/templates/password_reset_request/body.html:2 +#: fittrackee/emails/templates/password_reset_request/subject.txt:1 +msgid "Password reset request" +msgstr "" + +#: fittrackee/emails/templates/password_reset_request/body.html:3 +#, python-format +msgid "" +"Use this link to reset your password. The link is only valid for " +"%(expiration_delay)s." +msgstr "" + +#: fittrackee/emails/templates/password_reset_request/body.html:4 +#: fittrackee/emails/templates/password_reset_request/body.txt:1 +msgid "You recently requested to reset your password for your FitTrackee account." +msgstr "" + +#: fittrackee/emails/templates/password_reset_request/body.html:4 +msgid "Use the button below to reset it." +msgstr "" + +#: fittrackee/emails/templates/password_reset_request/body.html:5 +#: fittrackee/emails/templates/password_reset_request/body.txt:2 +#, python-format +msgid "This password reset link is only valid for %(expiration_delay)s." +msgstr "" + +#: fittrackee/emails/templates/password_reset_request/body.html:13 +#: fittrackee/emails/templates/password_reset_request/body.txt:4 +msgid "Reset your password" +msgstr "" + +#: fittrackee/emails/templates/password_reset_request/body.html:20 +#: fittrackee/emails/templates/password_reset_request/body.txt:7 +msgid "If you did not request a password reset, please ignore this email." +msgstr "" + +#: fittrackee/emails/templates/password_reset_request/body.txt:1 +msgid "Use the link below to reset it." +msgstr "" +