API - init Norwegian Bokmål (nb) translation files for emails
This commit is contained in:
parent
c4bb41caf8
commit
1a6d259c2d
@ -50,7 +50,12 @@ class BaseConfig:
|
||||
TRANSLATIONS_FOLDER = os.path.join(
|
||||
current_app.root_path, 'emails/translations'
|
||||
)
|
||||
LANGUAGES = ['en', 'fr', 'de']
|
||||
LANGUAGES = [
|
||||
'en',
|
||||
'fr',
|
||||
'de',
|
||||
# 'nb', # disabled for now
|
||||
]
|
||||
OAUTH2_TOKEN_EXPIRES_IN = {
|
||||
'authorization_code': 864000, # 10 days
|
||||
}
|
||||
|
BIN
fittrackee/emails/translations/nb/LC_MESSAGES/messages.mo
Normal file
BIN
fittrackee/emails/translations/nb/LC_MESSAGES/messages.mo
Normal file
Binary file not shown.
207
fittrackee/emails/translations/nb/LC_MESSAGES/messages.po
Normal file
207
fittrackee/emails/translations/nb/LC_MESSAGES/messages.po
Normal file
@ -0,0 +1,207 @@
|
||||
# Norwegian Bokmål translations for PROJECT.
|
||||
# Copyright (C) 2022 ORGANIZATION
|
||||
# This file is distributed under the same license as the PROJECT project.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PROJECT VERSION\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2022-07-03 07:58+0200\n"
|
||||
"PO-Revision-Date: 2022-10-31 10:19+0100\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: nb\n"
|
||||
"Language-Team: nb <LL@li.org>\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 ""
|
||||
|
||||
#: 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/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/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 ""
|
||||
|
Loading…
Reference in New Issue
Block a user