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 00000000..4dc41c7d Binary files /dev/null and b/fittrackee/emails/translations/es/LC_MESSAGES/messages.mo differ 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 00000000..6ec3a15d Binary files /dev/null and b/fittrackee/emails/translations/gl/LC_MESSAGES/messages.mo differ 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 "" +