From fd292a939275a6c2884500788390b330199e7723 Mon Sep 17 00:00:00 2001 From: Sam Date: Sat, 2 Jul 2022 19:25:07 +0200 Subject: [PATCH] API - use Babel to translate emails --- Makefile | 12 + Makefile.config | 1 + babel.cfg | 5 + fittrackee/config.py | 4 + fittrackee/emails/email.py | 40 ++- .../account_confirmation/{en => }/body.html | 22 +- .../templates/account_confirmation/body.txt | 7 + .../account_confirmation/de/body.html | 32 --- .../account_confirmation/de/body.txt | 12 - .../account_confirmation/de/subject.txt | 1 - .../account_confirmation/en/body.txt | 12 - .../account_confirmation/en/subject.txt | 1 - .../account_confirmation/fr/body.html | 34 --- .../account_confirmation/fr/body.txt | 13 - .../account_confirmation/fr/subject.txt | 1 - .../account_confirmation/subject.txt | 1 + .../email_update_to_current_email/body.html | 18 ++ .../email_update_to_current_email/body.txt | 4 + .../de/body.html | 26 -- .../email_update_to_current_email/de/body.txt | 10 - .../de/subject.txt | 1 - .../en/body.html | 26 -- .../email_update_to_current_email/en/body.txt | 10 - .../en/subject.txt | 1 - .../fr/body.html | 26 -- .../email_update_to_current_email/fr/body.txt | 10 - .../fr/subject.txt | 1 - .../email_update_to_current_email/subject.txt | 1 + .../email_update_to_new_email/body.html | 26 ++ .../email_update_to_new_email/body.txt | 7 + .../email_update_to_new_email/de/body.html | 32 --- .../email_update_to_new_email/de/body.txt | 12 - .../email_update_to_new_email/de/subject.txt | 1 - .../email_update_to_new_email/en/body.html | 32 --- .../email_update_to_new_email/en/body.txt | 12 - .../email_update_to_new_email/en/subject.txt | 1 - .../email_update_to_new_email/fr/body.html | 34 --- .../email_update_to_new_email/fr/body.txt | 13 - .../email_update_to_new_email/fr/subject.txt | 1 - .../email_update_to_new_email/subject.txt | 1 + fittrackee/emails/templates/layout.html | 8 + fittrackee/emails/templates/layout.txt | 7 + .../templates/password_change/body.html | 5 + .../emails/templates/password_change/body.txt | 4 + .../templates/password_change/de/body.html | 13 - .../templates/password_change/de/body.txt | 10 - .../templates/password_change/de/subject.txt | 1 - .../templates/password_change/en/body.html | 13 - .../templates/password_change/en/body.txt | 10 - .../templates/password_change/en/subject.txt | 1 - .../templates/password_change/fr/body.html | 13 - .../templates/password_change/fr/body.txt | 10 - .../templates/password_change/fr/subject.txt | 1 - .../templates/password_change/subject.txt | 1 + .../password_reset_request/body.html | 28 +++ .../templates/password_reset_request/body.txt | 7 + .../password_reset_request/de/body.html | 34 --- .../password_reset_request/de/body.txt | 12 - .../password_reset_request/de/subject.txt | 1 - .../password_reset_request/en/body.html | 34 --- .../password_reset_request/en/body.txt | 12 - .../password_reset_request/en/subject.txt | 1 - .../password_reset_request/fr/body.html | 35 --- .../password_reset_request/fr/body.txt | 13 - .../password_reset_request/fr/subject.txt | 1 - .../password_reset_request/subject.txt | 1 + .../translations/de/LC_MESSAGES/messages.mo | Bin 0 -> 4891 bytes .../translations/de/LC_MESSAGES/messages.po | 231 ++++++++++++++++++ .../translations/en/LC_MESSAGES/messages.mo | Bin 0 -> 4535 bytes .../translations/en/LC_MESSAGES/messages.po | 224 +++++++++++++++++ .../translations/fr/LC_MESSAGES/messages.mo | Bin 0 -> 4995 bytes .../translations/fr/LC_MESSAGES/messages.po | 231 ++++++++++++++++++ .../email_account_confirmation.py | 13 +- .../email_update_to_current_email.py | 12 +- .../email_update_to_new_email.py | 30 ++- .../template_results/password_change.py | 20 +- .../password_reset_request.py | 44 ++-- .../emails/test_email_account_confirmation.py | 24 +- .../test_email_template_email_update.py | 72 +++++- .../test_email_template_password_change.py | 48 +++- .../test_email_template_password_request.py | 48 +++- messages.pot | 206 ++++++++++++++++ poetry.lock | 4 +- pyproject.toml | 1 + 84 files changed, 1302 insertions(+), 686 deletions(-) create mode 100644 babel.cfg rename fittrackee/emails/templates/account_confirmation/{en => }/body.html (50%) create mode 100644 fittrackee/emails/templates/account_confirmation/body.txt delete mode 100644 fittrackee/emails/templates/account_confirmation/de/body.html delete mode 100644 fittrackee/emails/templates/account_confirmation/de/body.txt delete mode 100644 fittrackee/emails/templates/account_confirmation/de/subject.txt delete mode 100644 fittrackee/emails/templates/account_confirmation/en/body.txt delete mode 100644 fittrackee/emails/templates/account_confirmation/en/subject.txt delete mode 100644 fittrackee/emails/templates/account_confirmation/fr/body.html delete mode 100644 fittrackee/emails/templates/account_confirmation/fr/body.txt delete mode 100644 fittrackee/emails/templates/account_confirmation/fr/subject.txt create mode 100644 fittrackee/emails/templates/account_confirmation/subject.txt create mode 100644 fittrackee/emails/templates/email_update_to_current_email/body.html create mode 100644 fittrackee/emails/templates/email_update_to_current_email/body.txt delete mode 100644 fittrackee/emails/templates/email_update_to_current_email/de/body.html delete mode 100644 fittrackee/emails/templates/email_update_to_current_email/de/body.txt delete mode 100644 fittrackee/emails/templates/email_update_to_current_email/de/subject.txt delete mode 100644 fittrackee/emails/templates/email_update_to_current_email/en/body.html delete mode 100644 fittrackee/emails/templates/email_update_to_current_email/en/body.txt delete mode 100644 fittrackee/emails/templates/email_update_to_current_email/en/subject.txt delete mode 100644 fittrackee/emails/templates/email_update_to_current_email/fr/body.html delete mode 100644 fittrackee/emails/templates/email_update_to_current_email/fr/body.txt delete mode 100644 fittrackee/emails/templates/email_update_to_current_email/fr/subject.txt create mode 100644 fittrackee/emails/templates/email_update_to_current_email/subject.txt create mode 100644 fittrackee/emails/templates/email_update_to_new_email/body.html create mode 100644 fittrackee/emails/templates/email_update_to_new_email/body.txt delete mode 100644 fittrackee/emails/templates/email_update_to_new_email/de/body.html delete mode 100644 fittrackee/emails/templates/email_update_to_new_email/de/body.txt delete mode 100644 fittrackee/emails/templates/email_update_to_new_email/de/subject.txt delete mode 100644 fittrackee/emails/templates/email_update_to_new_email/en/body.html delete mode 100644 fittrackee/emails/templates/email_update_to_new_email/en/body.txt delete mode 100644 fittrackee/emails/templates/email_update_to_new_email/en/subject.txt delete mode 100644 fittrackee/emails/templates/email_update_to_new_email/fr/body.html delete mode 100644 fittrackee/emails/templates/email_update_to_new_email/fr/body.txt delete mode 100644 fittrackee/emails/templates/email_update_to_new_email/fr/subject.txt create mode 100644 fittrackee/emails/templates/email_update_to_new_email/subject.txt create mode 100644 fittrackee/emails/templates/layout.txt create mode 100644 fittrackee/emails/templates/password_change/body.html create mode 100644 fittrackee/emails/templates/password_change/body.txt delete mode 100644 fittrackee/emails/templates/password_change/de/body.html delete mode 100644 fittrackee/emails/templates/password_change/de/body.txt delete mode 100644 fittrackee/emails/templates/password_change/de/subject.txt delete mode 100644 fittrackee/emails/templates/password_change/en/body.html delete mode 100644 fittrackee/emails/templates/password_change/en/body.txt delete mode 100644 fittrackee/emails/templates/password_change/en/subject.txt delete mode 100644 fittrackee/emails/templates/password_change/fr/body.html delete mode 100644 fittrackee/emails/templates/password_change/fr/body.txt delete mode 100644 fittrackee/emails/templates/password_change/fr/subject.txt create mode 100644 fittrackee/emails/templates/password_change/subject.txt create mode 100644 fittrackee/emails/templates/password_reset_request/body.html create mode 100644 fittrackee/emails/templates/password_reset_request/body.txt delete mode 100644 fittrackee/emails/templates/password_reset_request/de/body.html delete mode 100644 fittrackee/emails/templates/password_reset_request/de/body.txt delete mode 100644 fittrackee/emails/templates/password_reset_request/de/subject.txt delete mode 100644 fittrackee/emails/templates/password_reset_request/en/body.html delete mode 100644 fittrackee/emails/templates/password_reset_request/en/body.txt delete mode 100644 fittrackee/emails/templates/password_reset_request/en/subject.txt delete mode 100644 fittrackee/emails/templates/password_reset_request/fr/body.html delete mode 100644 fittrackee/emails/templates/password_reset_request/fr/body.txt delete mode 100644 fittrackee/emails/templates/password_reset_request/fr/subject.txt create mode 100644 fittrackee/emails/templates/password_reset_request/subject.txt create mode 100644 fittrackee/emails/translations/de/LC_MESSAGES/messages.mo create mode 100644 fittrackee/emails/translations/de/LC_MESSAGES/messages.po create mode 100644 fittrackee/emails/translations/en/LC_MESSAGES/messages.mo create mode 100644 fittrackee/emails/translations/en/LC_MESSAGES/messages.po create mode 100644 fittrackee/emails/translations/fr/LC_MESSAGES/messages.mo create mode 100644 fittrackee/emails/translations/fr/LC_MESSAGES/messages.po create mode 100644 messages.pot diff --git a/Makefile b/Makefile index c4616ebe..680a6351 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,18 @@ make-p: # Launch all P targets in parallel and exit as soon as one exits. set -m; (for p in $(P); do ($(MAKE) $$p || kill 0)& done; wait) +babel-extract: + $(PYBABEL) extract -F babel.cfg -k lazy_gettext -o messages.pot . + +babel-init: + $(PYBABEL) init -i messages.pot -d fittrackee/emails/translations -l $(LANG) + +babel-compile: + $(PYBABEL) compile -d fittrackee/emails/translations + +babel-update: + $(PYBABEL) update -i messages.pot -d fittrackee/emails/translations + bandit: $(BANDIT) -r fittrackee -c pyproject.toml diff --git a/Makefile.config b/Makefile.config index c1b0dd0b..59deb91b 100644 --- a/Makefile.config +++ b/Makefile.config @@ -24,6 +24,7 @@ GUNICORN = $(VENV)/bin/gunicorn BLACK = $(VENV)/bin/black MYPY = $(VENV)/bin/mypy BANDIT = $(VENV)/bin/bandit +PYBABEL = $(VENV)/bin/pybabel FTCLI = $(VENV)/bin/ftcli # Node env diff --git a/babel.cfg b/babel.cfg new file mode 100644 index 00000000..d8436ffc --- /dev/null +++ b/babel.cfg @@ -0,0 +1,5 @@ +[jinja2: fittrackee/emails/templates/**.html] +silent=False + +[jinja2: fittrackee/emails/templates/**.txt] +silent=False diff --git a/fittrackee/config.py b/fittrackee/config.py index 8f5bcda6..4898fb1c 100644 --- a/fittrackee/config.py +++ b/fittrackee/config.py @@ -46,6 +46,10 @@ class BaseConfig: os.environ.get('DEFAULT_STATICMAP', 'False') == 'True' ), } + TRANSLATIONS_FOLDER = os.path.join( + current_app.root_path, 'emails/translations' + ) + LANGUAGES = ['en', 'fr', 'de'] class DevelopmentConfig(BaseConfig): diff --git a/fittrackee/emails/email.py b/fittrackee/emails/email.py index 5b6a5f53..856d2444 100644 --- a/fittrackee/emails/email.py +++ b/fittrackee/emails/email.py @@ -3,8 +3,9 @@ import smtplib import ssl from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText -from typing import Dict, Optional, Type, Union +from typing import Dict, List, Optional, Type, Union +from babel.support import Translations from flask import Flask from jinja2 import Environment, FileSystemLoader, select_autoescape from urllib3.util import parse_url @@ -38,16 +39,43 @@ class EmailMessage: class EmailTemplate: - def __init__(self, template_directory: str) -> None: + def __init__( + self, + template_directory: str, + translations_directory: str, + languages: List[str], + ) -> None: + self._translations = self._get_translations( + translations_directory, languages + ) self._env = Environment( autoescape=select_autoescape(['html', 'htm', 'xml']), loader=FileSystemLoader(template_directory), + extensions=['jinja2.ext.i18n'], + ) + + @staticmethod + def _get_translations( + translations_directory: str, languages: List[str] + ) -> Dict: + translations = {} + for language in languages: + translations[language] = Translations.load( + dirname=translations_directory, locales=[language] + ) + return translations + + def _load_translation(self, lang: str) -> None: + self._env.install_gettext_translations( # type: ignore + self._translations[lang], + newstyle=True, ) def get_content( self, template_name: str, lang: str, part: str, data: Dict ) -> str: - template = self._env.get_template(f'{template_name}/{lang}/{part}') + self._load_translation(lang) + template = self._env.get_template(f'{template_name}/{part}') return template.render(data) def get_all_contents(self, template: str, lang: str, data: Dict) -> Dict: @@ -92,7 +120,11 @@ class EmailService: self.username = parsed_url['username'] self.password = parsed_url['password'] self.sender_email = app.config['SENDER_EMAIL'] - self.email_template = EmailTemplate(app.config['TEMPLATES_FOLDER']) + self.email_template = EmailTemplate( + app.config['TEMPLATES_FOLDER'], + app.config['TRANSLATIONS_FOLDER'], + app.config['LANGUAGES'], + ) @staticmethod def parse_email_url(email_url: str) -> Dict: diff --git a/fittrackee/emails/templates/account_confirmation/en/body.html b/fittrackee/emails/templates/account_confirmation/body.html similarity index 50% rename from fittrackee/emails/templates/account_confirmation/en/body.html rename to fittrackee/emails/templates/account_confirmation/body.html index 81a37085..ccdcc899 100644 --- a/fittrackee/emails/templates/account_confirmation/en/body.html +++ b/fittrackee/emails/templates/account_confirmation/body.html @@ -1,31 +1,25 @@ {% extends "layout.html" %} -{% block title %}Confirm your account{% endblock %} -{% block preheader %}Use this link to confirm your account.{% endblock %} -{% block content %}

