Merge pull request #325 from SamR1/init-es-and-gl-translations
Init Spanish and Galician translations
This commit is contained in:
commit
dd40fd7154
@ -64,6 +64,8 @@ class BaseConfig:
|
|||||||
'it',
|
'it',
|
||||||
# 'nb', # disabled for now
|
# 'nb', # disabled for now
|
||||||
'nl',
|
'nl',
|
||||||
|
# 'es', # disabled for now
|
||||||
|
# 'gl', # disabled for now
|
||||||
]
|
]
|
||||||
OAUTH2_TOKEN_EXPIRES_IN = {
|
OAUTH2_TOKEN_EXPIRES_IN = {
|
||||||
'authorization_code': 864000, # 10 days
|
'authorization_code': 864000, # 10 days
|
||||||
|
2
fittrackee/dist/index.html
vendored
2
fittrackee/dist/index.html
vendored
@ -1 +1 @@
|
|||||||
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><!--[if IE]><link rel="icon" href="/favicon.ico"><![endif]--><link rel="stylesheet" href="/static/css/fork-awesome.min.css"/><link rel="stylesheet" href="/static/css/leaflet.css"/><title>FitTrackee</title><script defer="defer" src="/static/js/chunk-vendors.504d6d07.js"></script><script defer="defer" src="/static/js/app.f25e8d14.js"></script><link href="/static/css/app.e504ceb2.css" rel="stylesheet"><link rel="icon" type="image/png" sizes="32x32" href="/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/img/icons/favicon-16x16.png"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#4DBA87"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="fittrackee_client"><link rel="apple-touch-icon" href="/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="/img/icons/safari-pinned-tab.svg" color="#4DBA87"><meta name="msapplication-TileImage" content="/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but FitTrackee doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
|
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><!--[if IE]><link rel="icon" href="/favicon.ico"><![endif]--><link rel="stylesheet" href="/static/css/fork-awesome.min.css"/><link rel="stylesheet" href="/static/css/leaflet.css"/><title>FitTrackee</title><script defer="defer" src="/static/js/chunk-vendors.504d6d07.js"></script><script defer="defer" src="/static/js/app.101c16d4.js"></script><link href="/static/css/app.e504ceb2.css" rel="stylesheet"><link rel="icon" type="image/png" sizes="32x32" href="/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/img/icons/favicon-16x16.png"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#4DBA87"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="fittrackee_client"><link rel="apple-touch-icon" href="/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="/img/icons/safari-pinned-tab.svg" color="#4DBA87"><meta name="msapplication-TileImage" content="/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but FitTrackee doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
|
2
fittrackee/dist/service-worker.js
vendored
2
fittrackee/dist/service-worker.js
vendored
File diff suppressed because one or more lines are too long
2
fittrackee/dist/service-worker.js.map
vendored
2
fittrackee/dist/service-worker.js.map
vendored
File diff suppressed because one or more lines are too long
2
fittrackee/dist/static/js/app.101c16d4.js
vendored
Normal file
2
fittrackee/dist/static/js/app.101c16d4.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
fittrackee/dist/static/js/app.101c16d4.js.map
vendored
Normal file
1
fittrackee/dist/static/js/app.101c16d4.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
2
fittrackee/dist/static/js/app.f25e8d14.js
vendored
2
fittrackee/dist/static/js/app.f25e8d14.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
BIN
fittrackee/emails/translations/es/LC_MESSAGES/messages.mo
Normal file
BIN
fittrackee/emails/translations/es/LC_MESSAGES/messages.mo
Normal file
Binary file not shown.
239
fittrackee/emails/translations/es/LC_MESSAGES/messages.po
Normal file
239
fittrackee/emails/translations/es/LC_MESSAGES/messages.po
Normal file
@ -0,0 +1,239 @@
|
|||||||
|
# Spanish translations for PROJECT.
|
||||||
|
# Copyright (C) 2023 ORGANIZATION
|
||||||
|
# This file is distributed under the same license as the PROJECT project.
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: PROJECT VERSION\n"
|
||||||
|
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||||
|
"POT-Creation-Date: 2023-03-04 10:33+0100\n"
|
||||||
|
"PO-Revision-Date: 2023-03-12 07:50+0100\n"
|
||||||
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
|
"Language: es\n"
|
||||||
|
"Language-Team: es <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.12.1\n"
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/layout.html:215
|
||||||
|
#: fittrackee/emails/templates/layout.txt:1
|
||||||
|
#, python-format
|
||||||
|
msgid "Hi %(username)s,"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/account_confirmation/body.txt:6
|
||||||
|
#: fittrackee/emails/templates/email_update_to_current_email/body.txt:3
|
||||||
|
#: fittrackee/emails/templates/email_update_to_new_email/body.txt:6
|
||||||
|
#: fittrackee/emails/templates/layout.html:218
|
||||||
|
#: fittrackee/emails/templates/password_change/body.txt:3
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.txt:6
|
||||||
|
#, python-format
|
||||||
|
msgid ""
|
||||||
|
"For security, this request was received from a %(operating_system)s "
|
||||||
|
"device using %(browser_name)s."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/layout.html:221
|
||||||
|
#: fittrackee/emails/templates/layout.txt:5
|
||||||
|
msgid "Thanks,"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/layout.html:222
|
||||||
|
#: fittrackee/emails/templates/layout.txt:6
|
||||||
|
msgid "The FitTrackee Team"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/account_confirmation/body.html:2
|
||||||
|
#: fittrackee/emails/templates/account_confirmation/subject.txt:1
|
||||||
|
msgid "Confirm your account"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/account_confirmation/body.html:3
|
||||||
|
msgid "Use this link to confirm your account."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/account_confirmation/body.html:4
|
||||||
|
#: fittrackee/emails/templates/account_confirmation/body.txt:1
|
||||||
|
msgid "You have created an account on FitTrackee."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/account_confirmation/body.html:4
|
||||||
|
msgid "Use the button below to confirm your address email."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/account_confirmation/body.html:11
|
||||||
|
#: fittrackee/emails/templates/account_confirmation/body.txt:4
|
||||||
|
#: fittrackee/emails/templates/email_update_to_new_email/body.html:11
|
||||||
|
#: fittrackee/emails/templates/email_update_to_new_email/body.txt:4
|
||||||
|
msgid "Verify your email"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/account_confirmation/body.html:18
|
||||||
|
#: fittrackee/emails/templates/account_confirmation/body.txt:7
|
||||||
|
msgid ""
|
||||||
|
"If this account creation wasn't initiated by you, please ignore this "
|
||||||
|
"email."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/account_confirmation/body.html:22
|
||||||
|
#: fittrackee/emails/templates/data_export_ready/body.html:22
|
||||||
|
#: fittrackee/emails/templates/email_update_to_new_email/body.html:22
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.html:24
|
||||||
|
msgid ""
|
||||||
|
"If you're having trouble with the button above, copy and paste the URL "
|
||||||
|
"below into your web browser."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/account_confirmation/body.txt:2
|
||||||
|
msgid "Use the link below to confirm your address email."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/data_export_ready/body.html:2
|
||||||
|
#: fittrackee/emails/templates/data_export_ready/subject.txt:1
|
||||||
|
msgid "Your archive is ready to be downloaded"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/data_export_ready/body.html:3
|
||||||
|
msgid "A download link is available in your account."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/data_export_ready/body.html:4
|
||||||
|
#: fittrackee/emails/templates/data_export_ready/body.txt:1
|
||||||
|
msgid "You have requested an export of your account on FitTrackee."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/data_export_ready/body.html:4
|
||||||
|
#: fittrackee/emails/templates/data_export_ready/body.txt:2
|
||||||
|
msgid "The archive is now ready to be downloaded from your account."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/data_export_ready/body.html:11
|
||||||
|
#: fittrackee/emails/templates/data_export_ready/body.txt:4
|
||||||
|
msgid "Download your archive"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/data_export_ready/body.html:18
|
||||||
|
#: fittrackee/emails/templates/data_export_ready/body.txt:5
|
||||||
|
msgid ""
|
||||||
|
"If you did not request the export, please change your password "
|
||||||
|
"immediately or contact your administrator if your account is locked."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/email_update_to_current_email/body.html:2
|
||||||
|
#: fittrackee/emails/templates/email_update_to_current_email/subject.txt:1
|
||||||
|
msgid "Email changed"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/email_update_to_current_email/body.html:3
|
||||||
|
msgid "Your email is being updated."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/email_update_to_current_email/body.html:4
|
||||||
|
#: fittrackee/emails/templates/email_update_to_current_email/body.txt:1
|
||||||
|
msgid ""
|
||||||
|
"You recently requested to change your email address for your FitTrackee "
|
||||||
|
"account to:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/email_update_to_current_email/body.html:18
|
||||||
|
#: fittrackee/emails/templates/email_update_to_current_email/body.txt:4
|
||||||
|
msgid ""
|
||||||
|
"If this email change wasn't initiated by you, please change your password"
|
||||||
|
" immediately or contact your administrator if your account is locked."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/email_update_to_new_email/body.html:2
|
||||||
|
#: fittrackee/emails/templates/email_update_to_new_email/subject.txt:1
|
||||||
|
msgid "Confirm email change"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/email_update_to_new_email/body.html:3
|
||||||
|
msgid "Use this link to confirm email change."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/email_update_to_new_email/body.html:4
|
||||||
|
#: fittrackee/emails/templates/email_update_to_new_email/body.txt:1
|
||||||
|
msgid ""
|
||||||
|
"You recently requested to change your email address for your FitTrackee "
|
||||||
|
"account."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/email_update_to_new_email/body.html:4
|
||||||
|
msgid "Use the button below to confirm this address."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/email_update_to_new_email/body.html:18
|
||||||
|
#: fittrackee/emails/templates/email_update_to_new_email/body.txt:7
|
||||||
|
msgid "If this email change wasn't initiated by you, please ignore this email."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/email_update_to_new_email/body.txt:2
|
||||||
|
msgid "Use the link below to confirm this address."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/password_change/body.html:2
|
||||||
|
#: fittrackee/emails/templates/password_change/subject.txt:1
|
||||||
|
msgid "Password changed"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/password_change/body.html:3
|
||||||
|
msgid "Your password has been changed."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/password_change/body.html:4
|
||||||
|
#: fittrackee/emails/templates/password_change/body.txt:1
|
||||||
|
msgid "The password for your FitTrackee account has been changed."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/password_change/body.html:5
|
||||||
|
#: fittrackee/emails/templates/password_change/body.txt:4
|
||||||
|
msgid ""
|
||||||
|
"If this password change wasn't initiated by you, please change your "
|
||||||
|
"password immediately or contact your administrator if your account is "
|
||||||
|
"locked."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.html:2
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/subject.txt:1
|
||||||
|
msgid "Password reset request"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.html:3
|
||||||
|
#, python-format
|
||||||
|
msgid ""
|
||||||
|
"Use this link to reset your password. The link is only valid for "
|
||||||
|
"%(expiration_delay)s."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.html:4
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.txt:1
|
||||||
|
msgid "You recently requested to reset your password for your FitTrackee account."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.html:4
|
||||||
|
msgid "Use the button below to reset it."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.html:5
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.txt:2
|
||||||
|
#, python-format
|
||||||
|
msgid "This password reset link is only valid for %(expiration_delay)s."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.html:13
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.txt:4
|
||||||
|
msgid "Reset your password"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.html:20
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.txt:7
|
||||||
|
msgid "If you did not request a password reset, please ignore this email."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.txt:1
|
||||||
|
msgid "Use the link below to reset it."
|
||||||
|
msgstr ""
|
||||||
|
|
BIN
fittrackee/emails/translations/gl/LC_MESSAGES/messages.mo
Normal file
BIN
fittrackee/emails/translations/gl/LC_MESSAGES/messages.mo
Normal file
Binary file not shown.
239
fittrackee/emails/translations/gl/LC_MESSAGES/messages.po
Normal file
239
fittrackee/emails/translations/gl/LC_MESSAGES/messages.po
Normal file
@ -0,0 +1,239 @@
|
|||||||
|
# Galician translations for PROJECT.
|
||||||
|
# Copyright (C) 2023 ORGANIZATION
|
||||||
|
# This file is distributed under the same license as the PROJECT project.
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: PROJECT VERSION\n"
|
||||||
|
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||||
|
"POT-Creation-Date: 2023-03-04 10:33+0100\n"
|
||||||
|
"PO-Revision-Date: 2023-03-12 07:50+0100\n"
|
||||||
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
|
"Language: gl\n"
|
||||||
|
"Language-Team: gl <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.12.1\n"
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/layout.html:215
|
||||||
|
#: fittrackee/emails/templates/layout.txt:1
|
||||||
|
#, python-format
|
||||||
|
msgid "Hi %(username)s,"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/account_confirmation/body.txt:6
|
||||||
|
#: fittrackee/emails/templates/email_update_to_current_email/body.txt:3
|
||||||
|
#: fittrackee/emails/templates/email_update_to_new_email/body.txt:6
|
||||||
|
#: fittrackee/emails/templates/layout.html:218
|
||||||
|
#: fittrackee/emails/templates/password_change/body.txt:3
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.txt:6
|
||||||
|
#, python-format
|
||||||
|
msgid ""
|
||||||
|
"For security, this request was received from a %(operating_system)s "
|
||||||
|
"device using %(browser_name)s."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/layout.html:221
|
||||||
|
#: fittrackee/emails/templates/layout.txt:5
|
||||||
|
msgid "Thanks,"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/layout.html:222
|
||||||
|
#: fittrackee/emails/templates/layout.txt:6
|
||||||
|
msgid "The FitTrackee Team"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/account_confirmation/body.html:2
|
||||||
|
#: fittrackee/emails/templates/account_confirmation/subject.txt:1
|
||||||
|
msgid "Confirm your account"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/account_confirmation/body.html:3
|
||||||
|
msgid "Use this link to confirm your account."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/account_confirmation/body.html:4
|
||||||
|
#: fittrackee/emails/templates/account_confirmation/body.txt:1
|
||||||
|
msgid "You have created an account on FitTrackee."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/account_confirmation/body.html:4
|
||||||
|
msgid "Use the button below to confirm your address email."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/account_confirmation/body.html:11
|
||||||
|
#: fittrackee/emails/templates/account_confirmation/body.txt:4
|
||||||
|
#: fittrackee/emails/templates/email_update_to_new_email/body.html:11
|
||||||
|
#: fittrackee/emails/templates/email_update_to_new_email/body.txt:4
|
||||||
|
msgid "Verify your email"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/account_confirmation/body.html:18
|
||||||
|
#: fittrackee/emails/templates/account_confirmation/body.txt:7
|
||||||
|
msgid ""
|
||||||
|
"If this account creation wasn't initiated by you, please ignore this "
|
||||||
|
"email."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/account_confirmation/body.html:22
|
||||||
|
#: fittrackee/emails/templates/data_export_ready/body.html:22
|
||||||
|
#: fittrackee/emails/templates/email_update_to_new_email/body.html:22
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.html:24
|
||||||
|
msgid ""
|
||||||
|
"If you're having trouble with the button above, copy and paste the URL "
|
||||||
|
"below into your web browser."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/account_confirmation/body.txt:2
|
||||||
|
msgid "Use the link below to confirm your address email."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/data_export_ready/body.html:2
|
||||||
|
#: fittrackee/emails/templates/data_export_ready/subject.txt:1
|
||||||
|
msgid "Your archive is ready to be downloaded"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/data_export_ready/body.html:3
|
||||||
|
msgid "A download link is available in your account."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/data_export_ready/body.html:4
|
||||||
|
#: fittrackee/emails/templates/data_export_ready/body.txt:1
|
||||||
|
msgid "You have requested an export of your account on FitTrackee."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/data_export_ready/body.html:4
|
||||||
|
#: fittrackee/emails/templates/data_export_ready/body.txt:2
|
||||||
|
msgid "The archive is now ready to be downloaded from your account."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/data_export_ready/body.html:11
|
||||||
|
#: fittrackee/emails/templates/data_export_ready/body.txt:4
|
||||||
|
msgid "Download your archive"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/data_export_ready/body.html:18
|
||||||
|
#: fittrackee/emails/templates/data_export_ready/body.txt:5
|
||||||
|
msgid ""
|
||||||
|
"If you did not request the export, please change your password "
|
||||||
|
"immediately or contact your administrator if your account is locked."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/email_update_to_current_email/body.html:2
|
||||||
|
#: fittrackee/emails/templates/email_update_to_current_email/subject.txt:1
|
||||||
|
msgid "Email changed"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/email_update_to_current_email/body.html:3
|
||||||
|
msgid "Your email is being updated."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/email_update_to_current_email/body.html:4
|
||||||
|
#: fittrackee/emails/templates/email_update_to_current_email/body.txt:1
|
||||||
|
msgid ""
|
||||||
|
"You recently requested to change your email address for your FitTrackee "
|
||||||
|
"account to:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/email_update_to_current_email/body.html:18
|
||||||
|
#: fittrackee/emails/templates/email_update_to_current_email/body.txt:4
|
||||||
|
msgid ""
|
||||||
|
"If this email change wasn't initiated by you, please change your password"
|
||||||
|
" immediately or contact your administrator if your account is locked."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/email_update_to_new_email/body.html:2
|
||||||
|
#: fittrackee/emails/templates/email_update_to_new_email/subject.txt:1
|
||||||
|
msgid "Confirm email change"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/email_update_to_new_email/body.html:3
|
||||||
|
msgid "Use this link to confirm email change."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/email_update_to_new_email/body.html:4
|
||||||
|
#: fittrackee/emails/templates/email_update_to_new_email/body.txt:1
|
||||||
|
msgid ""
|
||||||
|
"You recently requested to change your email address for your FitTrackee "
|
||||||
|
"account."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/email_update_to_new_email/body.html:4
|
||||||
|
msgid "Use the button below to confirm this address."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/email_update_to_new_email/body.html:18
|
||||||
|
#: fittrackee/emails/templates/email_update_to_new_email/body.txt:7
|
||||||
|
msgid "If this email change wasn't initiated by you, please ignore this email."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/email_update_to_new_email/body.txt:2
|
||||||
|
msgid "Use the link below to confirm this address."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/password_change/body.html:2
|
||||||
|
#: fittrackee/emails/templates/password_change/subject.txt:1
|
||||||
|
msgid "Password changed"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/password_change/body.html:3
|
||||||
|
msgid "Your password has been changed."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/password_change/body.html:4
|
||||||
|
#: fittrackee/emails/templates/password_change/body.txt:1
|
||||||
|
msgid "The password for your FitTrackee account has been changed."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/password_change/body.html:5
|
||||||
|
#: fittrackee/emails/templates/password_change/body.txt:4
|
||||||
|
msgid ""
|
||||||
|
"If this password change wasn't initiated by you, please change your "
|
||||||
|
"password immediately or contact your administrator if your account is "
|
||||||
|
"locked."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.html:2
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/subject.txt:1
|
||||||
|
msgid "Password reset request"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.html:3
|
||||||
|
#, python-format
|
||||||
|
msgid ""
|
||||||
|
"Use this link to reset your password. The link is only valid for "
|
||||||
|
"%(expiration_delay)s."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.html:4
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.txt:1
|
||||||
|
msgid "You recently requested to reset your password for your FitTrackee account."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.html:4
|
||||||
|
msgid "Use the button below to reset it."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.html:5
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.txt:2
|
||||||
|
#, python-format
|
||||||
|
msgid "This password reset link is only valid for %(expiration_delay)s."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.html:13
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.txt:4
|
||||||
|
msgid "Reset your password"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.html:20
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.txt:7
|
||||||
|
msgid "If you did not request a password reset, please ignore this email."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: fittrackee/emails/templates/password_reset_request/body.txt:1
|
||||||
|
msgid "Use the link below to reset it."
|
||||||
|
msgstr ""
|
||||||
|
|
@ -17,6 +17,7 @@
|
|||||||
"@zxcvbn-ts/language-common": "^2.0.1",
|
"@zxcvbn-ts/language-common": "^2.0.1",
|
||||||
"@zxcvbn-ts/language-de": "^2.1.0",
|
"@zxcvbn-ts/language-de": "^2.1.0",
|
||||||
"@zxcvbn-ts/language-en": "^2.1.0",
|
"@zxcvbn-ts/language-en": "^2.1.0",
|
||||||
|
"@zxcvbn-ts/language-es-es": "^2.1.1",
|
||||||
"@zxcvbn-ts/language-fr": "^2.2.0",
|
"@zxcvbn-ts/language-fr": "^2.2.0",
|
||||||
"@zxcvbn-ts/language-it": "^2.1.0",
|
"@zxcvbn-ts/language-it": "^2.1.0",
|
||||||
"axios": "^1.3.4",
|
"axios": "^1.3.4",
|
||||||
|
@ -6,7 +6,7 @@ import { createI18n, LocaleMessages, VueMessageType } from 'vue-i18n'
|
|||||||
* The loaded `JSON` locale messages is pre-compiled by `@intlify/vue-i18n-loader`, which is integrated into `vue-cli-plugin-i18n`.
|
* The loaded `JSON` locale messages is pre-compiled by `@intlify/vue-i18n-loader`, which is integrated into `vue-cli-plugin-i18n`.
|
||||||
* See: https://github.com/intlify/vue-i18n-loader#rocket-i18n-resource-pre-compilation
|
* See: https://github.com/intlify/vue-i18n-loader#rocket-i18n-resource-pre-compilation
|
||||||
*/
|
*/
|
||||||
const disabledLanguages = ['nb'] // to update after translations release
|
const disabledLanguages = ['nb', 'es', 'gl'] // to update after translations release
|
||||||
|
|
||||||
function loadLocaleMessages(): Record<string, LocaleMessages<VueMessageType>> {
|
function loadLocaleMessages(): Record<string, LocaleMessages<VueMessageType>> {
|
||||||
const locales = require.context('./locales', true, /[A-Za-z0-9-_,\s]+\.ts$/i)
|
const locales = require.context('./locales', true, /[A-Za-z0-9-_,\s]+\.ts$/i)
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
"error during gpx file parsing": "Fehler beim Einlesen der GPX-Datei",
|
"error during gpx file parsing": "Fehler beim Einlesen der GPX-Datei",
|
||||||
"error during gpx processing": "Fehler bei der GPX-Verarbeitung.",
|
"error during gpx processing": "Fehler bei der GPX-Verarbeitung.",
|
||||||
"error on getting configuration": "Fehler beim Abrufen der Konfiguration.",
|
"error on getting configuration": "Fehler beim Abrufen der Konfiguration.",
|
||||||
|
"error when saving workout": "Fehler beim Speichern des Workouts.",
|
||||||
"error when updating configuration": "Fehler beim Aktualisieren der Konfiguration",
|
"error when updating configuration": "Fehler beim Aktualisieren der Konfiguration",
|
||||||
"error, please try again or contact the administrator": "Fehler. Bitte versuche es erneut oder kontaktiere den Administrator.",
|
"error, please try again or contact the administrator": "Fehler. Bitte versuche es erneut oder kontaktiere den Administrator.",
|
||||||
"error, registration is disabled": "Fehler. Die Registrierung ist deaktiviert.",
|
"error, registration is disabled": "Fehler. Die Registrierung ist deaktiviert.",
|
||||||
@ -31,8 +32,7 @@
|
|||||||
"user does not exist": "Der Nutzer existiert nicht.",
|
"user does not exist": "Der Nutzer existiert nicht.",
|
||||||
"valid email must be provided for admin contact": "Um den Administrator zu kontaktieren, muss eine gültige E-Mail-Adresse angegeben werden",
|
"valid email must be provided for admin contact": "Um den Administrator zu kontaktieren, muss eine gültige E-Mail-Adresse angegeben werden",
|
||||||
"you can not delete your account, no other user has admin rights": "Du kannst Dein Konto nicht löschen, da kein anderer Nutzer hat Administratorrechte besitzt.",
|
"you can not delete your account, no other user has admin rights": "Du kannst Dein Konto nicht löschen, da kein anderer Nutzer hat Administratorrechte besitzt.",
|
||||||
"you do not have permissions": "Du hast keine Berechtigung.",
|
"you do not have permissions": "Du hast keine Berechtigung."
|
||||||
"error when saving workout": "Fehler beim Speichern des Workouts."
|
|
||||||
},
|
},
|
||||||
"PAGINATION": {
|
"PAGINATION": {
|
||||||
"NEXT": "Nächste",
|
"NEXT": "Nächste",
|
||||||
|
2
fittrackee_client/src/locales/es/about.json
Normal file
2
fittrackee_client/src/locales/es/about.json
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
2
fittrackee_client/src/locales/es/administration.json
Normal file
2
fittrackee_client/src/locales/es/administration.json
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
2
fittrackee_client/src/locales/es/api.json
Normal file
2
fittrackee_client/src/locales/es/api.json
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
2
fittrackee_client/src/locales/es/buttons.json
Normal file
2
fittrackee_client/src/locales/es/buttons.json
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
2
fittrackee_client/src/locales/es/common.json
Normal file
2
fittrackee_client/src/locales/es/common.json
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
2
fittrackee_client/src/locales/es/dashboard.json
Normal file
2
fittrackee_client/src/locales/es/dashboard.json
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
2
fittrackee_client/src/locales/es/error.json
Normal file
2
fittrackee_client/src/locales/es/error.json
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
29
fittrackee_client/src/locales/es/es.ts
Normal file
29
fittrackee_client/src/locales/es/es.ts
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
import AboutTranslations from './about.json'
|
||||||
|
import AdministrationTranslations from './administration.json'
|
||||||
|
import ApiTranslations from './api.json'
|
||||||
|
import ButtonsTranslations from './buttons.json'
|
||||||
|
import CommonTranslations from './common.json'
|
||||||
|
import DashboardTranslations from './dashboard.json'
|
||||||
|
import ErrorTranslations from './error.json'
|
||||||
|
import OAuth2Translations from './oauth2.json'
|
||||||
|
import PrivacyPolicyTranslations from './privacy_policy.json'
|
||||||
|
import SportsTranslations from './sports.json'
|
||||||
|
import StatisticsTranslations from './statistics.json'
|
||||||
|
import UserTranslations from './user.json'
|
||||||
|
import WorkoutsTranslations from './workouts.json'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
about: AboutTranslations,
|
||||||
|
admin: AdministrationTranslations,
|
||||||
|
api: ApiTranslations,
|
||||||
|
buttons: ButtonsTranslations,
|
||||||
|
common: CommonTranslations,
|
||||||
|
dashboard: DashboardTranslations,
|
||||||
|
error: ErrorTranslations,
|
||||||
|
oauth2: OAuth2Translations,
|
||||||
|
privacy_policy: PrivacyPolicyTranslations,
|
||||||
|
sports: SportsTranslations,
|
||||||
|
statistics: StatisticsTranslations,
|
||||||
|
user: UserTranslations,
|
||||||
|
workouts: WorkoutsTranslations,
|
||||||
|
}
|
2
fittrackee_client/src/locales/es/oauth2.json
Normal file
2
fittrackee_client/src/locales/es/oauth2.json
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
1
fittrackee_client/src/locales/es/privacy_policy.json
Normal file
1
fittrackee_client/src/locales/es/privacy_policy.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
2
fittrackee_client/src/locales/es/sports.json
Normal file
2
fittrackee_client/src/locales/es/sports.json
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
2
fittrackee_client/src/locales/es/statistics.json
Normal file
2
fittrackee_client/src/locales/es/statistics.json
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
2
fittrackee_client/src/locales/es/user.json
Normal file
2
fittrackee_client/src/locales/es/user.json
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
2
fittrackee_client/src/locales/es/workouts.json
Normal file
2
fittrackee_client/src/locales/es/workouts.json
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
2
fittrackee_client/src/locales/gl/about.json
Normal file
2
fittrackee_client/src/locales/gl/about.json
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
2
fittrackee_client/src/locales/gl/administration.json
Normal file
2
fittrackee_client/src/locales/gl/administration.json
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
2
fittrackee_client/src/locales/gl/api.json
Normal file
2
fittrackee_client/src/locales/gl/api.json
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
2
fittrackee_client/src/locales/gl/buttons.json
Normal file
2
fittrackee_client/src/locales/gl/buttons.json
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
2
fittrackee_client/src/locales/gl/common.json
Normal file
2
fittrackee_client/src/locales/gl/common.json
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
2
fittrackee_client/src/locales/gl/dashboard.json
Normal file
2
fittrackee_client/src/locales/gl/dashboard.json
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
2
fittrackee_client/src/locales/gl/error.json
Normal file
2
fittrackee_client/src/locales/gl/error.json
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
29
fittrackee_client/src/locales/gl/gl.ts
Normal file
29
fittrackee_client/src/locales/gl/gl.ts
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
import AboutTranslations from './about.json'
|
||||||
|
import AdministrationTranslations from './administration.json'
|
||||||
|
import ApiTranslations from './api.json'
|
||||||
|
import ButtonsTranslations from './buttons.json'
|
||||||
|
import CommonTranslations from './common.json'
|
||||||
|
import DashboardTranslations from './dashboard.json'
|
||||||
|
import ErrorTranslations from './error.json'
|
||||||
|
import OAuth2Translations from './oauth2.json'
|
||||||
|
import PrivacyPolicyTranslations from './privacy_policy.json'
|
||||||
|
import SportsTranslations from './sports.json'
|
||||||
|
import StatisticsTranslations from './statistics.json'
|
||||||
|
import UserTranslations from './user.json'
|
||||||
|
import WorkoutsTranslations from './workouts.json'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
about: AboutTranslations,
|
||||||
|
admin: AdministrationTranslations,
|
||||||
|
api: ApiTranslations,
|
||||||
|
buttons: ButtonsTranslations,
|
||||||
|
common: CommonTranslations,
|
||||||
|
dashboard: DashboardTranslations,
|
||||||
|
error: ErrorTranslations,
|
||||||
|
oauth2: OAuth2Translations,
|
||||||
|
privacy_policy: PrivacyPolicyTranslations,
|
||||||
|
sports: SportsTranslations,
|
||||||
|
statistics: StatisticsTranslations,
|
||||||
|
user: UserTranslations,
|
||||||
|
workouts: WorkoutsTranslations,
|
||||||
|
}
|
2
fittrackee_client/src/locales/gl/oauth2.json
Normal file
2
fittrackee_client/src/locales/gl/oauth2.json
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
1
fittrackee_client/src/locales/gl/privacy_policy.json
Normal file
1
fittrackee_client/src/locales/gl/privacy_policy.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
2
fittrackee_client/src/locales/gl/sports.json
Normal file
2
fittrackee_client/src/locales/gl/sports.json
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
2
fittrackee_client/src/locales/gl/statistics.json
Normal file
2
fittrackee_client/src/locales/gl/statistics.json
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
2
fittrackee_client/src/locales/gl/user.json
Normal file
2
fittrackee_client/src/locales/gl/user.json
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
2
fittrackee_client/src/locales/gl/workouts.json
Normal file
2
fittrackee_client/src/locales/gl/workouts.json
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
@ -8,6 +8,7 @@
|
|||||||
"error during gpx file parsing": "Fout bij het verwerken van het gpx bestand.",
|
"error during gpx file parsing": "Fout bij het verwerken van het gpx bestand.",
|
||||||
"error during gpx processing": "Fout bij verwerken van gpx.",
|
"error during gpx processing": "Fout bij verwerken van gpx.",
|
||||||
"error on getting configuration": "Fout bij ophalen van configuratie.",
|
"error on getting configuration": "Fout bij ophalen van configuratie.",
|
||||||
|
"error when saving workout": "Fout bij het opslaan van de activiteit.",
|
||||||
"error when updating configuration": "Fout bij het updaten van de configuratie",
|
"error when updating configuration": "Fout bij het updaten van de configuratie",
|
||||||
"error, please try again or contact the administrator": "Fout, probeer opnieuw of contacteer de administrator.",
|
"error, please try again or contact the administrator": "Fout, probeer opnieuw of contacteer de administrator.",
|
||||||
"error, registration is disabled": "Fout, registratie is uitgeschakeld.",
|
"error, registration is disabled": "Fout, registratie is uitgeschakeld.",
|
||||||
@ -31,8 +32,7 @@
|
|||||||
"user does not exist": "Gebruiker bestaat niet.",
|
"user does not exist": "Gebruiker bestaat niet.",
|
||||||
"valid email must be provided for admin contact": "Een geldige email is vereist voor admin contact informatie",
|
"valid email must be provided for admin contact": "Een geldige email is vereist voor admin contact informatie",
|
||||||
"you can not delete your account, no other user has admin rights": "U kunt uw account niet verwijderen, geen andere gebruiker heeft admin rechten.",
|
"you can not delete your account, no other user has admin rights": "U kunt uw account niet verwijderen, geen andere gebruiker heeft admin rechten.",
|
||||||
"you do not have permissions": "U hebt geen machtigingen.",
|
"you do not have permissions": "U hebt geen machtigingen."
|
||||||
"error when saving workout": "Fout bij het opslaan van de activiteit."
|
|
||||||
},
|
},
|
||||||
"PAGINATION": {
|
"PAGINATION": {
|
||||||
"NEXT": "volgende",
|
"NEXT": "volgende",
|
||||||
|
@ -96,7 +96,9 @@ const availableDateFormats = [
|
|||||||
export const dateStringFormats: Record<string, string> = {
|
export const dateStringFormats: Record<string, string> = {
|
||||||
de: 'do MMM yyyy',
|
de: 'do MMM yyyy',
|
||||||
en: 'MMM. do, yyyy',
|
en: 'MMM. do, yyyy',
|
||||||
|
// es: 'd MMM yyyy',
|
||||||
fr: 'd MMM yyyy',
|
fr: 'd MMM yyyy',
|
||||||
|
// gl: 'd MMM yyyy',
|
||||||
it: 'd MMM yyyy',
|
it: 'd MMM yyyy',
|
||||||
// nb: 'do MMM yyyy',
|
// nb: 'do MMM yyyy',
|
||||||
nl: 'd MMM yyyy',
|
nl: 'd MMM yyyy',
|
||||||
|
@ -7,7 +7,9 @@ import createI18n from '@/i18n'
|
|||||||
export const localeFromLanguage: Record<string, Locale> = {
|
export const localeFromLanguage: Record<string, Locale> = {
|
||||||
de: de,
|
de: de,
|
||||||
en: enUS,
|
en: enUS,
|
||||||
|
// es: es, // disabled for now
|
||||||
fr: fr,
|
fr: fr,
|
||||||
|
// gl: gl, // disabled for now
|
||||||
it: it,
|
it: it,
|
||||||
// nb: nb, // disabled for now
|
// nb: nb, // disabled for now
|
||||||
nl: nl,
|
nl: nl,
|
||||||
@ -16,7 +18,9 @@ export const localeFromLanguage: Record<string, Locale> = {
|
|||||||
export const languageLabels: Record<string, string> = {
|
export const languageLabels: Record<string, string> = {
|
||||||
de: 'Deutsch',
|
de: 'Deutsch',
|
||||||
en: 'English',
|
en: 'English',
|
||||||
|
// es: 'Español', // disabled for now
|
||||||
fr: 'Français',
|
fr: 'Français',
|
||||||
|
// gl: 'Galego', // disabled for now
|
||||||
it: 'Italiano',
|
it: 'Italiano',
|
||||||
// nb: 'Norsk bokmål', // disabled for now
|
// nb: 'Norsk bokmål', // disabled for now
|
||||||
nl: 'Nederlands',
|
nl: 'Nederlands',
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
import { zxcvbnOptions } from '@zxcvbn-ts/core'
|
import { zxcvbnOptions } from '@zxcvbn-ts/core'
|
||||||
|
|
||||||
export const loadLanguagePackage = async (language: string) => {
|
export const loadLanguagePackage = async (language: string) => {
|
||||||
// no package available for norwegian bokmal and dutch (Nederlands)
|
// no package available for
|
||||||
|
// - dutch (Nederlands)
|
||||||
|
// - galician
|
||||||
|
// - norwegian bokmal
|
||||||
// fallback to english
|
// fallback to english
|
||||||
switch (language) {
|
switch (language) {
|
||||||
case 'fr':
|
case 'fr':
|
||||||
@ -16,6 +19,10 @@ export const loadLanguagePackage = async (language: string) => {
|
|||||||
return await import(
|
return await import(
|
||||||
/* webpackChunkName: "password.it" */ '@zxcvbn-ts/language-it'
|
/* webpackChunkName: "password.it" */ '@zxcvbn-ts/language-it'
|
||||||
)
|
)
|
||||||
|
// case 'es':
|
||||||
|
// return await import(
|
||||||
|
// /* webpackChunkName: "password.es" */ '@zxcvbn-ts/language-es-es'
|
||||||
|
// )
|
||||||
default:
|
default:
|
||||||
return await import(
|
return await import(
|
||||||
/* webpackChunkName: "password.en" */ '@zxcvbn-ts/language-en'
|
/* webpackChunkName: "password.en" */ '@zxcvbn-ts/language-en'
|
||||||
|
@ -2271,6 +2271,11 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@zxcvbn-ts/language-en/-/language-en-2.1.0.tgz#52c797914380546b191e5b915e0e9843116eae18"
|
resolved "https://registry.yarnpkg.com/@zxcvbn-ts/language-en/-/language-en-2.1.0.tgz#52c797914380546b191e5b915e0e9843116eae18"
|
||||||
integrity sha512-I3n4AAbArjPAZtwCrk9MQnSrcj5+9rq8sic2rUU44fP5QaR17Vk8zDt61+R9dnP9ZRsj09aAUYML4Ash05qZjQ==
|
integrity sha512-I3n4AAbArjPAZtwCrk9MQnSrcj5+9rq8sic2rUU44fP5QaR17Vk8zDt61+R9dnP9ZRsj09aAUYML4Ash05qZjQ==
|
||||||
|
|
||||||
|
"@zxcvbn-ts/language-es-es@^2.1.1":
|
||||||
|
version "2.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/@zxcvbn-ts/language-es-es/-/language-es-es-2.1.1.tgz#960b28bf58e537547293d555a36b1c42ef1ce66b"
|
||||||
|
integrity sha512-uDXU/z1df6YGmacFVcFhsvQ2Uu/EbMFCjLeNoM/95vH3GCTb/10eI5IlzjgSP4EG305vd9oNpBy6MODu+9SvNg==
|
||||||
|
|
||||||
"@zxcvbn-ts/language-fr@^2.2.0":
|
"@zxcvbn-ts/language-fr@^2.2.0":
|
||||||
version "2.2.0"
|
version "2.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/@zxcvbn-ts/language-fr/-/language-fr-2.2.0.tgz#0b7dd93ebba0044fbe733836bc7091b76d42afe1"
|
resolved "https://registry.yarnpkg.com/@zxcvbn-ts/language-fr/-/language-fr-2.2.0.tgz#0b7dd93ebba0044fbe733836bc7091b76d42afe1"
|
||||||
|
Loading…
Reference in New Issue
Block a user