Hi {{username}},

-

You have created an account on FitTrackee. Use the button below to confirm your address email.

+{% block title %}{{ _('Confirm your account') }}{% endblock %} +{% block preheader %}{{ _('Use this link to confirm your account.') }}{% endblock %} +{% block content %}

{{ _('You have created an account on FitTrackee.') }} {{ _('Use the button below to confirm your address email.') }}

- -

- {% if operating_system and browser_name %}For security, this request was received from a {{operating_system}} device using {{browser_name}}. - {% endif %}If this account creation wasn't initiated by you, please ignore this email. -

-

Thanks, -
The FitTrackee Team

- + {% endblock %} +{% block not_initiated %}{{ _("If this account creation wasn't initiated by you, please ignore this email.") }}{% endblock %} +{% block url_to_paste %} diff --git a/fittrackee/emails/templates/account_confirmation/body.txt b/fittrackee/emails/templates/account_confirmation/body.txt new file mode 100644 index 00000000..8593a074 --- /dev/null +++ b/fittrackee/emails/templates/account_confirmation/body.txt @@ -0,0 +1,7 @@ +{% extends "layout.txt" %}{% block content %}{{ _('You have created an account on FitTrackee.') }} +{{ _('Use the link below to confirm your address email.') }} + +{{ _('Verify your email') }}: {{ account_confirmation_url }} + +{% if operating_system and browser_name %}{{ _('For security, this request was received from a %(operating_system)s device using %(browser_name)s.', operating_system=operating_system, browser_name=browser_name) }} +{% endif %}{{ _("If this account creation wasn't initiated by you, please ignore this email.") }}{% endblock %} diff --git a/fittrackee/emails/templates/account_confirmation/de/body.html b/fittrackee/emails/templates/account_confirmation/de/body.html deleted file mode 100644 index 2a626f63..00000000 --- a/fittrackee/emails/templates/account_confirmation/de/body.html +++ /dev/null @@ -1,32 +0,0 @@ -{% extends "layout.html" %} -{% block title %}Bestätige Dein Konto{% endblock %} -{% block preheader %}Verwendet diesen Link um Dein Konto zu bestätigen.{% endblock %} -{% block content %}

Hallo {{username}},

-

Du hast ein Konto bei FitTrackee angelegt. Verwende den unteren Button um Deine E-Mail Adresse zu bestätigen.

- - - - - -

- {% if operating_system and browser_name %}Zur Sicherheit: Diese Anfrage wurde von einem {{operating_system}} Gerät mit {{browser_name}} ausgelöst. - {% endif %}Falls die Kontoerstellung nicht von Dir initiiert wurde, ignoriere diese E-Mail bitte. -

-

Danke -
Dein FitTrackee Team

- - - - - {% endblock %} diff --git a/fittrackee/emails/templates/account_confirmation/de/body.txt b/fittrackee/emails/templates/account_confirmation/de/body.txt deleted file mode 100644 index 11b5009e..00000000 --- a/fittrackee/emails/templates/account_confirmation/de/body.txt +++ /dev/null @@ -1,12 +0,0 @@ -Hallo {{username}}, - -Du hast ein Konto bei FitTrackee angelegt. Verwende den unteren Link um Deine E-Mail Adresse zu bestätigen. - -Bestätige Deine E-Mail: {{ account_confirmation_url }} - -{% if operating_system and browser_name %}Zur Sicherheit: Diese Anfrage wurde von einem {{operating_system}} Gerät mit {{browser_name}} ausgelöst.. -{% endif %}Falls die Kontoerstellung nicht von Dir initiiert wurde, ignoriere diese E-Mail bitte. - -Danke -Dein FitTrackee Team -{{fittrackee_url}} diff --git a/fittrackee/emails/templates/account_confirmation/de/subject.txt b/fittrackee/emails/templates/account_confirmation/de/subject.txt deleted file mode 100644 index a169f78e..00000000 --- a/fittrackee/emails/templates/account_confirmation/de/subject.txt +++ /dev/null @@ -1 +0,0 @@ -FitTrackee - Bestätige Dein Konto \ No newline at end of file diff --git a/fittrackee/emails/templates/account_confirmation/en/body.txt b/fittrackee/emails/templates/account_confirmation/en/body.txt deleted file mode 100644 index 282b12cd..00000000 --- a/fittrackee/emails/templates/account_confirmation/en/body.txt +++ /dev/null @@ -1,12 +0,0 @@ -Hi {{username}}, - -You have created an account on FitTrackee. Use the link below to confirm your address email. - -Verify your email: {{ account_confirmation_url }} - -{% if operating_system and browser_name %}For security, this request was received from a {{operating_system}} device using {{browser_name}}. -{% endif %}If this account creation wasn't initiated by you, please ignore this email. - -Thanks, -The FitTrackee Team -{{fittrackee_url}} diff --git a/fittrackee/emails/templates/account_confirmation/en/subject.txt b/fittrackee/emails/templates/account_confirmation/en/subject.txt deleted file mode 100644 index 9d674bf7..00000000 --- a/fittrackee/emails/templates/account_confirmation/en/subject.txt +++ /dev/null @@ -1 +0,0 @@ -FitTrackee - Confirm your account \ No newline at end of file diff --git a/fittrackee/emails/templates/account_confirmation/fr/body.html b/fittrackee/emails/templates/account_confirmation/fr/body.html deleted file mode 100644 index f754a59c..00000000 --- a/fittrackee/emails/templates/account_confirmation/fr/body.html +++ /dev/null @@ -1,34 +0,0 @@ -{% extends "layout.html" %} -{% block title %}Confirmer votre inscription{% endblock %} -{% block preheader %}Utiliser ce lien pour confirmer votre inscription.{% endblock %} -{% block content %}

Bonjour {{username}},

-

Vous avez créé un compte sur FitTrackee. - Cliquez sur le lien ci-dessous pour confirmer votre adresse email. -

- - - - - -

- {% if operating_system and browser_name %}Pour vérification, cette demande a été reçue à partir d'un appareil sous {{operating_system}}, utilisant le navigateur {{browser_name}}. - {% endif %}Si vous n'êtes pas à l'origine de la création de ce compte, vous pouvez ignorer cet e-mail. -

-

Merci, -
L'équipe FitTrackee

- - - - - {% endblock %} \ No newline at end of file diff --git a/fittrackee/emails/templates/account_confirmation/fr/body.txt b/fittrackee/emails/templates/account_confirmation/fr/body.txt deleted file mode 100644 index d02375b0..00000000 --- a/fittrackee/emails/templates/account_confirmation/fr/body.txt +++ /dev/null @@ -1,13 +0,0 @@ -Bonjour {{username}}, - -Vous avez créé un compte sur FitTrackee. -Cliquez sur le lien ci-dessous pour confirmer votre adresse email. - -Vérifier l'adresse email : {{ account_confirmation_url }} - -{% if operating_system and browser_name %}Pour vérification, cette demande a été reçue à partir d'un appareil sous {{operating_system}}, utilisant le navigateur {{browser_name}}. -{% endif %}Si vous n'êtes pas à l'origine de la création de ce compte, vous pouvez ignorer cet e-mail. - -Merci, -L'équipe FitTrackee -{{fittrackee_url}} diff --git a/fittrackee/emails/templates/account_confirmation/fr/subject.txt b/fittrackee/emails/templates/account_confirmation/fr/subject.txt deleted file mode 100644 index 88b924a2..00000000 --- a/fittrackee/emails/templates/account_confirmation/fr/subject.txt +++ /dev/null @@ -1 +0,0 @@ -FitTrackee - Confirmer votre inscription \ No newline at end of file diff --git a/fittrackee/emails/templates/account_confirmation/subject.txt b/fittrackee/emails/templates/account_confirmation/subject.txt new file mode 100644 index 00000000..7384fa8f --- /dev/null +++ b/fittrackee/emails/templates/account_confirmation/subject.txt @@ -0,0 +1 @@ +FitTrackee - {{ _('Confirm your account') }} \ No newline at end of file diff --git a/fittrackee/emails/templates/email_update_to_current_email/body.html b/fittrackee/emails/templates/email_update_to_current_email/body.html new file mode 100644 index 00000000..cea39811 --- /dev/null +++ b/fittrackee/emails/templates/email_update_to_current_email/body.html @@ -0,0 +1,18 @@ +{% extends "layout.html" %} +{% block title %}{{ _('Email changed') }}{% endblock %} +{% block preheader %}{{ _('Your email is being updated.') }}{% endblock %} +{% block content %}

{{ _('You recently requested to change your email address for your FitTrackee account to:') }}

+ + + + + {% endblock %} +{% block not_initiated %}{{ _("If this email change wasn't initiated by you, please change your password immediately or contact your administrator if your account is locked.") }}{% endblock %} \ No newline at end of file diff --git a/fittrackee/emails/templates/email_update_to_current_email/body.txt b/fittrackee/emails/templates/email_update_to_current_email/body.txt new file mode 100644 index 00000000..6d73e862 --- /dev/null +++ b/fittrackee/emails/templates/email_update_to_current_email/body.txt @@ -0,0 +1,4 @@ +{% extends "layout.txt" %}{% block content %}{{ _('You recently requested to change your email address for your FitTrackee account to:') }} {{ new_email_address }} + +{{ _('For security, this request was received from a %(operating_system)s device using %(browser_name)s.', operating_system=operating_system, browser_name=browser_name) }} +{{ _("If this email change wasn't initiated by you, please change your password immediately or contact your administrator if your account is locked.") }}{% endblock %} \ No newline at end of file diff --git a/fittrackee/emails/templates/email_update_to_current_email/de/body.html b/fittrackee/emails/templates/email_update_to_current_email/de/body.html deleted file mode 100644 index 9f7acfe5..00000000 --- a/fittrackee/emails/templates/email_update_to_current_email/de/body.html +++ /dev/null @@ -1,26 +0,0 @@ -{% extends "layout.html" %} -{% block title %}E-Mail Adresse geändert{% endblock %} -{% block preheader %}Deine E-Mail Adresse wure aktualisiert.{% endblock %} -{% block content %}

Hallo {{username}},

-

Du hast kürzlich beantragt, die E-Mail Adresse Deines FitTrackee Kontos zu ändern. Neue Adresse:

- - - - - -

- Zur Sicherheit: Diese Anfrage wurde von einem {{operating_system}} Gerät mit {{browser_name}} ausgelöst. - Falls die Änderung der E-Mail Adresse nicht von Dir initiiert wurde, ändere bitte sofort Dein Passwort oder kontaktiere den Administrator, falls Dein Konto gesperrt ist. -

-

Danke -
- Dein FitTrackee Team -

{% endblock %} diff --git a/fittrackee/emails/templates/email_update_to_current_email/de/body.txt b/fittrackee/emails/templates/email_update_to_current_email/de/body.txt deleted file mode 100644 index b2da93ca..00000000 --- a/fittrackee/emails/templates/email_update_to_current_email/de/body.txt +++ /dev/null @@ -1,10 +0,0 @@ -Hallo {{username}}, - -Du hast kürzlich beantragt, die E-Mail Adresse Deines FitTrackee Kontos nach {{ new_email_address }} zu ändern. - -Zur Sicherheit: Diese Anfrage wurde von einem {{operating_system}} Gerät mit {{browser_name}} ausgelöst. -Falls die Änderung der E-Mail Adresse nicht von Dir initiiert wurde, ändere bitte sofort Dein Passwort oder kontaktiere den Administrator, falls Dein Konto gesperrt ist. - -Danke -Dein FitTrackee Team -{{fittrackee_url}} diff --git a/fittrackee/emails/templates/email_update_to_current_email/de/subject.txt b/fittrackee/emails/templates/email_update_to_current_email/de/subject.txt deleted file mode 100644 index 4ef5e1c5..00000000 --- a/fittrackee/emails/templates/email_update_to_current_email/de/subject.txt +++ /dev/null @@ -1 +0,0 @@ -FitTrackee - E-Mail Adresse geändert \ No newline at end of file diff --git a/fittrackee/emails/templates/email_update_to_current_email/en/body.html b/fittrackee/emails/templates/email_update_to_current_email/en/body.html deleted file mode 100644 index 9db94dbd..00000000 --- a/fittrackee/emails/templates/email_update_to_current_email/en/body.html +++ /dev/null @@ -1,26 +0,0 @@ -{% extends "layout.html" %} -{% block title %}Email changed{% endblock %} -{% block preheader %}Your email is being updated.{% endblock %} -{% block content %}

Hi {{username}},

-

You recently requested to change your email address for your FitTrackee account to:

- - - - - -

- For security, this request was received from a {{operating_system}} device using {{browser_name}}. - If this email change wasn't initiated by you, please change your password immediately or contact your administrator if your account is locked. -

-

Thanks, -
- The FitTrackee Team -

{% endblock %} \ No newline at end of file diff --git a/fittrackee/emails/templates/email_update_to_current_email/en/body.txt b/fittrackee/emails/templates/email_update_to_current_email/en/body.txt deleted file mode 100644 index 4e1f0929..00000000 --- a/fittrackee/emails/templates/email_update_to_current_email/en/body.txt +++ /dev/null @@ -1,10 +0,0 @@ -Hi {{username}}, - -You recently requested to change your email address for your FitTrackee account to: {{ new_email_address }} - -For security, this request was received from a {{operating_system}} device using {{browser_name}}. -If this email change wasn't initiated by you, please change your password immediately or contact your administrator if your account is locked. - -Thanks, -The FitTrackee Team -{{fittrackee_url}} diff --git a/fittrackee/emails/templates/email_update_to_current_email/en/subject.txt b/fittrackee/emails/templates/email_update_to_current_email/en/subject.txt deleted file mode 100644 index 990157cc..00000000 --- a/fittrackee/emails/templates/email_update_to_current_email/en/subject.txt +++ /dev/null @@ -1 +0,0 @@ -FitTrackee - Email changed \ No newline at end of file diff --git a/fittrackee/emails/templates/email_update_to_current_email/fr/body.html b/fittrackee/emails/templates/email_update_to_current_email/fr/body.html deleted file mode 100644 index 7b0718a7..00000000 --- a/fittrackee/emails/templates/email_update_to_current_email/fr/body.html +++ /dev/null @@ -1,26 +0,0 @@ -{% extends "layout.html" %} -{% block title %}Adresse email modifiée{% endblock %} -{% block preheader %}Votre adresse email est en cours de mise à jour.{% endblock %} -{% block content %}

Bonjour {{username}},

-

Vous avez récemment demandé la modification de l'adresse email associée à votre compte sur FitTrackee vers :

- - - - - -

- Pour vérification, cette demande a été reçue à partir d'un appareil sous {{operating_system}}, utilisant le navigateur {{browser_name}}. - Si vous n'êtes pas à l'origine de cette modification, veuillez changer votre mot de passe immédiatement ou contacter l'administrateur si votre compte est bloqué. -

-

Merci, -
- L'équipe FitTrackee -

{% endblock %} \ No newline at end of file diff --git a/fittrackee/emails/templates/email_update_to_current_email/fr/body.txt b/fittrackee/emails/templates/email_update_to_current_email/fr/body.txt deleted file mode 100644 index a9ac9114..00000000 --- a/fittrackee/emails/templates/email_update_to_current_email/fr/body.txt +++ /dev/null @@ -1,10 +0,0 @@ -Bonjour {{username}}, - -Vous avez récemment demandé la modification de l'adresse email associée à votre compte sur FitTrackee vers : {{ new_email_address }} - -Pour vérification, cette demande a été reçue à partir d'un appareil sous {{operating_system}}, utilisant le navigateur {{browser_name}}. -Si vous n'êtes pas à l'origine de cette modification, veuillez changer votre mot de passe immédiatement ou contacter l'administrateur si votre compte est bloqué. - -Merci, -L'équipe FitTrackee -{{fittrackee_url}} diff --git a/fittrackee/emails/templates/email_update_to_current_email/fr/subject.txt b/fittrackee/emails/templates/email_update_to_current_email/fr/subject.txt deleted file mode 100644 index 758affe3..00000000 --- a/fittrackee/emails/templates/email_update_to_current_email/fr/subject.txt +++ /dev/null @@ -1 +0,0 @@ -FitTrackee - Adresse email modifiée \ No newline at end of file diff --git a/fittrackee/emails/templates/email_update_to_current_email/subject.txt b/fittrackee/emails/templates/email_update_to_current_email/subject.txt new file mode 100644 index 00000000..cafccbac --- /dev/null +++ b/fittrackee/emails/templates/email_update_to_current_email/subject.txt @@ -0,0 +1 @@ +FitTrackee - {{ _('Email changed') }} \ No newline at end of file diff --git a/fittrackee/emails/templates/email_update_to_new_email/body.html b/fittrackee/emails/templates/email_update_to_new_email/body.html new file mode 100644 index 00000000..41274860 --- /dev/null +++ b/fittrackee/emails/templates/email_update_to_new_email/body.html @@ -0,0 +1,26 @@ +{% extends "layout.html" %} +{% block title %}{{ _('Confirm email change') }}{% endblock %} +{% block preheader %}{{ _('Use this link to confirm email change.') }}{% endblock %} +{% block content %}

{{ _('You recently requested to change your email address for your FitTrackee account.') }} {{ _('Use the button below to confirm this address.') }}

+ + + + + {% endblock %} +{% block not_initiated %}{{ _("If this email change wasn't initiated by you, please ignore this email.") }}{% endblock %} +{% block url_to_paste %} + + + + {% endblock %} \ No newline at end of file diff --git a/fittrackee/emails/templates/email_update_to_new_email/body.txt b/fittrackee/emails/templates/email_update_to_new_email/body.txt new file mode 100644 index 00000000..dbe46f0e --- /dev/null +++ b/fittrackee/emails/templates/email_update_to_new_email/body.txt @@ -0,0 +1,7 @@ +{% extends "layout.txt" %}{% block content %}{{ _('You recently requested to change your email address for your FitTrackee account.') }} +{{ _('Use the link below to confirm this address.') }} + +{{ _('Verify your email') }}: {{ email_confirmation_url }} + +{% if operating_system and browser_name %}{{ _('For security, this request was received from a %(operating_system)s device using %(browser_name)s.', operating_system=operating_system, browser_name=browser_name) }} +{% endif %}{{ _("If this email change wasn't initiated by you, please ignore this email.") }}{% endblock %} \ No newline at end of file diff --git a/fittrackee/emails/templates/email_update_to_new_email/de/body.html b/fittrackee/emails/templates/email_update_to_new_email/de/body.html deleted file mode 100644 index d4f35b4b..00000000 --- a/fittrackee/emails/templates/email_update_to_new_email/de/body.html +++ /dev/null @@ -1,32 +0,0 @@ -{% extends "layout.html" %} -{% block title %}Bestätige E-Mail Änderung{% endblock %} -{% block preheader %}Verwende den Link um die Änderung Deiner E-Mail Adresse zu bestätigen.{% endblock %} -{% block content %}

Hallo {{username}},

-

Du hast kürzlich beantragt, die E-Mail Adresse Deines FitTrackee Kontos zu ändern. Verwende den unteren Button um Deine Adresse zu bestätigen.

- - - - - -

- {% if operating_system and browser_name %}Zur Sicherheit: Diese Anfrage wurde von einem {{operating_system}} Gerät mit {{browser_name}} ausgelöst. - {% endif %}Falls die Änderung der E-Mail Adresse nicht von Dir initiiert wurde, ignoriere diese E-Mail bitte. -

-

Danke -
Dein FitTrackee Team

- - - - - {% endblock %} diff --git a/fittrackee/emails/templates/email_update_to_new_email/de/body.txt b/fittrackee/emails/templates/email_update_to_new_email/de/body.txt deleted file mode 100644 index c7349fba..00000000 --- a/fittrackee/emails/templates/email_update_to_new_email/de/body.txt +++ /dev/null @@ -1,12 +0,0 @@ -Hallo {{username}}, - -Du hast kürzlich beantragt, die E-Mail Adresse Deines FitTrackee Kontos zu ändern. Verwende den unteren Link um Deine Adresse zu bestätigen. - -Bestätige Deine E-Mail: {{ email_confirmation_url }} - -{% if operating_system and browser_name %}Zur Sicherheit: Diese Anfrage wurde von einem {{operating_system}} Gerät mit {{browser_name}} ausgelöst. -{% endif %}Falls die Änderung der E-Mail Adresse nicht von Dir initiiert wurde, ignoriere diese E-Mail bitte. - -Danke -Dein FitTrackee Team -{{fittrackee_url}} diff --git a/fittrackee/emails/templates/email_update_to_new_email/de/subject.txt b/fittrackee/emails/templates/email_update_to_new_email/de/subject.txt deleted file mode 100644 index 105c8a22..00000000 --- a/fittrackee/emails/templates/email_update_to_new_email/de/subject.txt +++ /dev/null @@ -1 +0,0 @@ -FitTrackee - Bestätige E-Mail Änderung \ No newline at end of file diff --git a/fittrackee/emails/templates/email_update_to_new_email/en/body.html b/fittrackee/emails/templates/email_update_to_new_email/en/body.html deleted file mode 100644 index 6a27eeca..00000000 --- a/fittrackee/emails/templates/email_update_to_new_email/en/body.html +++ /dev/null @@ -1,32 +0,0 @@ -{% extends "layout.html" %} -{% block title %}Confirm email change{% endblock %} -{% block preheader %}Use this link to confirm email change.{% endblock %} -{% block content %}

Hi {{username}},

-

You recently requested to change your email address for your FitTrackee account. Use the button below to confirm this address.

- - - - - -

- {% if operating_system and browser_name %}For security, this request was received from a {{operating_system}} device using {{browser_name}}. - {% endif %}If this email change wasn't initiated by you, please ignore this email. -

-

Thanks, -
The FitTrackee Team

- - - - - {% endblock %} \ No newline at end of file diff --git a/fittrackee/emails/templates/email_update_to_new_email/en/body.txt b/fittrackee/emails/templates/email_update_to_new_email/en/body.txt deleted file mode 100644 index 9234510b..00000000 --- a/fittrackee/emails/templates/email_update_to_new_email/en/body.txt +++ /dev/null @@ -1,12 +0,0 @@ -Hi {{username}}, - -You recently requested to change your email address for your FitTrackee account. Use the link below to confirm this address. - -Verify your email: {{ email_confirmation_url }} - -{% if operating_system and browser_name %}For security, this request was received from a {{operating_system}} device using {{browser_name}}. -{% endif %}If this email change wasn't initiated by you, please ignore this email. - -Thanks, -The FitTrackee Team -{{fittrackee_url}} diff --git a/fittrackee/emails/templates/email_update_to_new_email/en/subject.txt b/fittrackee/emails/templates/email_update_to_new_email/en/subject.txt deleted file mode 100644 index 9b73071c..00000000 --- a/fittrackee/emails/templates/email_update_to_new_email/en/subject.txt +++ /dev/null @@ -1 +0,0 @@ -FitTrackee - Confirm email change \ No newline at end of file diff --git a/fittrackee/emails/templates/email_update_to_new_email/fr/body.html b/fittrackee/emails/templates/email_update_to_new_email/fr/body.html deleted file mode 100644 index f680a2f4..00000000 --- a/fittrackee/emails/templates/email_update_to_new_email/fr/body.html +++ /dev/null @@ -1,34 +0,0 @@ -{% extends "layout.html" %} -{% block title %}Confirmer le changement d'adresse email{% endblock %} -{% block preheader %}Utiliser ce lien pour confirmer cette adresse email.{% endblock %} -{% block content %}

Bonjour {{username}},

-

Vous avez récemment demandé la modification de l'adresse email associée à votre compte sur FitTrackee. - Cliquez sur le bouton ci-dessous pour confirmer cette adresse email. -

- - - - - -

- {% if operating_system and browser_name %}Pour vérification, cette demande a été reçue à partir d'un appareil sous {{operating_system}}, utilisant le navigateur {{browser_name}}. - {% endif %}Si vous n'êtes pas à l'origine de cette modification, vous pouvez ignorer cet e-mail. -

-

Merci, -
L'équipe FitTrackee

- - - - - {% endblock %} \ No newline at end of file diff --git a/fittrackee/emails/templates/email_update_to_new_email/fr/body.txt b/fittrackee/emails/templates/email_update_to_new_email/fr/body.txt deleted file mode 100644 index f6c8d6e6..00000000 --- a/fittrackee/emails/templates/email_update_to_new_email/fr/body.txt +++ /dev/null @@ -1,13 +0,0 @@ -Bonjour {{username}}, - -Vous avez récemment demandé la modification de l'adresse email associée à votre compte sur FitTrackee. -Cliquez sur le lien ci-dessous pour confirmer cette adresse email. - -Vérifier l'adresse email : {{ email_confirmation_url }} - -{% if operating_system and browser_name %}Pour vérification, cette demande a été reçue à partir d'un appareil sous {{operating_system}}, utilisant le navigateur {{browser_name}}. -{% endif %}Si vous n'êtes pas à l'origine de cette modification, vous pouvez ignorer cet e-mail. - -Merci, -L'équipe FitTrackee -{{fittrackee_url}} diff --git a/fittrackee/emails/templates/email_update_to_new_email/fr/subject.txt b/fittrackee/emails/templates/email_update_to_new_email/fr/subject.txt deleted file mode 100644 index 3fed649e..00000000 --- a/fittrackee/emails/templates/email_update_to_new_email/fr/subject.txt +++ /dev/null @@ -1 +0,0 @@ -FitTrackee - Confirmer le changement d'adresse email \ No newline at end of file diff --git a/fittrackee/emails/templates/email_update_to_new_email/subject.txt b/fittrackee/emails/templates/email_update_to_new_email/subject.txt new file mode 100644 index 00000000..1998e3f2 --- /dev/null +++ b/fittrackee/emails/templates/email_update_to_new_email/subject.txt @@ -0,0 +1 @@ +FitTrackee - {{ _('Confirm email change') }} \ No newline at end of file diff --git a/fittrackee/emails/templates/layout.html b/fittrackee/emails/templates/layout.html index 94bb4dd6..41fb8752 100644 --- a/fittrackee/emails/templates/layout.html +++ b/fittrackee/emails/templates/layout.html @@ -212,7 +212,15 @@
+

{{ _('Hi %(username)s,', username=username) }}

{% block content %}{% endblock %} +

+ {% if operating_system and browser_name %}{{ _('For security, this request was received from a %(operating_system)s device using %(browser_name)s.', operating_system=operating_system, browser_name=browser_name) }} + {% endif %}{% block not_initiated %}{% endblock %} +

+

{{ _('Thanks,') }} +
{{ _('The FitTrackee Team') }}

+ {% block url_to_paste %}{% endblock %}
diff --git a/fittrackee/emails/templates/layout.txt b/fittrackee/emails/templates/layout.txt new file mode 100644 index 00000000..22c5d88a --- /dev/null +++ b/fittrackee/emails/templates/layout.txt @@ -0,0 +1,7 @@ +{{ _('Hi %(username)s,', username=username) }} + +{% block content %}{% endblock %} + +{{ _('Thanks,') }} +{{ _('The FitTrackee Team') }} +{{fittrackee_url}} diff --git a/fittrackee/emails/templates/password_change/body.html b/fittrackee/emails/templates/password_change/body.html new file mode 100644 index 00000000..450254aa --- /dev/null +++ b/fittrackee/emails/templates/password_change/body.html @@ -0,0 +1,5 @@ +{% extends "layout.html" %} +{% block title %}{{ _('Password changed') }}{% endblock %} +{% block preheader %}{{ _('Your password has been changed.') }}{% endblock %} +{% block content %}

{{ _('The password for your FitTrackee account has been changed.') }}

{% endblock %} +{% block not_initiated %}{{ _("If this password change wasn't initiated by you, please change your password immediately or contact your administrator if your account is locked.") }}{% endblock %} \ No newline at end of file diff --git a/fittrackee/emails/templates/password_change/body.txt b/fittrackee/emails/templates/password_change/body.txt new file mode 100644 index 00000000..aad35cdb --- /dev/null +++ b/fittrackee/emails/templates/password_change/body.txt @@ -0,0 +1,4 @@ +{% extends "layout.txt" %}{% block content %}{{ _('The password for your FitTrackee account has been changed.') }} + +{% if operating_system and browser_name %}{{ _('For security, this request was received from a %(operating_system)s device using %(browser_name)s.', operating_system=operating_system, browser_name=browser_name) }} +{% endif %}{{ _("If this password change wasn't initiated by you, please change your password immediately or contact your administrator if your account is locked.") }}{% endblock %} \ No newline at end of file diff --git a/fittrackee/emails/templates/password_change/de/body.html b/fittrackee/emails/templates/password_change/de/body.html deleted file mode 100644 index 4dc15403..00000000 --- a/fittrackee/emails/templates/password_change/de/body.html +++ /dev/null @@ -1,13 +0,0 @@ -{% extends "layout.html" %} -{% block title %}Passwort geändert{% endblock %} -{% block preheader %}Dein Passwort wurde geändert.{% endblock %} -{% block content %}

Hallo {{username}},

-

Das Passwort Deines FitTrackee Kontos wurde geändert.

-

- {% if operating_system and browser_name %}Zur Sicherheit: Diese Anfrage wurde von einem {{operating_system}} Gerät mit {{browser_name}} ausgelöst. - {% endif %}Falls die Änderung des Passworts nicht von Dir initiiert wurde, ändere bitte sofort Dein Passwort oder kontaktiere den Administrator, falls Dein Konto gesperrt ist. -

-

Danke -
- Dein FitTrackee Team -

{% endblock %} diff --git a/fittrackee/emails/templates/password_change/de/body.txt b/fittrackee/emails/templates/password_change/de/body.txt deleted file mode 100644 index c49c132d..00000000 --- a/fittrackee/emails/templates/password_change/de/body.txt +++ /dev/null @@ -1,10 +0,0 @@ -Hallo {{username}}, - -Das Passwort Deines FitTrackee Kontos wurde geändert. - -{% if operating_system and browser_name %}Zur Sicherheit: Diese Anfrage wurde von einem {{operating_system}} Gerät mit {{browser_name}} ausgelöst. -{% endif %}Falls die Änderung des Passworts nicht von Dir initiiert wurde, ändere bitte sofort Dein Passwort oder kontaktiere den Administrator, falls Dein Konto gesperrt ist. - -Danke -Dein FitTrackee Team -{{fittrackee_url}} diff --git a/fittrackee/emails/templates/password_change/de/subject.txt b/fittrackee/emails/templates/password_change/de/subject.txt deleted file mode 100644 index 35ba177a..00000000 --- a/fittrackee/emails/templates/password_change/de/subject.txt +++ /dev/null @@ -1 +0,0 @@ -FitTrackee - Passwort geändert \ No newline at end of file diff --git a/fittrackee/emails/templates/password_change/en/body.html b/fittrackee/emails/templates/password_change/en/body.html deleted file mode 100644 index 345009d1..00000000 --- a/fittrackee/emails/templates/password_change/en/body.html +++ /dev/null @@ -1,13 +0,0 @@ -{% extends "layout.html" %} -{% block title %}Password changed{% endblock %} -{% block preheader %}Your password has been changed.{% endblock %} -{% block content %}

Hi {{username}},

-

The password for your FitTrackee account has been changed.

-

- {% if operating_system and browser_name %}For security, this request was received from a {{operating_system}} device using {{browser_name}}. - {% endif %}If this password change wasn't initiated by you, please change your password immediately or contact your administrator if your account is locked. -

-

Thanks, -
- The FitTrackee Team -

{% endblock %} \ No newline at end of file diff --git a/fittrackee/emails/templates/password_change/en/body.txt b/fittrackee/emails/templates/password_change/en/body.txt deleted file mode 100644 index 9675f8a6..00000000 --- a/fittrackee/emails/templates/password_change/en/body.txt +++ /dev/null @@ -1,10 +0,0 @@ -Hi {{username}}, - -The password for your FitTrackee account has been changed. - -{% if operating_system and browser_name %}For security, this request was received from a {{operating_system}} device using {{browser_name}}. -{% endif %}If this password change wasn't initiated by you, please change your password immediately or contact your administrator if your account is locked. - -Thanks, -The FitTrackee Team -{{fittrackee_url}} diff --git a/fittrackee/emails/templates/password_change/en/subject.txt b/fittrackee/emails/templates/password_change/en/subject.txt deleted file mode 100644 index 2669367f..00000000 --- a/fittrackee/emails/templates/password_change/en/subject.txt +++ /dev/null @@ -1 +0,0 @@ -FitTrackee - Password changed \ No newline at end of file diff --git a/fittrackee/emails/templates/password_change/fr/body.html b/fittrackee/emails/templates/password_change/fr/body.html deleted file mode 100644 index 0cf5fdd8..00000000 --- a/fittrackee/emails/templates/password_change/fr/body.html +++ /dev/null @@ -1,13 +0,0 @@ -{% extends "layout.html" %} -{% block title %}FitTrackee - Mot de passe modifié{% endblock %} -{% block preheader %}Votre mot de passe a été modifié.{% endblock %} -{% block content %}

Bonjour {{username}},

-

Le mot de passe de votre compte FitTrackee a été modifié.

-

- {% if operating_system and browser_name %}Pour vérification, cette demande a été reçue à partir d'un appareil sous {{operating_system}}, utilisant le navigateur {{browser_name}}. - {% endif %}Si vous n'êtes pas à l'origine de cette modification, veuillez changer votre mot de passe immédiatement ou contacter l'administrateur si votre compte est bloqué. -

-

Merci, -
- L'équipe FitTrackee -

{% endblock %} \ No newline at end of file diff --git a/fittrackee/emails/templates/password_change/fr/body.txt b/fittrackee/emails/templates/password_change/fr/body.txt deleted file mode 100644 index f353f1a6..00000000 --- a/fittrackee/emails/templates/password_change/fr/body.txt +++ /dev/null @@ -1,10 +0,0 @@ -Bonjour {{username}}, - -Le mot de passe de votre compte FitTrackee a été modifié. - -{% if operating_system and browser_name %}Pour vérification, cette demande a été reçue à partir d'un appareil sous {{operating_system}}, utilisant le navigateur {{browser_name}}. -{% endif %}Si vous n'êtes pas à l'origine de cette modification, veuillez changer votre mot de passe immédiatement ou contacter l'administrateur si votre compte est bloqué. - -Merci, -L'équipe FitTrackee -{{fittrackee_url}} diff --git a/fittrackee/emails/templates/password_change/fr/subject.txt b/fittrackee/emails/templates/password_change/fr/subject.txt deleted file mode 100644 index 7ec45c21..00000000 --- a/fittrackee/emails/templates/password_change/fr/subject.txt +++ /dev/null @@ -1 +0,0 @@ -FitTrackee - Mot de passe modifié \ No newline at end of file diff --git a/fittrackee/emails/templates/password_change/subject.txt b/fittrackee/emails/templates/password_change/subject.txt new file mode 100644 index 00000000..f5e9c665 --- /dev/null +++ b/fittrackee/emails/templates/password_change/subject.txt @@ -0,0 +1 @@ +FitTrackee - {{ _('Password changed') }} \ No newline at end of file diff --git a/fittrackee/emails/templates/password_reset_request/body.html b/fittrackee/emails/templates/password_reset_request/body.html new file mode 100644 index 00000000..6bf31a96 --- /dev/null +++ b/fittrackee/emails/templates/password_reset_request/body.html @@ -0,0 +1,28 @@ +{% extends "layout.html" %} +{% block title %}{{ _('Password reset request') }}{% endblock %} +{% block preheader %}{{ _('Use this link to reset your password. The link is only valid for %(expiration_delay)s.', expiration_delay=expiration_delay) }}{% endblock %} +{% block content %}

{{ _('You recently requested to reset your password for your FitTrackee account.') }} {{ _('Use the button below to reset it.') }} + {{ _('This password reset link is only valid for %(expiration_delay)s.', expiration_delay=expiration_delay) }} +

+ + + + + {% endblock %} +{% block not_initiated %}{{ _('If you did not request a password reset, please ignore this email.') }}{% endblock %} +{% block url_to_paste %} + + + + {% endblock %} \ No newline at end of file diff --git a/fittrackee/emails/templates/password_reset_request/body.txt b/fittrackee/emails/templates/password_reset_request/body.txt new file mode 100644 index 00000000..312de8cb --- /dev/null +++ b/fittrackee/emails/templates/password_reset_request/body.txt @@ -0,0 +1,7 @@ +{% extends "layout.txt" %}{% block content %}{{ _('You recently requested to reset your password for your FitTrackee account.') }} {{ _('Use the link below to reset it.') }} +{{ _('This password reset link is only valid for %(expiration_delay)s.', expiration_delay=expiration_delay) }} + +{{ _('Reset your password') }}: {{ password_reset_url }} + +{% if operating_system and browser_name %}{{ _('For security, this request was received from a %(operating_system)s device using %(browser_name)s.', operating_system=operating_system, browser_name=browser_name) }} +{% endif %}{{ _('If you did not request a password reset, please ignore this email.') }}{% endblock %} \ No newline at end of file diff --git a/fittrackee/emails/templates/password_reset_request/de/body.html b/fittrackee/emails/templates/password_reset_request/de/body.html deleted file mode 100644 index 4b32c2a2..00000000 --- a/fittrackee/emails/templates/password_reset_request/de/body.html +++ /dev/null @@ -1,34 +0,0 @@ -{% extends "layout.html" %} -{% block title %}Anfrage zum Zurücksetzen des Passworts{% endblock %} -{% block preheader %}Verwende den unteren Link um Dein Passwort zurückzusetzen. Der Link ist nur für {{ expiration_delay }} gültig.{% endblock %} -{% block content %}

Hallo {{username}},

-

Du hast kürzlich beantragt, das Passwort Deines FitTrackee Kontos zurückzusetzen. Verwende den unteren Button um es zurückzusetzen. - Der Link ist nur für {{ expiration_delay }} gültig. -

- - - - - -

- {% if operating_system and browser_name %}Zur Sicherheit: Diese Anfrage wurde von einem {{operating_system}} Gerät mit {{browser_name}} ausgelöst. - {% endif %}Falls Du das Zurücksetzen des Passworts nicht angefordert hast, igoniere diese E-Mail bitte. -

-

Danke -
Dein FitTrackee Team

- - - - - {% endblock %} diff --git a/fittrackee/emails/templates/password_reset_request/de/body.txt b/fittrackee/emails/templates/password_reset_request/de/body.txt deleted file mode 100644 index cbc3f9a9..00000000 --- a/fittrackee/emails/templates/password_reset_request/de/body.txt +++ /dev/null @@ -1,12 +0,0 @@ -Hallo {{username}}, - -Du hast kürzlich beantragt, das Passwort Deines FitTrackee Kontos zurückzusetzen. Verwende den unteren Link um es zurückzusetzen. Der Link ist nur für {{ expiration_delay }} gültig. - -Setze Dein Passwort zurück: {{ password_reset_url }} - -{% if operating_system and browser_name %}Zur Sicherheit: Diese Anfrage wurde von einem {{operating_system}} Gerät mit {{browser_name}} ausgelöst. -{% endif %}Falls Du das Zurücksetzen des Passworts nicht angefordert hast, igoniere diese E-Mail bitte. - -Danke -Dein FitTrackee Team -{{fittrackee_url}} diff --git a/fittrackee/emails/templates/password_reset_request/de/subject.txt b/fittrackee/emails/templates/password_reset_request/de/subject.txt deleted file mode 100644 index 17c96cd1..00000000 --- a/fittrackee/emails/templates/password_reset_request/de/subject.txt +++ /dev/null @@ -1 +0,0 @@ -FitTrackee - Anfrage zum Zurücksetzen des Passworts \ No newline at end of file diff --git a/fittrackee/emails/templates/password_reset_request/en/body.html b/fittrackee/emails/templates/password_reset_request/en/body.html deleted file mode 100644 index f5c3ac20..00000000 --- a/fittrackee/emails/templates/password_reset_request/en/body.html +++ /dev/null @@ -1,34 +0,0 @@ -{% extends "layout.html" %} -{% block title %}Password reset request{% endblock %} -{% block preheader %}Use this link to reset your password. The link is only valid for {{ expiration_delay }}.{% endblock %} -{% block content %}

Hi {{username}},

-

You recently requested to reset your password for your account. Use the button below to reset it. - This password reset link is only valid for {{ expiration_delay }}. -

- - - - - -

- {% if operating_system and browser_name %}For security, this request was received from a {{operating_system}} device using {{browser_name}}. - {% endif %}If you did not request a password reset, please ignore this email. -

-

Thanks, -
The FitTrackee Team

- - - - - {% endblock %} \ No newline at end of file diff --git a/fittrackee/emails/templates/password_reset_request/en/body.txt b/fittrackee/emails/templates/password_reset_request/en/body.txt deleted file mode 100644 index e988062d..00000000 --- a/fittrackee/emails/templates/password_reset_request/en/body.txt +++ /dev/null @@ -1,12 +0,0 @@ -Hi {{username}}, - -You recently requested to reset your password for your FitTrackee account. Use the link below to reset it. This password reset link is only valid for {{ expiration_delay }}. - -Reset your password: {{ password_reset_url }} - -{% if operating_system and browser_name %}For security, this request was received from a {{operating_system}} device using {{browser_name}}. -{% endif %}If you did not request a password reset, please ignore this email. - -Thanks, -The FitTrackee Team -{{fittrackee_url}} diff --git a/fittrackee/emails/templates/password_reset_request/en/subject.txt b/fittrackee/emails/templates/password_reset_request/en/subject.txt deleted file mode 100644 index d8033bea..00000000 --- a/fittrackee/emails/templates/password_reset_request/en/subject.txt +++ /dev/null @@ -1 +0,0 @@ -FitTrackee - Password reset request \ No newline at end of file diff --git a/fittrackee/emails/templates/password_reset_request/fr/body.html b/fittrackee/emails/templates/password_reset_request/fr/body.html deleted file mode 100644 index 505d5c57..00000000 --- a/fittrackee/emails/templates/password_reset_request/fr/body.html +++ /dev/null @@ -1,35 +0,0 @@ -{% extends "layout.html" %} -{% block title %}Réinitialiser le mot de passe{% endblock %} -{% block preheader %}Utiliser ce lien pour réinitialiser le mot de passe. Ce lien n'est valide que pendant {{ expiration_delay }}.{% endblock %} -{% block content %}

Bonjour {{username}},

-

Vous avez récemment demandé la réinitialisation du mot de passe de votre compte sur FitTrackee. - Cliquez sur le bouton ci-dessous pour le réinitialiser. - Cette réinitialisation n'est valide que pendant {{ expiration_delay }}. -

- - - - - -

- {% if operating_system and browser_name %}Pour vérification, cette demande a été reçue à partir d'un appareil sous {{operating_system}}, utilisant le navigateur {{browser_name}}. - {% endif %}Si vous n'avez pas demandé de réinitialisation, vous pouvez ignorer cet e-mail. -

-

Merci, -
L'équipe FitTrackee

- - - - - {% endblock %} \ No newline at end of file diff --git a/fittrackee/emails/templates/password_reset_request/fr/body.txt b/fittrackee/emails/templates/password_reset_request/fr/body.txt deleted file mode 100644 index 02195bd5..00000000 --- a/fittrackee/emails/templates/password_reset_request/fr/body.txt +++ /dev/null @@ -1,13 +0,0 @@ -Bonjour {{username}}, - -Vous avez récemment demandé la réinitialisation du mot de passe de votre compte sur FitTrackee. -Cliquez sur le lien ci-dessous pour le réinitialiser. Ce lien n'est valide que pendant {{ expiration_delay }}. - -Réinitialiser le mot de passe : {{ password_reset_url }} - -{% if operating_system and browser_name %}Pour vérification, cette demande a été reçue à partir d'un appareil sous {{operating_system}}, utilisant le navigateur {{browser_name}}. -{% endif %}Si vous n'avez pas demandé de réinitialisation, vous pouvez ignorer cet e-mail. - -Merci, -L'équipe FitTrackee -{{fittrackee_url}} diff --git a/fittrackee/emails/templates/password_reset_request/fr/subject.txt b/fittrackee/emails/templates/password_reset_request/fr/subject.txt deleted file mode 100644 index 2856fcc5..00000000 --- a/fittrackee/emails/templates/password_reset_request/fr/subject.txt +++ /dev/null @@ -1 +0,0 @@ -FitTrackee - Réinitialiser votre mot de passe \ No newline at end of file diff --git a/fittrackee/emails/templates/password_reset_request/subject.txt b/fittrackee/emails/templates/password_reset_request/subject.txt new file mode 100644 index 00000000..ab15c328 --- /dev/null +++ b/fittrackee/emails/templates/password_reset_request/subject.txt @@ -0,0 +1 @@ +FitTrackee - {{ _('Password reset request') }} \ No newline at end of file diff --git a/fittrackee/emails/translations/de/LC_MESSAGES/messages.mo b/fittrackee/emails/translations/de/LC_MESSAGES/messages.mo new file mode 100644 index 0000000000000000000000000000000000000000..4e0ce9c8838a1d605adfe861cc221986d6876232 GIT binary patch literal 4891 zcmchaO>7)R7RPH@K9=G8BMSlq53L{xanFt?K%z;4VrM47FitFc60|F!sAu|3yKqm{ z&|U3eEFpmeCnOLO2yx(o5Elf8J?tski$Owr+5;CZD=i0v#EBaSkoZ?u_snE4wiA(! zWc||Z>ZFe(uB1qkphZz$^AovXUAov=10Q?x71-}Fz0B^u%4}%ACE`#UrJOpn8{{ub(eg&?8H~mS7 zCC~?-0{;P8U491be)n82#2e742HuP3f0u;V1AYzO4gLf^2kyDS`STKJ&wC5}2>ceb z{=ajh5Fdg+g3p5QL)0!PZWiKpAO!b<8=yVseGsmTe}Oh0pMsBrUxHSLTW=BKC|Czi zfG>kp@H5cr_dPfV9)#!>Fa_=V4?+9=|3D4yfhc!@uY!+&?}2UbbFc*-fN@r*mq2UZ z7vTNiPoOxVRaeG6;+`)f>a6-I@cMX-eN^N)`NuO^UCk> z{-i9Plz5rqje9X87P{`B+#>44j2*SIC#t=Mq>@JZ2B)@%1lwn*AF-b>$x!K--N%`u z<YgC2}Z3_QoLWH*276eVaD z>CPGlmub#6ZjG$VP2NeNE9x2aqCf_uv>7FdKNc|Ngv}1I!WMfG!Bv0V=8B1R+K!k8 z(ySt?OzqSdpX)H^oQiDz#d_2*qP2QH>u5$9w14Kc3~KBoAR71i=`r*PKjXr zA~UbBTP#~+FU|nbLe;D#Ga%DRXM-pHRp75ATtpSjwe0-o@(7@O-sv7r%XiGgg}Mip=m`TCnxn?asgWi|NyComt%`T%Roa!pJR_xiek4 zZn4ZAlr1XaR3@7R*>SrK(>ac1H)~k2(^dQp1%p&)*Wu95eB^fCG?3=w>?vnUZL?Jd z36XbTd|+M8db!It=WY?a?b6Wb+V8#Rc1CWYV3yFCrei+~@3XCPm24Tb*|vkUAK0#+ z|FVb#6r8T8rC2}59pfzo9z;)2EHzqMKJ!%LM2pTfmRA>_*}id+*nyDEuCq3C-Te3tK;k%RV&r1S2^TWsx*73cJR=FO0`nKLT?$D zoIPoab%$%!$K1Lm8kL8>p_0hn6g4_|w%Mf9bBhf+dePBOl$yAqQ$NI!0goO$+iUC_ zI@)X=k7QZL;S;5$D2@Hd!&Ti&YNYzvV{)u|1oxu-&9Qxo9y~^~`;U|s7Zw|1O=ioL z5(Wc_!NxZ{ABiY%B zYisSyjhNUxwoMDOkPNljK?LlMc7`da$63k-NNe3jA}N}8(~#S0P4_2uvU5<1$tdJD zG6Cs|%CZr~SI=-epN4Faj3y#8QDj9qZKS>J+!8C+*QpHKa59KGW+fI`7ESc`Y*wm6 zts;`ns$}A>bCs3kwLGf)GWLq8>EmjU!KJme|kCg7CT%a zYmMuP%0)MK(xt)fVp7PCtRNv~_1oD7O?d%48PXVvjgP z!z`ArAze2jTocGLU*T`X5FNl?B~u~E&e^IWkXx>=sWP4B6xW_h+}ag6Vuww4Rm0OE iKn, 2022. +# +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2022-07-02 17:37+0200\n" +"PO-Revision-Date: 2022-07-02 18:25+0200\n" +"Last-Translator: FULL NAME \n" +"Language: de\n" +"Language-Team: de \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.10.3\n" + +#: fittrackee/emails/templates/layout.html:215 +#: fittrackee/emails/templates/layout.txt:1 +#, python-format +msgid "Hi %(username)s," +msgstr "Hallo %(username)s," + +#: 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:5 +#: 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 "" +"Zur Sicherheit: Diese Anfrage wurde von einem %(operating_system)s Gerät " +"mit %(browser_name)s ausgelöst." + +#: fittrackee/emails/templates/layout.html:221 +#: fittrackee/emails/templates/layout.txt:5 +msgid "Thanks," +msgstr "Danke" + +#: fittrackee/emails/templates/layout.html:222 +#: fittrackee/emails/templates/layout.txt:6 +msgid "The FitTrackee Team" +msgstr "Dein FitTrackee Team" + +#: fittrackee/emails/templates/account_confirmation/body.html:2 +#: fittrackee/emails/templates/account_confirmation/subject.txt:1 +msgid "Confirm your account" +msgstr "Bestätige Dein Konto" + +#: fittrackee/emails/templates/account_confirmation/body.html:3 +msgid "Use this link to confirm your account." +msgstr "Verwendet diesen Link um Dein Konto zu bestätigen." + +#: 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 "Du hast ein Konto bei FitTrackee angelegt." + +#: fittrackee/emails/templates/account_confirmation/body.html:4 +msgid "Use the button below to confirm your address email." +msgstr "Verwende den unteren Button um Deine E-Mail Adresse zu bestätigen." + +#: 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:3 +msgid "Verify your email" +msgstr "Bestätige Deine E-Mail" + +#: 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 "" +"Falls die Kontoerstellung nicht von Dir initiiert wurde, ignoriere diese " +"E-Mail bitte." + +#: fittrackee/emails/templates/account_confirmation/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 "" +"Falls Du Probleme mit dem oberen Button hast, kopiere diese URL und gebe " +"sie in Deinen Webbrowser ein." + +#: fittrackee/emails/templates/account_confirmation/body.txt:2 +msgid "Use the link below to confirm your address email." +msgstr "Verwende den unteren Link um Deine E-Mail Adresse zu bestätigen." + +#: 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 "E-Mail Adresse geändert" + +#: fittrackee/emails/templates/email_update_to_current_email/body.html:3 +msgid "Your email is being updated." +msgstr "Deine E-Mail Adresse wure aktualisiert." + +#: 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 "" +"Du hast kürzlich beantragt, die E-Mail Adresse Deines FitTrackee Kontos " +"zu ändern. Neue Adresse:" + +#: 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 "" +"Falls die Änderung der E-Mail Adresse nicht von Dir initiiert wurde, " +"ändere bitte sofort Dein Passwort oder kontaktiere den Administrator, " +"falls Dein Konto gesperrt ist." + +#: 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 "Bestätige E-Mail Änderung" + +#: fittrackee/emails/templates/email_update_to_new_email/body.html:3 +msgid "Use this link to confirm email change." +msgstr "Verwende den unteren Link um Deine Adresse zu bestätigen." + +#: 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 "" +"Du hast kürzlich beantragt, die E-Mail Adresse Deines FitTrackee Kontos " +"zu ändern." + +#: fittrackee/emails/templates/email_update_to_new_email/body.html:4 +msgid "Use the button below to confirm this address." +msgstr "Verwende den unteren Button um Deine Adresse zu bestätigen." + +#: fittrackee/emails/templates/email_update_to_new_email/body.html:18 +#: fittrackee/emails/templates/email_update_to_new_email/body.txt:6 +msgid "If this email change wasn't initiated by you, please ignore this email." +msgstr "" +"Falls die Änderung der E-Mail Adresse nicht von Dir initiiert wurde, " +"ignoriere diese E-Mail bitte." + +#: fittrackee/emails/templates/email_update_to_new_email/body.txt:1 +msgid "Use the link below to confirm this address." +msgstr "Verwende den unteren Link um Deine Adresse zu bestätigen." + +#: fittrackee/emails/templates/password_change/body.html:2 +#: fittrackee/emails/templates/password_change/subject.txt:1 +msgid "Password changed" +msgstr "Passwort geändert" + +#: fittrackee/emails/templates/password_change/body.html:3 +msgid "Your password has been changed." +msgstr "Dein Passwort wurde geändert." + +#: 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 "Das Passwort Deines FitTrackee Kontos wurde geändert." + +#: 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 "" +"Falls die Änderung des Passworts nicht von Dir initiiert wurde, ändere " +"bitte sofort Dein Passwort oder kontaktiere den Administrator, falls Dein " +"Konto gesperrt ist." + +#: fittrackee/emails/templates/password_reset_request/body.html:2 +#: fittrackee/emails/templates/password_reset_request/subject.txt:1 +msgid "Password reset request" +msgstr "Anfrage zum Zurücksetzen des Passworts" + +#: 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 "" +"Verwende den unteren Link um Dein Passwort zurückzusetzen. Der Link " +"ist nur für %(expiration_delay)s gültig." + +#: 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 "" +"Du hast kürzlich beantragt, das Passwort Deines FitTrackee Kontos " +"zurückzusetzen." + +#: fittrackee/emails/templates/password_reset_request/body.html:4 +msgid "Use the button below to reset it." +msgstr "Verwende den unteren Button um es zurückzusetzen." + +#: 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 "Der Link ist nur für %(expiration_delay)s gültig." + +#: fittrackee/emails/templates/password_reset_request/body.html:13 +#: fittrackee/emails/templates/password_reset_request/body.txt:4 +msgid "Reset your password" +msgstr "Setze Dein Passwort zurück" + +#: 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 "" +"Falls Du das Zurücksetzen des Passworts nicht angefordert hast, igoniere " +"diese E-Mail bitte." + +#: fittrackee/emails/templates/password_reset_request/body.txt:1 +msgid "Use the link below to reset it." +msgstr "Verwende den unteren Link um es zurückzusetzen." + diff --git a/fittrackee/emails/translations/en/LC_MESSAGES/messages.mo b/fittrackee/emails/translations/en/LC_MESSAGES/messages.mo new file mode 100644 index 0000000000000000000000000000000000000000..f9cfdf99ea800673ca0cb7490543034cf91ec98e GIT binary patch literal 4535 zcmeH}&u<$=6vvlRpt!XBR1c^UQ=!uQTGw$wiJYd&kGdhnZj9puaf)Vl$Ij68jM<%y zYb1_H2qaJs2=yO8T*`qzfg=|X>V-=y!KGIugai^2-?y{=(Grpf!7Y}ok7xXL-ka~d z_jc|+cl0v{pO^7Hjqj_E&}jIn9C4f%Fsx?uz!MmEK@a=@dT(MtT_*7`>7qc=- z`57c#{s0l8bMmAep8`pj32*@vpbLHhk}h{Z(&gCGR+kBoblC)HA0L9G%a<9y14)

g(ASS>qkaYP7tbupItKfMUkuL9nwBG0R(6Uxd8MT>ca~U#!o2!->O!jmVG4A_1 zQN}5cSOm@$9kE#WNhD2gikWR0vq-#~h}f_$r{BJiJ0f7sNVgehXUB9$MBGT#+KPLz z5$*Aq1!70~f+aC#Vc|u(8;fX5@wOO`^UmuMlL=<*#FVqzw2rcfm>&tOs1@kSq zYh}1^tPu~|2r4$%IsTH(Y}P8upjoK>>mvA<;q0-kL3CNj`ziFl?hJadKn6@{Ge{CX z6fhF8F#DVpmN-WFfHsi&BkI`wWA{kWwC2;Q|*=@y{M?u+j`I(!dWG!S1$u z`G4?!pSE0gF|&?Rqy9PN8D&B0?x4rCDI(cS8&+g>b>2q7 zAk~HKaOh_oxt%o)r1>y=@~J5`TV;?CSqH`gwAHki+kCUz?H}G=X=rrmzg}~%Aa_wP zP3Tn9;XeDjPnXJ6qB8IVwS%M+P}k4??4JY_e7K@&k$y+`#$63uh#sR@N~~62yINju zu+4IPeRb_xt}Z${GHx|)$-rGoTCv;EC04F3u2vQnFJG>g*Vl8kwT8Q#y?oru@LgiX zLb2!;X52!NP0y4r%uE)Fg#rxSI$m<*X&1ZMQt>rwS3#q4(Kl2a(wm~hu545)?Al_r z%q~9Q`ckffH*~^Va4FPa;8L%l8FsN!SqNobN3Bb_T9`yUbn&Wg$0epZ=`fxz&f&dC z|ICjmc4nSUkI&_*tJU&Qlj(dRhl_zhR=JH{2fmEBVa|6#F4Y_*R)i)vpO~gQJG7(d zn<8?{%GUvorNm}EX>uz<(TiU|%wCBtar6LI%ug5c7jlDp#%MJTCP!=U@bZCPFjCKh x96!8#?02m~8XaCf=$^V)*Z+H~JiL5#NAC-^8QH7S!, 2022. +# +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2022-07-02 17:37+0200\n" +"PO-Revision-Date: 2022-07-02 18:25+0200\n" +"Last-Translator: FULL NAME \n" +"Language: en\n" +"Language-Team: en \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.10.3\n" + +#: fittrackee/emails/templates/layout.html:215 +#: fittrackee/emails/templates/layout.txt:1 +#, python-format +msgid "Hi %(username)s," +msgstr "Hi %(username)s," + +#: 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:5 +#: 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 "" +"For security, this request was received from a %(operating_system)s " +"device using %(browser_name)s." + +#: fittrackee/emails/templates/layout.html:221 +#: fittrackee/emails/templates/layout.txt:5 +msgid "Thanks," +msgstr "Thanks," + +#: fittrackee/emails/templates/layout.html:222 +#: fittrackee/emails/templates/layout.txt:6 +msgid "The FitTrackee Team" +msgstr "The FitTrackee Team" + +#: fittrackee/emails/templates/account_confirmation/body.html:2 +#: fittrackee/emails/templates/account_confirmation/subject.txt:1 +msgid "Confirm your account" +msgstr "Confirm your account" + +#: fittrackee/emails/templates/account_confirmation/body.html:3 +msgid "Use this link to confirm your account." +msgstr "Use this link to confirm your account." + +#: 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 "You have created an account on FitTrackee." + +#: fittrackee/emails/templates/account_confirmation/body.html:4 +msgid "Use the button below to confirm your address email." +msgstr "Use the button below to confirm your address email." + +#: 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:3 +msgid "Verify your email" +msgstr "Verify your email" + +#: 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 "" +"If this account creation wasn't initiated by you, please ignore this " +"email." + +#: fittrackee/emails/templates/account_confirmation/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 "" +"If you're having trouble with the button above, copy and paste the URL " +"below into your web browser." + +#: fittrackee/emails/templates/account_confirmation/body.txt:2 +msgid "Use the link below to confirm your address email." +msgstr "Use the link below to confirm your address email." + +#: 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 "Email changed" + +#: fittrackee/emails/templates/email_update_to_current_email/body.html:3 +msgid "Your email is being updated." +msgstr "Your email is being updated." + +#: 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 "" +"You recently requested to change your email address for your FitTrackee " +"account to:" + +#: 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 "" +"If this email change wasn't initiated by you, please change your password" +" immediately or contact your administrator if your account is locked." + +#: 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 "Confirm email change" + +#: fittrackee/emails/templates/email_update_to_new_email/body.html:3 +msgid "Use this link to confirm email change." +msgstr "Use this link to confirm email change." + +#: 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 "" +"You recently requested to change your email address for your FitTrackee " +"account." + +#: fittrackee/emails/templates/email_update_to_new_email/body.html:4 +msgid "Use the button below to confirm this address." +msgstr "Use the button below to confirm this address." + +#: fittrackee/emails/templates/email_update_to_new_email/body.html:18 +#: fittrackee/emails/templates/email_update_to_new_email/body.txt:6 +msgid "If this email change wasn't initiated by you, please ignore this email." +msgstr "If this email change wasn't initiated by you, please ignore this email." + +#: fittrackee/emails/templates/email_update_to_new_email/body.txt:1 +msgid "Use the link below to confirm this address." +msgstr "Use the link below to confirm this address." + +#: fittrackee/emails/templates/password_change/body.html:2 +#: fittrackee/emails/templates/password_change/subject.txt:1 +msgid "Password changed" +msgstr "Password changed" + +#: fittrackee/emails/templates/password_change/body.html:3 +msgid "Your password has been changed." +msgstr "Your password has been changed." + +#: 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 "The password for your FitTrackee account has been changed." + +#: 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 "" +"If this password change wasn't initiated by you, please change your " +"password immediately or contact your administrator if your account is " +"locked." + +#: fittrackee/emails/templates/password_reset_request/body.html:2 +#: fittrackee/emails/templates/password_reset_request/subject.txt:1 +msgid "Password reset request" +msgstr "Password reset request" + +#: 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 "" +"Use this link to reset your password. The link is only valid for " +"%(expiration_delay)s." + +#: 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 "You recently requested to reset your password for your FitTrackee account." + +#: fittrackee/emails/templates/password_reset_request/body.html:4 +msgid "Use the button below to reset it." +msgstr "Use the button below to reset it." + +#: 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 "This password reset link is only valid for %(expiration_delay)s." + +#: fittrackee/emails/templates/password_reset_request/body.html:13 +#: fittrackee/emails/templates/password_reset_request/body.txt:4 +msgid "Reset your password" +msgstr "Reset your password" + +#: 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 "If you did not request a password reset, please ignore this email." + +#: fittrackee/emails/templates/password_reset_request/body.txt:1 +msgid "Use the link below to reset it." +msgstr "Use the link below to reset it." + diff --git a/fittrackee/emails/translations/fr/LC_MESSAGES/messages.mo b/fittrackee/emails/translations/fr/LC_MESSAGES/messages.mo new file mode 100644 index 0000000000000000000000000000000000000000..b4cf37d4e8fb89c611a7738f989369e83d3e0298 GIT binary patch literal 4995 zcmds4ON<=F87=||WE}HwULqh;5X`RQ?aA&K#b*4F?e*AMGmDqm^&&2|db(?7%kJ)K zS69z6mN;^Xg2aIXHx5LwNag@Hj*Nt4DT+97;Q|s;Bp<>7i3^8F`TnY&nV$97Uh&8w zE3Lk%p1{mE07uW{w#(5Li2EGD(5O@Rl zEbv?4tH8$HjGX~~3VaRt=sk>`1il9hfL{aYz4Je1>^Hy;@Rz`sf%gJmE6#5K>o{Kn z9tYk4dcb`@W9$I%1>obrzXJCIuK^c;p8qT`x|gC@Ylc(fER$* zfqw_i{sJ}w{|Th?QwZksz<&T0@Ui>dd#?h?ueX4Y0Y3)9CH5~M<>TMLBfz^JVC>Jp zW583u9QX|ILmTqe>;-#}}-&tdxL!KxzB8fi^pca`hcgPj4m_Y_N z{2p<|XqC4k!8fJZKvo5B=f;2sep~g#98!?>xu1lj!cf`;Ki_KdwusawNMe*r!=`BS zf^${2GEAq7L^yt6%^TXyT4d}b1K1j>=5jU%6#TR_YuZOr1z!_>Y@dyi(E$l8c}h}4 zGH;-2+Cn5n4T2MER8*sPof(l#E)#E50=D)12vMa=_s)u!Qc3ltl8d2;{5}=Xc~HL; z9p^v12Ssho+p6`$5LfR&+8SO+yLNGF4bE6;#uC=>9a=D5_ICOw-`K95>Wt!6a=l#k zLnEh%Ii0Rtr-(U4R%n=~Dkm0LbvsSdy3n#?8yZDTt2bLhRjs)!PmL0eEe z$kULze(~in6NupUidxa?k_e2q6nY4HhGMDnmDahljm0&--e|2ZoqMj*5~?29Di3`l$s(E*b$6-(rg}&WL4?zvC2x6Yd`WZs^hHAlhhuwqqW1Bi}cOW*@PeC3;PaNmY0?r71@KyRVZM5xGF&r+=IG^)t}%4-aK^ViNfhN!>?n}yDT65>lPu6OrDn%Y zlqGo#)g3w55^RNLbZ@YQ(vpGgit-fh9neNN(NhIu!W)-yqya^coV%=8>yi_ zN4cdq39Lk!%Co8K%N);*jAZ7+V%VQxGQXX{dW`7}1E{=^f;b***{#QB4E?IudnlPm-)QZjcx2=!CC*vSX-RBH z>PkM?`W{wNM%9Wca9V%M98s0jnmy zUKTo#bF4Wt*t(L-w7gic=A{5%7gwRz)!$!tMkO$I3h;54i747m*n-x5Eg*DN~pnK{i+un4p?EFncu1pi5Z_;D^ z{eGt2;fkHuJoSoc#=Gs*G4R$?0qdA;zc$t`rBef08Wy*DWiotJAZ036`FEtux|=@a z$hLvDPQA+(DD`%fItEVB8;M_I{#Myo6q13!Z%ryiJHqfDrbD@RQzdNE#nG-+KqHYx z%S4$>s^UFtM7;jLQ@8`)%84l^U_OzXn@WGuCsILkXQG(w_@UofC|K&YJeC+}2o6o? O;TvTFj5dXF6ZtQyy?~ei literal 0 HcmV?d00001 diff --git a/fittrackee/emails/translations/fr/LC_MESSAGES/messages.po b/fittrackee/emails/translations/fr/LC_MESSAGES/messages.po new file mode 100644 index 00000000..a0dbe7ea --- /dev/null +++ b/fittrackee/emails/translations/fr/LC_MESSAGES/messages.po @@ -0,0 +1,231 @@ +# French translations for PROJECT. +# Copyright (C) 2022 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# FIRST AUTHOR , 2022. +# +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2022-07-02 17:37+0200\n" +"PO-Revision-Date: 2022-07-02 17:27+0200\n" +"Last-Translator: FULL NAME \n" +"Language: fr\n" +"Language-Team: fr \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.10.3\n" + +#: fittrackee/emails/templates/layout.html:215 +#: fittrackee/emails/templates/layout.txt:1 +#, python-format +msgid "Hi %(username)s," +msgstr "Bonjour %(username)s," + +#: 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:5 +#: 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 "" +"Pour vérification, cette demande a été reçue à partir d'un appareil sous " +"%(operating_system)s, utilisant le navigateur %(browser_name)s." + +#: fittrackee/emails/templates/layout.html:221 +#: fittrackee/emails/templates/layout.txt:5 +msgid "Thanks," +msgstr "Merci," + +#: fittrackee/emails/templates/layout.html:222 +#: fittrackee/emails/templates/layout.txt:6 +msgid "The FitTrackee Team" +msgstr "L'équipe FitTrackee" + +#: fittrackee/emails/templates/account_confirmation/body.html:2 +#: fittrackee/emails/templates/account_confirmation/subject.txt:1 +msgid "Confirm your account" +msgstr "Confirmer votre inscription" + +#: fittrackee/emails/templates/account_confirmation/body.html:3 +msgid "Use this link to confirm your account." +msgstr "Utiliser ce lien pour confirmer votre inscription." + +#: 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 "Vous avez créé un compte sur FitTrackee." + +#: fittrackee/emails/templates/account_confirmation/body.html:4 +msgid "Use the button below to confirm your address email." +msgstr "Cliquez sur le bouton pour confirmer votre adresse email." + +#: 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:3 +msgid "Verify your email" +msgstr "Vérifier l'adresse email" + +#: 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 "" +"Si vous n'êtes pas à l'origine de la création de ce compte, vous pouvez " +"ignorer cet e-mail." + +#: fittrackee/emails/templates/account_confirmation/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 "" +"Si vous avez des problèmes avec le bouton, vous pouvez copier et coller " +"le lien suivant dans votre navigateur." + +#: fittrackee/emails/templates/account_confirmation/body.txt:2 +msgid "Use the link below to confirm your address email." +msgstr "Cliquez sur le lien ci-dessous pour confirmer votre adresse email." + +#: 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 "Adresse email modifiée" + +#: fittrackee/emails/templates/email_update_to_current_email/body.html:3 +msgid "Your email is being updated." +msgstr "Votre adresse email est en cours de mise à jour." + +#: 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 "" +"Vous avez récemment demandé la modification de l'adresse email associée à" +" votre compte sur FitTrackee vers :" + +#: 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 "" +"Si vous n'êtes pas à l'origine de cette modification, veuillez changer " +"votre mot de passe immédiatement ou contacter l'administrateur si votre " +"compte est bloqué." + +#: 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 "Confirmer le changement d'adresse email" + +#: fittrackee/emails/templates/email_update_to_new_email/body.html:3 +msgid "Use this link to confirm email change." +msgstr "Confirmer le changement d'adresse email." + +#: 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 "" +"Vous avez récemment demandé la modification de l'adresse email associée à" +" votre compte sur FitTrackee." + +#: fittrackee/emails/templates/email_update_to_new_email/body.html:4 +msgid "Use the button below to confirm this address." +msgstr "Cliquez sur le bouton ci-dessous pour confirmer cette adresse email." + +#: fittrackee/emails/templates/email_update_to_new_email/body.html:18 +#: fittrackee/emails/templates/email_update_to_new_email/body.txt:6 +msgid "If this email change wasn't initiated by you, please ignore this email." +msgstr "" +"Si vous n'êtes pas à l'origine de cette modification, vous pouvez ignorer" +" cet e-mail." + +#: fittrackee/emails/templates/email_update_to_new_email/body.txt:1 +msgid "Use the link below to confirm this address." +msgstr "Cliquez sur le lien ci-dessous pour confirmer cette adresse email." + +#: fittrackee/emails/templates/password_change/body.html:2 +#: fittrackee/emails/templates/password_change/subject.txt:1 +msgid "Password changed" +msgstr "Mot de passe modifié" + +#: fittrackee/emails/templates/password_change/body.html:3 +msgid "Your password has been changed." +msgstr "Votre mot de passe a été modifié." + +#: 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 "Le mot de passe de votre compte FitTrackee a été modifié." + +#: 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 "" +"Si vous n'êtes pas à l'origine de cette modification, veuillez changer " +"votre mot de passe immédiatement ou contacter l'administrateur si votre " +"compte est bloqué." + +#: fittrackee/emails/templates/password_reset_request/body.html:2 +#: fittrackee/emails/templates/password_reset_request/subject.txt:1 +msgid "Password reset request" +msgstr "Réinitialiser votre mot de passe" + +#: 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 "" +"Utiliser ce lien pour réinitialiser le mot de passe. Ce lien n'est valide" +" que pendant %(expiration_delay)s." + +#: 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 "" +"Vous avez récemment demandé la réinitialisation du mot de passe de votre " +"compte sur FitTrackee." + +#: fittrackee/emails/templates/password_reset_request/body.html:4 +msgid "Use the button below to reset it." +msgstr "Cliquez sur le bouton pour le réinitialiser." + +#: 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 "Ce lien n'est valide que pendant %(expiration_delay)s." + +#: fittrackee/emails/templates/password_reset_request/body.html:13 +#: fittrackee/emails/templates/password_reset_request/body.txt:4 +msgid "Reset your password" +msgstr "Réinitialiser le mot de passe" + +#: 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 "" +"Si vous n'avez pas demandé de réinitialisation, vous pouvez ignorer cet " +"e-mail." + +#: fittrackee/emails/templates/password_reset_request/body.txt:1 +msgid "Use the link below to reset it." +msgstr "Cliquez sur le lien ci-dessous pour le réinitialiser." + diff --git a/fittrackee/tests/emails/template_results/email_account_confirmation.py b/fittrackee/tests/emails/template_results/email_account_confirmation.py index 7d8baeef..94a52ad9 100644 --- a/fittrackee/tests/emails/template_results/email_account_confirmation.py +++ b/fittrackee/tests/emails/template_results/email_account_confirmation.py @@ -2,7 +2,8 @@ expected_en_text_body = """Hi test, -You have created an account on FitTrackee. Use the link below to confirm your address email. +You have created an account on FitTrackee. +Use the link below to confirm your address email. Verify your email: http://localhost/account-confirmation?token=xxx @@ -18,7 +19,7 @@ expected_fr_text_body = """Bonjour test, Vous avez créé un compte sur FitTrackee. Cliquez sur le lien ci-dessous pour confirmer votre adresse email. -Vérifier l'adresse email : http://localhost/account-confirmation?token=xxx +Vérifier l'adresse email: http://localhost/account-confirmation?token=xxx Pour vérification, cette demande a été reçue à partir d'un appareil sous Linux, utilisant le navigateur Firefox. Si vous n'êtes pas à l'origine de la création de ce compte, vous pouvez ignorer cet e-mail. @@ -70,7 +71,7 @@ expected_en_html_body = """ @@ -119,9 +120,7 @@ expected_fr_html_body = """