From df3469db5d112c6c037ae243cb0face277ca0361 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Brockm=C3=B6ller?= Date: Fri, 24 Jun 2022 20:44:26 +0200 Subject: [PATCH 01/14] add new language files --- .../account_confirmation/de/body.html | 32 ++++++ .../account_confirmation/de/body.txt | 12 ++ .../account_confirmation/de/subject.txt | 1 + .../de/body.html | 26 +++++ .../email_update_to_current_email/de/body.txt | 10 ++ .../de/subject.txt | 1 + .../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 + .../templates/password_change/de/body.html | 13 +++ .../templates/password_change/de/body.txt | 10 ++ .../templates/password_change/de/subject.txt | 1 + .../password_reset_request/de/body.html | 34 ++++++ .../password_reset_request/de/body.txt | 12 ++ .../password_reset_request/de/subject.txt | 1 + fittrackee_client/src/locales/de/about.json | 6 + .../src/locales/de/administration.json | 59 ++++++++++ fittrackee_client/src/locales/de/api.json | 34 ++++++ fittrackee_client/src/locales/de/buttons.json | 17 +++ fittrackee_client/src/locales/de/common.json | 23 ++++ .../src/locales/de/dashboard.json | 4 + fittrackee_client/src/locales/de/de.ts | 25 ++++ fittrackee_client/src/locales/de/error.json | 9 ++ fittrackee_client/src/locales/de/sports.json | 38 ++++++ .../src/locales/de/statistics.json | 8 ++ fittrackee_client/src/locales/de/user.json | 108 ++++++++++++++++++ .../src/locales/de/workouts.json | 101 ++++++++++++++++ fittrackee_client/src/utils/locales.ts | 4 +- 28 files changed, 633 insertions(+), 1 deletion(-) create mode 100644 fittrackee/emails/templates/account_confirmation/de/body.html create mode 100644 fittrackee/emails/templates/account_confirmation/de/body.txt create mode 100644 fittrackee/emails/templates/account_confirmation/de/subject.txt create mode 100644 fittrackee/emails/templates/email_update_to_current_email/de/body.html create mode 100644 fittrackee/emails/templates/email_update_to_current_email/de/body.txt create mode 100644 fittrackee/emails/templates/email_update_to_current_email/de/subject.txt create mode 100644 fittrackee/emails/templates/email_update_to_new_email/de/body.html create mode 100644 fittrackee/emails/templates/email_update_to_new_email/de/body.txt create mode 100644 fittrackee/emails/templates/email_update_to_new_email/de/subject.txt create mode 100644 fittrackee/emails/templates/password_change/de/body.html create mode 100644 fittrackee/emails/templates/password_change/de/body.txt create mode 100644 fittrackee/emails/templates/password_change/de/subject.txt create mode 100644 fittrackee/emails/templates/password_reset_request/de/body.html create mode 100644 fittrackee/emails/templates/password_reset_request/de/body.txt create mode 100644 fittrackee/emails/templates/password_reset_request/de/subject.txt create mode 100644 fittrackee_client/src/locales/de/about.json create mode 100644 fittrackee_client/src/locales/de/administration.json create mode 100644 fittrackee_client/src/locales/de/api.json create mode 100644 fittrackee_client/src/locales/de/buttons.json create mode 100644 fittrackee_client/src/locales/de/common.json create mode 100644 fittrackee_client/src/locales/de/dashboard.json create mode 100644 fittrackee_client/src/locales/de/de.ts create mode 100644 fittrackee_client/src/locales/de/error.json create mode 100644 fittrackee_client/src/locales/de/sports.json create mode 100644 fittrackee_client/src/locales/de/statistics.json create mode 100644 fittrackee_client/src/locales/de/user.json create mode 100644 fittrackee_client/src/locales/de/workouts.json diff --git a/fittrackee/emails/templates/account_confirmation/de/body.html b/fittrackee/emails/templates/account_confirmation/de/body.html new file mode 100644 index 00000000..905d6165 --- /dev/null +++ b/fittrackee/emails/templates/account_confirmation/de/body.html @@ -0,0 +1,32 @@ +{% 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 account. Use the link 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 %} \ No newline at end of file diff --git a/fittrackee/emails/templates/account_confirmation/de/body.txt b/fittrackee/emails/templates/account_confirmation/de/body.txt new file mode 100644 index 00000000..74d42d2d --- /dev/null +++ b/fittrackee/emails/templates/account_confirmation/de/body.txt @@ -0,0 +1,12 @@ +Hi {{username}}, + +You have created an account on FitTrackee account. 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/de/subject.txt b/fittrackee/emails/templates/account_confirmation/de/subject.txt new file mode 100644 index 00000000..9d674bf7 --- /dev/null +++ b/fittrackee/emails/templates/account_confirmation/de/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/de/body.html b/fittrackee/emails/templates/email_update_to_current_email/de/body.html new file mode 100644 index 00000000..9db94dbd --- /dev/null +++ b/fittrackee/emails/templates/email_update_to_current_email/de/body.html @@ -0,0 +1,26 @@ +{% 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/de/body.txt b/fittrackee/emails/templates/email_update_to_current_email/de/body.txt new file mode 100644 index 00000000..4e1f0929 --- /dev/null +++ b/fittrackee/emails/templates/email_update_to_current_email/de/body.txt @@ -0,0 +1,10 @@ +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/de/subject.txt b/fittrackee/emails/templates/email_update_to_current_email/de/subject.txt new file mode 100644 index 00000000..990157cc --- /dev/null +++ b/fittrackee/emails/templates/email_update_to_current_email/de/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/de/body.html b/fittrackee/emails/templates/email_update_to_new_email/de/body.html new file mode 100644 index 00000000..6a27eeca --- /dev/null +++ b/fittrackee/emails/templates/email_update_to_new_email/de/body.html @@ -0,0 +1,32 @@ +{% 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/de/body.txt b/fittrackee/emails/templates/email_update_to_new_email/de/body.txt new file mode 100644 index 00000000..9234510b --- /dev/null +++ b/fittrackee/emails/templates/email_update_to_new_email/de/body.txt @@ -0,0 +1,12 @@ +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/de/subject.txt b/fittrackee/emails/templates/email_update_to_new_email/de/subject.txt new file mode 100644 index 00000000..9b73071c --- /dev/null +++ b/fittrackee/emails/templates/email_update_to_new_email/de/subject.txt @@ -0,0 +1 @@ +FitTrackee - Confirm email change \ 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 new file mode 100644 index 00000000..345009d1 --- /dev/null +++ b/fittrackee/emails/templates/password_change/de/body.html @@ -0,0 +1,13 @@ +{% 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/de/body.txt b/fittrackee/emails/templates/password_change/de/body.txt new file mode 100644 index 00000000..9675f8a6 --- /dev/null +++ b/fittrackee/emails/templates/password_change/de/body.txt @@ -0,0 +1,10 @@ +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/de/subject.txt b/fittrackee/emails/templates/password_change/de/subject.txt new file mode 100644 index 00000000..2669367f --- /dev/null +++ b/fittrackee/emails/templates/password_change/de/subject.txt @@ -0,0 +1 @@ +FitTrackee - Password changed \ 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 new file mode 100644 index 00000000..f5c3ac20 --- /dev/null +++ b/fittrackee/emails/templates/password_reset_request/de/body.html @@ -0,0 +1,34 @@ +{% 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/de/body.txt b/fittrackee/emails/templates/password_reset_request/de/body.txt new file mode 100644 index 00000000..e988062d --- /dev/null +++ b/fittrackee/emails/templates/password_reset_request/de/body.txt @@ -0,0 +1,12 @@ +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/de/subject.txt b/fittrackee/emails/templates/password_reset_request/de/subject.txt new file mode 100644 index 00000000..d8033bea --- /dev/null +++ b/fittrackee/emails/templates/password_reset_request/de/subject.txt @@ -0,0 +1 @@ +FitTrackee - Password reset request \ No newline at end of file diff --git a/fittrackee_client/src/locales/de/about.json b/fittrackee_client/src/locales/de/about.json new file mode 100644 index 00000000..5103c517 --- /dev/null +++ b/fittrackee_client/src/locales/de/about.json @@ -0,0 +1,6 @@ +{ + "CONTACT_ADMIN": "Contact the administrator", + "FITTRACKEE_DESCRIPTION": "FitTrackee is a self-hosted outdoor activity tracker.", + "FITTRACKEE_LICENSE": "under {0} license ", + "SOURCE_CODE": "Source code" +} \ No newline at end of file diff --git a/fittrackee_client/src/locales/de/administration.json b/fittrackee_client/src/locales/de/administration.json new file mode 100644 index 00000000..f768d123 --- /dev/null +++ b/fittrackee_client/src/locales/de/administration.json @@ -0,0 +1,59 @@ +{ + "ACTION": "Action", + "ACTIVATE_USER_ACCOUNT": "Activate account", + "ACTIVE": "Active", + "ADMIN_RIGHTS_DELETE_USER_ACCOUNT": "Add/remove admin rights, delete user account.", + "ADMIN": "Admin", + "ADMINISTRATION": "Administration", + "APPLICATION": "Application", + "APP_CONFIG": { + "ADMIN_CONTACT": "Administrator email for contact", + "MAX_USERS_LABEL": "Max. number of active users", + "MAX_USERS_HELP": "If 0, no limitation on registration.", + "MAX_FILES_IN_ZIP_LABEL": "Max. files of zip archive", + "NO_CONTACT_EMAIL": "no contact email", + "SINGLE_UPLOAD_MAX_SIZE_LABEL": "Max. size of uploaded files (in Mb)", + "TITLE": "Application configuration", + "ZIP_UPLOAD_MAX_SIZE_LABEL": "Max. size of zip archive (in Mb)" + }, + "BACK_TO_ADMIN": "Back to admin", + "CONFIRM_USER_ACCOUNT_DELETION": "Are you sure you want to delete {0} account? All data will be deleted, this cannot be undone.", + "CONFIRM_USER_PASSWORD_RESET": "Are you sure you want to reset {0} password?", + "CURRENT_EMAIL": "Current email", + "DELETE_USER": "Delete user", + "EMAIL_SENDING_DISABLED": "Email sending is disabled.", + "ENABLE_DISABLE_SPORTS": "Enable/disable sports.", + "NEW_EMAIL": "New email", + "PASSWORD_RESET_SUCCESSFUL": "The password has been reset.", + "REGISTRATION_DISABLED": "Registration is currently disabled.", + "REGISTRATION_ENABLED": "Registration is currently enabled.", + "RESET_USER_PASSWORD": "Reset password", + "SPORTS": { + "TABLE": { + "ACTIVE": "Active", + "HAS_WORKOUTS": "workouts exist", + "IMAGE": "Image", + "LABEL": "Label" + }, + "TITLE": "Sports administration" + }, + "UPDATE_APPLICATION_DESCRIPTION": "Update application configuration (maximum number of registered users, maximum files size).", + "UPDATE_USER_EMAIL": "Update email", + "USER": "user | users", + "USER_EMAIL_UPDATE_SUCCESSFUL": "The email address has been updated.", + "USERS": { + "TABLE": { + "ADD_ADMIN_RIGHTS": "Add admin rights", + "REMOVE_ADMIN_RIGHTS": "Remove admin rights" + }, + "SELECTS": { + "ORDER_BY": { + "ADMIN": "admin status", + "CREATED_AT": "registration date", + "IS_ACTIVE": "account status", + "USERNAME": "username", + "WORKOUTS_COUNT": "workout count" + } + } + } +} diff --git a/fittrackee_client/src/locales/de/api.json b/fittrackee_client/src/locales/de/api.json new file mode 100644 index 00000000..8a0ff3b4 --- /dev/null +++ b/fittrackee_client/src/locales/de/api.json @@ -0,0 +1,34 @@ +{ + "ERROR": { + "UNKNOWN": "Error. Please try again or contact the administrator.", + "email: valid email must be provided": "Email: valid email must be provided.", + "error on getting configuration": "Error on getting configuration.", + "error when updating configuration": "Error when updating configuration", + "error, please try again or contact the administrator": "Error, please try again or contact the administrator.", + "error, registration is disabled": "Error, registration is disabled.", + "file extension not allowed": "File extension not allowed.", + "file size is greater than the allowed size": "File size is greater than the allowed size.", + "invalid credentials": "Invalid credentials.", + "invalid payload": "Provided data are invalid.", + "invalid token, please log in again": "Invalid token, please log in again.", + "invalid token, please request a new token": "Invalid token, please log in again.", + "Network Error": "Network Error.", + "new email must be different than curent email": "The new email must be different than curent email", + "no file part": "No file provided.", + "no selected file": "No selected file.", + "password: password and password confirmation do not match": "Password: password and password confirmation don't match.", + "provide a valid auth token": "Provide a valid auth token.", + "sorry, that username is already taken": "Sorry, that username is already taken.", + "sport does not exist": "Sport does not exist.", + "signature expired, please log in again": "Signature expired. Please log in again.", + "successfully registered": "Successfully registered.", + "user does not exist": "User does not exist.", + "valid email must be provided for admin contact": "A valid email must be provided for administrator contact", + "you can not delete your account, no other user has admin rights": "You can not delete your account, no other user has admin rights.", + "you do not have permissions": "You do not have permissions." + }, + "PAGINATION": { + "PREVIOUS": "previous", + "NEXT": "next" + } +} \ No newline at end of file diff --git a/fittrackee_client/src/locales/de/buttons.json b/fittrackee_client/src/locales/de/buttons.json new file mode 100644 index 00000000..6b97d2ee --- /dev/null +++ b/fittrackee_client/src/locales/de/buttons.json @@ -0,0 +1,17 @@ +{ + "ACCOUNT-CONFIRMATION-RESEND": "Resend confirmation email", + "BACK": "Back", + "CANCEL": "Cancel", + "CLEAR_FILTER": "Clear filters", + "DELETE_MY_ACCOUNT": "Delete my account", + "DISABLE": "Disable", + "EDIT": "Edit", + "ENABLE": "Enable", + "FILTER": "Filter", + "LOGIN": "Log in", + "NO": "No", + "REGISTER": "Register", + "RESET": "Reset", + "SUBMIT": "Submit", + "YES": "Yes" +} \ No newline at end of file diff --git a/fittrackee_client/src/locales/de/common.json b/fittrackee_client/src/locales/de/common.json new file mode 100644 index 00000000..077ccf24 --- /dev/null +++ b/fittrackee_client/src/locales/de/common.json @@ -0,0 +1,23 @@ +{ + "ABOUT": "about", + "CONFIRMATION": "Confirmation", + "CONTACT": "contact", + "DAY": "day | days", + "DOCUMENTATION": "documentation", + "HOME": "Home", + "HERE": "here", + "SELECTS": { + "ORDER_BY": { + "LABEL": "order by" + }, + "ORDER": { + "LABEL": "sort", + "ASC": "ascending", + "DESC": "descending" + }, + "PER_PAGE": { + "LABEL": "par page" + } + }, + "TOTAL": "Total" +} \ No newline at end of file diff --git a/fittrackee_client/src/locales/de/dashboard.json b/fittrackee_client/src/locales/de/dashboard.json new file mode 100644 index 00000000..598014dc --- /dev/null +++ b/fittrackee_client/src/locales/de/dashboard.json @@ -0,0 +1,4 @@ +{ + "DASHBOARD": "Dashboard", + "THIS_MONTH": "This month" +} diff --git a/fittrackee_client/src/locales/de/de.ts b/fittrackee_client/src/locales/de/de.ts new file mode 100644 index 00000000..26b7052d --- /dev/null +++ b/fittrackee_client/src/locales/de/de.ts @@ -0,0 +1,25 @@ +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 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, + sports: SportsTranslations, + statistics: StatisticsTranslations, + user: UserTranslations, + workouts: WorkoutsTranslations, +} diff --git a/fittrackee_client/src/locales/de/error.json b/fittrackee_client/src/locales/de/error.json new file mode 100644 index 00000000..9f687794 --- /dev/null +++ b/fittrackee_client/src/locales/de/error.json @@ -0,0 +1,9 @@ +{ + "UNKNOWN": "Error. Please try again or contact the administrator.", + "APP_ERROR": "The application seems to have encountered some issues.
Please try again later or contact the administrator.", + "NOT_FOUND": { + "PAGE": "Page not found", + "WORKOUT": "Workout not found" + }, + "SOMETHING_WRONG": "Something went wrong" +} \ No newline at end of file diff --git a/fittrackee_client/src/locales/de/sports.json b/fittrackee_client/src/locales/de/sports.json new file mode 100644 index 00000000..d4b44ab4 --- /dev/null +++ b/fittrackee_client/src/locales/de/sports.json @@ -0,0 +1,38 @@ +{ + "Cycling (Sport)": { + "LABEL": "Cycling (Sport)" + }, + "Cycling (Transport)": { + "LABEL": "Cycling (Transport)" + }, + "Hiking": { + "LABEL": "Hiking" + }, + "Mountain Biking": { + "LABEL": "Mountain Biking" + }, + "Mountain Biking (Electric)": { + "LABEL": "Mountain Biking (Electric)" + }, + "Rowing": { + "LABEL": "Rowing" + }, + "Running": { + "LABEL": "Running" + }, + "Skiing (Alpine)": { + "LABEL": "Skiing (Alpine)" + }, + "Skiing (Cross Country)": { + "LABEL": "Skiing (Cross Country)" + }, + "Snowshoes": { + "LABEL": "Snowshoes" + }, + "Trail": { + "LABEL": "Trail" + }, + "Walking": { + "LABEL": "Walking" + } +} \ No newline at end of file diff --git a/fittrackee_client/src/locales/de/statistics.json b/fittrackee_client/src/locales/de/statistics.json new file mode 100644 index 00000000..ecd2cbfe --- /dev/null +++ b/fittrackee_client/src/locales/de/statistics.json @@ -0,0 +1,8 @@ +{ + "STATISTICS": "Statistics", + "TIME_FRAMES": { + "week": "week", + "month": "month", + "year": "year" + } +} diff --git a/fittrackee_client/src/locales/de/user.json b/fittrackee_client/src/locales/de/user.json new file mode 100644 index 00000000..23f9fb55 --- /dev/null +++ b/fittrackee_client/src/locales/de/user.json @@ -0,0 +1,108 @@ +{ + "ACCOUNT_CONFIRMATION_NOT_RECEIVED": "Didn't received instructions?", + "ACCOUNT_CONFIRMATION_SENT": "Check your email. A new confirmation email has been sent to the address provided.", + "ADMIN": "Admin", + "ALREADY_HAVE_ACCOUNT": "Already have an account?", + "CONFIRM_ACCOUNT_DELETION": "Are you sure you want to delete your account? All data will be deleted, this cannot be undone", + "CURRENT_PASSWORD": "Current password", + "EMAIL": "Email", + "EMAIL_INFO": "Enter a valid email address.", + "ENTER_PASSWORD": "Enter a password", + "FILTER_ON_USERNAME": "Filter on username", + "HIDE_PASSWORD": "hide password", + "INVALID_TOKEN": "Invalid token, please request a new password reset.", + "LANGUAGE": "Language", + "LOG_IN": "log in", + "LOGIN": "Login", + "LOGOUT": "Logout", + "NEW_PASSWORD": "New password", + "NO_USERS_FOUND": "No users found.", + "PASSWORD": "Password", + "PASSWORD_INFO": "At least 8 characters required.", + "PASSWORD_FORGOTTEN": "Forgot password?", + "PASSWORD_RESET": "Password reset", + "PASSWORD_SENT_EMAIL_TEXT": "Check your email. If your address is in our database, you'll received an email with a link to reset your password.", + "PASSWORD_STRENGTH": { + "WEAK": "weak", + "AVERAGE": "average", + "GOOD": "good", + "STRONG": "strong", + "LABEL": "password strength", + "SUGGESTIONS": { + "l33t": "Avoid predictable letter substitutions like {'@'} for a.", + "reverseWords": "Avoid reversed spellings of common words.", + "allUppercase": "Capitalize some, but not all letters.", + "capitalization": "Capitalize more than the first letter.", + "dates": "Avoid dates and years that are associated with you.", + "recentYears": "Avoid recent years.", + "associatedYears": "Avoid years that are associated with you.", + "sequences": "Avoid common character sequences.", + "repeated": "Avoid repeated words and characters.", + "longerKeyboardPattern": "Use longer keyboard patterns and change typing direction multiple times.", + "anotherWord": "Add more words that are less common.", + "useWords": "Use multiple words, but avoid common phrases.", + "noNeed": "You can create strong passwords without using symbols, numbers, or uppercase letters.", + "pwned": "If you use this password elsewhere, you should change it." + } + }, + "PASSWORD_UPDATED": "Your password have been updated. Click {0} to log in.", + "PROFILE": { + "ACCOUNT_EDITION": "Account edition", + "BACK_TO_PROFILE": "Back to profile", + "BIO": "Bio", + "BIRTH_DATE": "Birth date", + "EDIT": "Edit profile", + "EDIT_PREFERENCES": "Edit preferences", + "EDIT_SPORTS_PREFERENCES": "Edit sports preferences", + "ERRORED_EMAIL_UPDATE": "Please {0} to change your email address again or contact the administrator", + "FIRST_NAME": "First name", + "FIRST_DAY_OF_WEEK": "First day of week", + "LANGUAGE": "Language", + "LAST_NAME": "Last name", + "LOCATION": "Location", + "MONDAY": "Monday", + "PICTURE": "Picture", + "PICTURE_EDITION": "Picture edition", + "PICTURE_UPDATE": "Update picture", + "PICTURE_REMOVE": "Remove picture", + "PREFERENCES_EDITION": "Preferences edition", + "PROFILE_EDITION": "Profile edition", + "REGISTRATION_DATE": "Registration date", + "SPORTS_EDITION": "Sports preferences edition", + "SUNDAY": "Sunday", + "TABS": { + "ACCOUNT": "account", + "PICTURE": "picture", + "PREFERENCES": "preferences", + "PROFILE": "profile", + "SPORTS": "sports" + }, + "SPORT": { + "ACTION": "action", + "COLOR": "color", + "DISABLED_BY_ADMIN": "disabled by admin", + "IS_ACTIVE": "active", + "LABEL": "label", + "STOPPED_SPEED_THRESHOLD": "stopped speed threshold" + }, + "SUCCESSFUL_EMAIL_UPDATE": "Your account has been updated successfully. Please check your email to confirm your new email address.", + "SUCCESSFUL_REGISTRATION": "Your account has been created successfully.", + "SUCCESSFUL_REGISTRATION_WITH_EMAIL": "A link to activate your account has been emailed to the address provided.", + "SUCCESSFUL_UPDATE": "Your account has been updated successfully.", + "UNITS": { + "LABEL": "Units for distance", + "IMPERIAL": "Imperial system (ft, mi)", + "METRIC": "Metric system (m, km)" + }, + "TIMEZONE": "Timezone" + }, + "REGISTER": "Register", + "RESENT_ACCOUNT_CONFIRMATION": "Resend account confirmation email", + "REGISTER_DISABLED": "Sorry, registration is disabled.", + "RESET_PASSWORD": "Reset your password", + "SHOW_PASSWORD": "show password", + "THIS_USER_ACCOUNT_IS_INACTIVE": "This user account is inactive.", + "USER_PICTURE": "user picture", + "USERNAME": "Username", + "USERNAME_INFO": "3 to 30 characters required, only alphanumeric characters and the underscore character \"_\" allowed." +} diff --git a/fittrackee_client/src/locales/de/workouts.json b/fittrackee_client/src/locales/de/workouts.json new file mode 100644 index 00000000..59be12ca --- /dev/null +++ b/fittrackee_client/src/locales/de/workouts.json @@ -0,0 +1,101 @@ +{ + "ADD_WORKOUT": "Training hinzufügen", + "ANALYSIS": "Analyse", + "ASCENT": "Aufstieg", + "AVE_SPEED": "Durchschn. Geschwindigkeit", + "AVERAGE_SPEED": "Durchschnittsgeschwindigkeit", + "BACK_TO_WORKOUT": "zurück zum Training", + "DATE": "Datum", + "DESCENT": "Abstieg", + "DISPLAY_FILTERS": "zeige Filter", + "DISTANCE": "Distanz", + "DURATION": "Dauer", + "EDIT_WORKOUT": "Training bearbeiten", + "ELEVATION": "Höhe", + "END": "Ende", + "FROM": "Von", + "GPX_FILE": ".gpx Datei", + "HIDE_FILTERS": "verberge Filter", + "LATEST_WORKOUTS": "Letzte Trainings", + "LOAD_MORE_WORKOUT": "Lade mehr Trainings", + "MAX_ALTITUDE": "max. altitude", + "MAX_FILES": "Maximale Dateianzahl", + "MAX_SIZE": "Maximalgröße", + "MAX_SPEED": "max. speed", + "MIN_ALTITUDE": "min. altitude", + "NEXT_SEGMENT": "Nächstes Segment", + "NEXT_WORKOUT": "Nächstes Training", + "NO_DATA_CLEANING": "Daten aus gpx, ohne Bereinigung", + "NO_FILE_PROVIDED": "No file provided", + "NO_FOLDER": "enthält keinen Ordner", + "NO_MAP": "Keine Karte", + "NO_NEXT_SEGMENT": "Kein nächstes Segment", + "NO_NEXT_WORKOUT": "Kein nächstes Training", + "NO_NOTES": "Keine Anmerkungen", + "NO_PREVIOUS_SEGMENT": "Kein vorheriges Segment", + "NO_PREVIOUS_WORKOUT": "Kein vorheriges Training", + "NO_RECORDS": "Keine Aufzeichnungen.", + "NO_WORKOUTS": "Keine Trainings.", + "NOTES": "Anmerkungen", + "PAUSES": "Pausen", + "PREVIOUS_SEGMENT": "Vorheriges Segment", + "PREVIOUS_WORKOUT": "Vorheriges Training", + "RECORD": "Eintrag | Einträge", + "RECORD_AS": "Ave. speed", + "RECORD_FD": "Weiteste Distanz", + "RECORD_LD": "Längste Dauer", + "RECORD_MS": "Max. speed", + "REMAINING_CHARS": "remaining characters", + "SEGMENT": "segment | segments", + "SPEED": "Geschwindigkeit", + "SPORT": "Sportart | Sportarten", + "START": "Start", + "START_AND_FINISH": "Start und Ziel", + "START_ELEVATION_AT_ZERO": "Höhenachse bei Null starten", + "TITLE": "Titel", + "TO": "bis", + "TOTAL_DURATION": "Gesamtdauer", + "UPLOAD_FIRST_WORKOUT": "Füge erstes Training hinzu!", + "WEATHER": { + "HUMIDITY": "Luftfeuchtigkeit", + "TEMPERATURE": "Temperatur", + "WIND": "Wind", + "WIND_DIRECTIONS": { + "N": "N", + "NNE": "NNO", + "NE": "NO", + "ENE": "ONO", + "E": "O", + "ESE": "OSO", + "SE": "SO", + "SSE": "SSO", + "S": "S", + "SSW": "SSW", + "SW": "SW", + "WSW": "WSW", + "W": "W", + "WNW": "WNW", + "NW": "NW", + "NNW": "NNW" + }, + "DARK_SKY": { + "clear-day": "klarer Tag", + "clear-night": "klare Nacht", + "cloudy": "wolkig", + "fog": "Nebel", + "partly-cloudy-day": "teilweise bewölkter Tag", + "partly-cloudy-night": "teilweise bewölkte Nacht", + "rain": "Regen", + "sleet": "Schneeregen", + "snow": "Schnee", + "wind": "Wind" + } + }, + "WITH_GPX": "mit .gpx Datei", + "WITHOUT_GPX": "ohne .gpx Datei", + "WORKOUT": "Training | Trainings", + "WORKOUT_DATE": "Trainingsdatum", + "WORKOUT_DELETION_CONFIRMATION": "Bist du sicher, dass du dieses Training löschen möchtest?", + "ZIP_ARCHIVE": ".zip Datei", + "ZIP_ARCHIVE_DESCRIPTION": "oder .zip Datei mit .gpx Dateien" +} diff --git a/fittrackee_client/src/utils/locales.ts b/fittrackee_client/src/utils/locales.ts index 9916e3bc..40cccd89 100644 --- a/fittrackee_client/src/utils/locales.ts +++ b/fittrackee_client/src/utils/locales.ts @@ -1,15 +1,17 @@ /* eslint-disable import/no-duplicates */ import { Locale } from 'date-fns' -import { enUS, fr } from 'date-fns/locale' +import { de, enUS, fr } from 'date-fns/locale' import createI18n from '@/i18n' export const localeFromLanguage: Record = { + de: de, en: enUS, fr: fr, } export const languageLabels: Record = { + de: 'Deutsch', en: 'English', fr: 'Français', } From 234389779d24bd4883f96d726777a50f7ac55553 Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 26 Jun 2022 11:10:30 +0200 Subject: [PATCH 02/14] Add weblate --- CONTRIBUTING.md | 2 ++ README.md | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6df6a910..060350e5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -20,6 +20,8 @@ The **GitHub** repository contains: - tests, - documentation (source and build). +Translations can be updated through [Weblate](https://hosted.weblate.org/engage/fittrackee/). + Continuous integration workflows run on **Github Actions** platform (on **push** and **pull requests**). diff --git a/README.md b/README.md index 1134dcdf..62fa7f50 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,10 @@ Examples for Android (non-exhaustive list): Maps are displayed using [Open Street Map](https://www.openstreetmap.org). It is also possible to add a workout without a gpx file. +Translations can be updated through [Weblate](https://hosted.weblate.org/engage/fittrackee/). +Available languages: +[![Translation status](https://hosted.weblate.org/widgets/fittrackee/-/multi-auto.svg)](https://hosted.weblate.org/engage/fittrackee/) + **Still under heavy development (some features may be unstable).** (see [issues](https://github.com/SamR1/FitTrackee/issues) and [documentation](https://samr1.github.io/FitTrackee) for more information) From 8bb6c602205d038e84666810c26fad04fbc207ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Brockm=C3=B6ller?= Date: Sun, 26 Jun 2022 22:06:16 +0200 Subject: [PATCH 03/14] translate fittrackee_client --- fittrackee_client/src/locales/de/about.json | 10 +- .../src/locales/de/administration.json | 82 ++++---- fittrackee_client/src/locales/de/api.json | 58 +++--- fittrackee_client/src/locales/de/buttons.json | 30 +-- fittrackee_client/src/locales/de/common.json | 26 +-- .../src/locales/de/dashboard.json | 2 +- fittrackee_client/src/locales/de/error.json | 12 +- fittrackee_client/src/locales/de/sports.json | 20 +- .../src/locales/de/statistics.json | 8 +- fittrackee_client/src/locales/de/user.json | 186 +++++++++--------- .../src/locales/de/workouts.json | 20 +- 11 files changed, 227 insertions(+), 227 deletions(-) diff --git a/fittrackee_client/src/locales/de/about.json b/fittrackee_client/src/locales/de/about.json index 5103c517..d5c76a42 100644 --- a/fittrackee_client/src/locales/de/about.json +++ b/fittrackee_client/src/locales/de/about.json @@ -1,6 +1,6 @@ { - "CONTACT_ADMIN": "Contact the administrator", - "FITTRACKEE_DESCRIPTION": "FitTrackee is a self-hosted outdoor activity tracker.", - "FITTRACKEE_LICENSE": "under {0} license ", - "SOURCE_CODE": "Source code" -} \ No newline at end of file + "CONTACT_ADMIN": "Kontaktiere den Administrator", + "FITTRACKEE_DESCRIPTION": "FitTrackee ist ein selbst-gehosteter Outdoor-Aktivitäts-Tracker.", + "FITTRACKEE_LICENSE": "unter {0} Lizenz", + "SOURCE_CODE": "Quellkode" +} diff --git a/fittrackee_client/src/locales/de/administration.json b/fittrackee_client/src/locales/de/administration.json index f768d123..b2decee6 100644 --- a/fittrackee_client/src/locales/de/administration.json +++ b/fittrackee_client/src/locales/de/administration.json @@ -1,58 +1,58 @@ { - "ACTION": "Action", - "ACTIVATE_USER_ACCOUNT": "Activate account", - "ACTIVE": "Active", - "ADMIN_RIGHTS_DELETE_USER_ACCOUNT": "Add/remove admin rights, delete user account.", + "ACTION": "Aktion", + "ACTIVATE_USER_ACCOUNT": "Aktiviere Konto", + "ACTIVE": "Aktiv", + "ADMIN_RIGHTS_DELETE_USER_ACCOUNT": "Hinzufügen/Entfernen von Administratorrechten, Lösche Nutzerkonto.", "ADMIN": "Admin", "ADMINISTRATION": "Administration", - "APPLICATION": "Application", + "APPLICATION": "Anwendung", "APP_CONFIG": { - "ADMIN_CONTACT": "Administrator email for contact", - "MAX_USERS_LABEL": "Max. number of active users", - "MAX_USERS_HELP": "If 0, no limitation on registration.", - "MAX_FILES_IN_ZIP_LABEL": "Max. files of zip archive", - "NO_CONTACT_EMAIL": "no contact email", - "SINGLE_UPLOAD_MAX_SIZE_LABEL": "Max. size of uploaded files (in Mb)", - "TITLE": "Application configuration", - "ZIP_UPLOAD_MAX_SIZE_LABEL": "Max. size of zip archive (in Mb)" + "ADMIN_CONTACT": "Kontakt-E-Mail des Administrators", + "MAX_USERS_LABEL": "Max. Anzahl aktiver Nutzer", + "MAX_USERS_HELP": "Wenn 0, gibt es keine Registrierungslimitierung..", + "MAX_FILES_IN_ZIP_LABEL": "Max. Dateianzahl im zip Archiv", + "NO_CONTACT_EMAIL": "keine Kontakt-E-Mail", + "SINGLE_UPLOAD_MAX_SIZE_LABEL": "Max. Größe der hochgeladenen Dateien (in Mb)", + "TITLE": "Anwendungskonfiguration", + "ZIP_UPLOAD_MAX_SIZE_LABEL": "Max. Größe des zip Archives (in Mb)" }, - "BACK_TO_ADMIN": "Back to admin", - "CONFIRM_USER_ACCOUNT_DELETION": "Are you sure you want to delete {0} account? All data will be deleted, this cannot be undone.", - "CONFIRM_USER_PASSWORD_RESET": "Are you sure you want to reset {0} password?", - "CURRENT_EMAIL": "Current email", - "DELETE_USER": "Delete user", - "EMAIL_SENDING_DISABLED": "Email sending is disabled.", - "ENABLE_DISABLE_SPORTS": "Enable/disable sports.", - "NEW_EMAIL": "New email", - "PASSWORD_RESET_SUCCESSFUL": "The password has been reset.", - "REGISTRATION_DISABLED": "Registration is currently disabled.", - "REGISTRATION_ENABLED": "Registration is currently enabled.", - "RESET_USER_PASSWORD": "Reset password", + "BACK_TO_ADMIN": "Zurück zu Admin", + "CONFIRM_USER_ACCOUNT_DELETION": "Möchtest du wirklich das {0} Konto löschen? Alle Daten werden gelöscht. Dieser Vorgang kann nicht rückgängig gemacht werden.", + "CONFIRM_USER_PASSWORD_RESET": "Möchtest du wirklich das {0} Passwort zurücksetzen?", + "CURRENT_EMAIL": "Aktuelle E-Mail", + "DELETE_USER": "Lösche Nutzer", + "EMAIL_SENDING_DISABLED": "E-Mail-Versand ist deaktiviert.", + "ENABLE_DISABLE_SPORTS": "Aktivieren/Deaktivieren von Sportarten.", + "NEW_EMAIL": "Neue E-Mail", + "PASSWORD_RESET_SUCCESSFUL": "Das wasswort wurde zurückgesetzt.", + "REGISTRATION_DISABLED": "Registrierung ist derzeit deaktiviert.", + "REGISTRATION_ENABLED": "Registrierung ist derzeit aktiviert.", + "RESET_USER_PASSWORD": "Passwort zurücksetzen", "SPORTS": { "TABLE": { - "ACTIVE": "Active", - "HAS_WORKOUTS": "workouts exist", - "IMAGE": "Image", - "LABEL": "Label" + "ACTIVE": "Aktiv", + "HAS_WORKOUTS": "Trainings existieren", + "IMAGE": "Bild", + "LABEL": "Titel" }, - "TITLE": "Sports administration" + "TITLE": "Sportarten Administration" }, - "UPDATE_APPLICATION_DESCRIPTION": "Update application configuration (maximum number of registered users, maximum files size).", - "UPDATE_USER_EMAIL": "Update email", - "USER": "user | users", - "USER_EMAIL_UPDATE_SUCCESSFUL": "The email address has been updated.", + "UPDATE_APPLICATION_DESCRIPTION": "Aktualisiere Anwemdungskonfiguration (maximale Anzahl an registrierten Nutzern, maximale Dateigröße).", + "UPDATE_USER_EMAIL": "Aktualisiere E-Mail", + "USER": "Nutzer", + "USER_EMAIL_UPDATE_SUCCESSFUL": "Die E-Mail Adresse wurde aktualisiert.", "USERS": { "TABLE": { - "ADD_ADMIN_RIGHTS": "Add admin rights", - "REMOVE_ADMIN_RIGHTS": "Remove admin rights" + "ADD_ADMIN_RIGHTS": "Administratorrechte hinzufügen", + "REMOVE_ADMIN_RIGHTS": "Administratorrechte entfernen" }, "SELECTS": { "ORDER_BY": { - "ADMIN": "admin status", - "CREATED_AT": "registration date", - "IS_ACTIVE": "account status", - "USERNAME": "username", - "WORKOUTS_COUNT": "workout count" + "ADMIN": "Adminstatus", + "CREATED_AT": "Registrierungsdatum", + "IS_ACTIVE": "Accountstatus", + "USERNAME": "Nutzername", + "WORKOUTS_COUNT": "Trainingsanzahl" } } } diff --git a/fittrackee_client/src/locales/de/api.json b/fittrackee_client/src/locales/de/api.json index 8a0ff3b4..54854a97 100644 --- a/fittrackee_client/src/locales/de/api.json +++ b/fittrackee_client/src/locales/de/api.json @@ -1,34 +1,34 @@ { "ERROR": { - "UNKNOWN": "Error. Please try again or contact the administrator.", - "email: valid email must be provided": "Email: valid email must be provided.", - "error on getting configuration": "Error on getting configuration.", - "error when updating configuration": "Error when updating configuration", - "error, please try again or contact the administrator": "Error, please try again or contact the administrator.", - "error, registration is disabled": "Error, registration is disabled.", - "file extension not allowed": "File extension not allowed.", - "file size is greater than the allowed size": "File size is greater than the allowed size.", - "invalid credentials": "Invalid credentials.", - "invalid payload": "Provided data are invalid.", - "invalid token, please log in again": "Invalid token, please log in again.", - "invalid token, please request a new token": "Invalid token, please log in again.", - "Network Error": "Network Error.", - "new email must be different than curent email": "The new email must be different than curent email", - "no file part": "No file provided.", - "no selected file": "No selected file.", - "password: password and password confirmation do not match": "Password: password and password confirmation don't match.", - "provide a valid auth token": "Provide a valid auth token.", - "sorry, that username is already taken": "Sorry, that username is already taken.", - "sport does not exist": "Sport does not exist.", - "signature expired, please log in again": "Signature expired. Please log in again.", - "successfully registered": "Successfully registered.", - "user does not exist": "User does not exist.", - "valid email must be provided for admin contact": "A valid email must be provided for administrator contact", - "you can not delete your account, no other user has admin rights": "You can not delete your account, no other user has admin rights.", - "you do not have permissions": "You do not have permissions." + "UNKNOWN": "Fehler. Bitte versuche es erneut oder kontaktiere den Administrator.", + "email: valid email must be provided": "E-Mail: Eine gültige E-Mail muss angegeben werden.", + "error on getting configuration": "Fehler beim Abrufen 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, registration is disabled": "Fehler. Die Registrierung ist deaktiviert.", + "file extension not allowed": "Dateierweiterung ist nicht erlaubt.", + "file size is greater than the allowed size": "Die Datei ist größer als erlaubt.", + "invalid credentials": "Ungültige Anmeldedaten.", + "invalid payload": "Die bereitgestellten Daten sind ungültig.", + "invalid token, please log in again": "Ungültiges Token, bitte erneut anmelden.", + "invalid token, please request a new token": "Ungültiges Token, bitte erneut anmelden.", + "Network Error": "Netzwerkfehler.", + "new email must be different than curent email": "Die neue E-Mail muss sich von der aktuellen E-Mail unterscheiden.", + "no file part": "Keine Datei angegeben.", + "no selected file": "Keine Datei ausgewählt.", + "password: password and password confirmation do not match": "Passwort: Passwort und Passwortbestätigung stimmen nicht überein.", + "provide a valid auth token": "Gebe ein gültiges Authentifizierungstoken an.", + "sorry, that username is already taken": "Es tut mir leid, der Benutzername ist schon vergeben.", + "sport does not exist": "Sportart existiert nicht.", + "signature expired, please log in again": "Die Signatur ist abgelaufen. Bitte melde dich erneut an.", + "successfully registered": "Registrierung erfolgreich.", + "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.", + "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." }, "PAGINATION": { - "PREVIOUS": "previous", - "NEXT": "next" + "PREVIOUS": "Vorhergehende", + "NEXT": "Nächste" } -} \ No newline at end of file +} diff --git a/fittrackee_client/src/locales/de/buttons.json b/fittrackee_client/src/locales/de/buttons.json index 6b97d2ee..9be5564e 100644 --- a/fittrackee_client/src/locales/de/buttons.json +++ b/fittrackee_client/src/locales/de/buttons.json @@ -1,17 +1,17 @@ { - "ACCOUNT-CONFIRMATION-RESEND": "Resend confirmation email", - "BACK": "Back", - "CANCEL": "Cancel", - "CLEAR_FILTER": "Clear filters", - "DELETE_MY_ACCOUNT": "Delete my account", - "DISABLE": "Disable", - "EDIT": "Edit", - "ENABLE": "Enable", + "ACCOUNT-CONFIRMATION-RESEND": "Bestätigungs-E-Mail erneut senden", + "BACK": "Zurück", + "CANCEL": "Abbrechen", + "CLEAR_FILTER": "Filter löschen", + "DELETE_MY_ACCOUNT": "Lösche meinen Account", + "DISABLE": "Deaktivieren", + "EDIT": "Editieren", + "ENABLE": "Aktivieren", "FILTER": "Filter", - "LOGIN": "Log in", - "NO": "No", - "REGISTER": "Register", - "RESET": "Reset", - "SUBMIT": "Submit", - "YES": "Yes" -} \ No newline at end of file + "LOGIN": "Einloggen", + "NO": "Nein", + "REGISTER": "Registrieren", + "RESET": "Zurücksetzen", + "SUBMIT": "Speichern", + "YES": "Ja" +} diff --git a/fittrackee_client/src/locales/de/common.json b/fittrackee_client/src/locales/de/common.json index 077ccf24..bd7cea60 100644 --- a/fittrackee_client/src/locales/de/common.json +++ b/fittrackee_client/src/locales/de/common.json @@ -1,23 +1,23 @@ { - "ABOUT": "about", - "CONFIRMATION": "Confirmation", - "CONTACT": "contact", - "DAY": "day | days", - "DOCUMENTATION": "documentation", - "HOME": "Home", - "HERE": "here", + "ABOUT": "Über", + "CONFIRMATION": "Bestätigung", + "CONTACT": "Kontakt", + "DAY": "Tag | Tage", + "DOCUMENTATION": "Dokumentation", + "HOME": "Startseite", + "HERE": "hier", "SELECTS": { "ORDER_BY": { - "LABEL": "order by" + "LABEL": "sortiert nach" }, "ORDER": { - "LABEL": "sort", - "ASC": "ascending", - "DESC": "descending" + "LABEL": "sortieren", + "ASC": "aufsteigend", + "DESC": "absteigend" }, "PER_PAGE": { - "LABEL": "par page" + "LABEL": "pro Seite" } }, - "TOTAL": "Total" + "TOTAL": "Insgesamt" } \ No newline at end of file diff --git a/fittrackee_client/src/locales/de/dashboard.json b/fittrackee_client/src/locales/de/dashboard.json index 598014dc..2168d6ee 100644 --- a/fittrackee_client/src/locales/de/dashboard.json +++ b/fittrackee_client/src/locales/de/dashboard.json @@ -1,4 +1,4 @@ { "DASHBOARD": "Dashboard", - "THIS_MONTH": "This month" + "THIS_MONTH": "Dieser Monat" } diff --git a/fittrackee_client/src/locales/de/error.json b/fittrackee_client/src/locales/de/error.json index 9f687794..12d4d56f 100644 --- a/fittrackee_client/src/locales/de/error.json +++ b/fittrackee_client/src/locales/de/error.json @@ -1,9 +1,9 @@ { - "UNKNOWN": "Error. Please try again or contact the administrator.", - "APP_ERROR": "The application seems to have encountered some issues.
Please try again later or contact the administrator.", + "UNKNOWN": "Fehler. Bitte versuche es erneut oder kontaktiere den Administrator.", + "APP_ERROR": "Bei der Anwendung scheinen einige Probleme aufgetreten zu sein.
Bitte versuche es später noch einmal oder kontaktiere den Administrator.", "NOT_FOUND": { - "PAGE": "Page not found", - "WORKOUT": "Workout not found" + "PAGE": "Seite nicht gefunden", + "WORKOUT": "Training nicht gefunden" }, - "SOMETHING_WRONG": "Something went wrong" -} \ No newline at end of file + "SOMETHING_WRONG": "Etwas lief schief" +} diff --git a/fittrackee_client/src/locales/de/sports.json b/fittrackee_client/src/locales/de/sports.json index d4b44ab4..b67a4303 100644 --- a/fittrackee_client/src/locales/de/sports.json +++ b/fittrackee_client/src/locales/de/sports.json @@ -1,33 +1,33 @@ { "Cycling (Sport)": { - "LABEL": "Cycling (Sport)" + "LABEL": "Radfahren (Sport)" }, "Cycling (Transport)": { - "LABEL": "Cycling (Transport)" + "LABEL": "Radfahren (Pendeln)" }, "Hiking": { - "LABEL": "Hiking" + "LABEL": "Wandern" }, "Mountain Biking": { - "LABEL": "Mountain Biking" + "LABEL": "Mountainbiken" }, "Mountain Biking (Electric)": { - "LABEL": "Mountain Biking (Electric)" + "LABEL": "Mountainbiken (elektrisch)" }, "Rowing": { - "LABEL": "Rowing" + "LABEL": "Rudern" }, "Running": { - "LABEL": "Running" + "LABEL": "Laufen" }, "Skiing (Alpine)": { - "LABEL": "Skiing (Alpine)" + "LABEL": "Skifahren (Alpin)" }, "Skiing (Cross Country)": { - "LABEL": "Skiing (Cross Country)" + "LABEL": "Skifahren (Langlauf)" }, "Snowshoes": { - "LABEL": "Snowshoes" + "LABEL": "Schneeschuhe" }, "Trail": { "LABEL": "Trail" diff --git a/fittrackee_client/src/locales/de/statistics.json b/fittrackee_client/src/locales/de/statistics.json index ecd2cbfe..2de290e0 100644 --- a/fittrackee_client/src/locales/de/statistics.json +++ b/fittrackee_client/src/locales/de/statistics.json @@ -1,8 +1,8 @@ { - "STATISTICS": "Statistics", + "STATISTICS": "Statistik", "TIME_FRAMES": { - "week": "week", - "month": "month", - "year": "year" + "week": "Woche", + "month": "Monat", + "year": "Jahr" } } diff --git a/fittrackee_client/src/locales/de/user.json b/fittrackee_client/src/locales/de/user.json index 23f9fb55..9a6234d8 100644 --- a/fittrackee_client/src/locales/de/user.json +++ b/fittrackee_client/src/locales/de/user.json @@ -1,108 +1,108 @@ { - "ACCOUNT_CONFIRMATION_NOT_RECEIVED": "Didn't received instructions?", - "ACCOUNT_CONFIRMATION_SENT": "Check your email. A new confirmation email has been sent to the address provided.", + "ACCOUNT_CONFIRMATION_NOT_RECEIVED": "Hast du keine Anweisungen erhalten?", + "ACCOUNT_CONFIRMATION_SENT": "Prüfe deine E-Mail. Eine neue Bestätigungsemail wurde an die angegebene Adresse geschickt.", "ADMIN": "Admin", - "ALREADY_HAVE_ACCOUNT": "Already have an account?", - "CONFIRM_ACCOUNT_DELETION": "Are you sure you want to delete your account? All data will be deleted, this cannot be undone", - "CURRENT_PASSWORD": "Current password", - "EMAIL": "Email", - "EMAIL_INFO": "Enter a valid email address.", - "ENTER_PASSWORD": "Enter a password", - "FILTER_ON_USERNAME": "Filter on username", - "HIDE_PASSWORD": "hide password", - "INVALID_TOKEN": "Invalid token, please request a new password reset.", - "LANGUAGE": "Language", - "LOG_IN": "log in", - "LOGIN": "Login", - "LOGOUT": "Logout", - "NEW_PASSWORD": "New password", - "NO_USERS_FOUND": "No users found.", - "PASSWORD": "Password", - "PASSWORD_INFO": "At least 8 characters required.", - "PASSWORD_FORGOTTEN": "Forgot password?", - "PASSWORD_RESET": "Password reset", - "PASSWORD_SENT_EMAIL_TEXT": "Check your email. If your address is in our database, you'll received an email with a link to reset your password.", + "ALREADY_HAVE_ACCOUNT": "Hast du bereits ein Konto?", + "CONFIRM_ACCOUNT_DELETION": "Möchtest du dein Konto wirklich löschen? Alle Daten werden gelöscht. Dieser Vorgang kann nicht rückgängig gemacht werden.", + "CURRENT_PASSWORD": "Aktuelles Passwort", + "EMAIL": "E-Mail", + "EMAIL_INFO": "Gebe eine gültige E-Mail-Adresse an.", + "ENTER_PASSWORD": "Gebe ein Passwort ein", + "FILTER_ON_USERNAME": "Nach Benutzernamen filtern", + "HIDE_PASSWORD": "Passwort verbergen", + "INVALID_TOKEN": "Ungültiges Token, bitte fordere ein neues Passworts an.", + "LANGUAGE": "Sprache", + "LOG_IN": "Anmelden", + "LOGIN": "Anmeldung", + "LOGOUT": "Abmelden", + "NEW_PASSWORD": "Neues Passwort", + "NO_USERS_FOUND": "Keine Nutzer gefunden.", + "PASSWORD": "Passwort", + "PASSWORD_INFO": "Mindestens 8 Zeichen sind erforderlich.", + "PASSWORD_FORGOTTEN": "Passwort vergessen?", + "PASSWORD_RESET": "Passwort zurücksetzen", + "PASSWORD_SENT_EMAIL_TEXT": "Prüfe deine E-Mail. Wenn deine Adresse in der Datenbank enthalten ist, wirst du eine E-Mail mit einem Link erhalten um dein Passwort zurückzusetzen.", "PASSWORD_STRENGTH": { - "WEAK": "weak", - "AVERAGE": "average", - "GOOD": "good", - "STRONG": "strong", - "LABEL": "password strength", + "WEAK": "schwach", + "AVERAGE": "mittel", + "GOOD": "gut", + "STRONG": "start", + "LABEL": "Passwortstärke", "SUGGESTIONS": { - "l33t": "Avoid predictable letter substitutions like {'@'} for a.", - "reverseWords": "Avoid reversed spellings of common words.", - "allUppercase": "Capitalize some, but not all letters.", - "capitalization": "Capitalize more than the first letter.", - "dates": "Avoid dates and years that are associated with you.", - "recentYears": "Avoid recent years.", - "associatedYears": "Avoid years that are associated with you.", - "sequences": "Avoid common character sequences.", - "repeated": "Avoid repeated words and characters.", - "longerKeyboardPattern": "Use longer keyboard patterns and change typing direction multiple times.", - "anotherWord": "Add more words that are less common.", - "useWords": "Use multiple words, but avoid common phrases.", - "noNeed": "You can create strong passwords without using symbols, numbers, or uppercase letters.", - "pwned": "If you use this password elsewhere, you should change it." + "l33t": "Vermeide vorhersehbare Buchstabenersetzungen wie {'@'} für a.", + "reverseWords": "Vermeide umgekehrte Schreibweisen gebräuchlicher Wörter.", + "allUppercase": "Schreibe einige, aber nicht alle Buchstaben groß.", + "capitalization": "Schreibe mehr als nur den ersten Buchstaben groß.", + "dates": "Vermeide Daten und Jahreszahlen, die mit Dir in Verbindung gebracht werden.", + "recentYears": "Vermeide Angabe von letzten Jahreszahlen.", + "associatedYears": "Vermeide Jahreszahlen, die mit Dir in Verbindung gebracht werden.", + "sequences": "Vermeide gebräuchliche Zeichenfolgen.", + "repeated": "Vermeide wiederholungen von Wörtern und Zeichen.", + "longerKeyboardPattern": "Verwende längere Tastaturmuster und ändere mehrmals die Schreibrichtung.", + "anotherWord": "Füge weitere weniger gebräuchliche Wörter hinzu.", + "useWords": "Verwenden Sie mehrere Wörter, aber vermeide gebräuchliche Ausdrücke.", + "noNeed": "Du kannst sichere Passwörter erstellen, ohne Symbole, Zahlen oder Großbuchstaben zu verwenden.", + "pwned": "Wenn Sie dieses Passwort auch anderweitig verwenden, sollten Sie es ändern." } }, - "PASSWORD_UPDATED": "Your password have been updated. Click {0} to log in.", + "PASSWORD_UPDATED": "Dein Passwort wurde aktualisiert. Klicke {0} um dich anzumelden.", "PROFILE": { - "ACCOUNT_EDITION": "Account edition", - "BACK_TO_PROFILE": "Back to profile", - "BIO": "Bio", - "BIRTH_DATE": "Birth date", - "EDIT": "Edit profile", - "EDIT_PREFERENCES": "Edit preferences", - "EDIT_SPORTS_PREFERENCES": "Edit sports preferences", - "ERRORED_EMAIL_UPDATE": "Please {0} to change your email address again or contact the administrator", - "FIRST_NAME": "First name", - "FIRST_DAY_OF_WEEK": "First day of week", - "LANGUAGE": "Language", - "LAST_NAME": "Last name", - "LOCATION": "Location", - "MONDAY": "Monday", - "PICTURE": "Picture", - "PICTURE_EDITION": "Picture edition", - "PICTURE_UPDATE": "Update picture", - "PICTURE_REMOVE": "Remove picture", - "PREFERENCES_EDITION": "Preferences edition", - "PROFILE_EDITION": "Profile edition", - "REGISTRATION_DATE": "Registration date", - "SPORTS_EDITION": "Sports preferences edition", - "SUNDAY": "Sunday", + "ACCOUNT_EDITION": "Kontoausgabe", + "BACK_TO_PROFILE": "Zurück zum Profil", + "BIO": "Biographie", + "BIRTH_DATE": "Geburtsdatum", + "EDIT": "Profil bearbeiten", + "EDIT_PREFERENCES": "Einstellungen ändern", + "EDIT_SPORTS_PREFERENCES": "Einstellungen für Sportarten ändern", + "ERRORED_EMAIL_UPDATE": "Bitte {0} um deine E-Mail Adresse nochmals zu ändern oder kontaktiere den Administrator", + "FIRST_NAME": "Vorname", + "FIRST_DAY_OF_WEEK": "Erster Tag der Woche", + "LANGUAGE": "Sprache", + "LAST_NAME": "Nachname", + "LOCATION": "Ort", + "MONDAY": "Montag", + "PICTURE": "Bild", + "PICTURE_EDITION": "Bildausgabe", + "PICTURE_UPDATE": "Bild aktualisieren", + "PICTURE_REMOVE": "Bild entfernen", + "PREFERENCES_EDITION": "Einstellungsausgabe", + "PROFILE_EDITION": "Profil-Ausgabe", + "REGISTRATION_DATE": "Regirierungsdatum", + "SPORTS_EDITION": "Sportarten-Einstellungsausgabe", + "SUNDAY": "Sontag", "TABS": { - "ACCOUNT": "account", - "PICTURE": "picture", - "PREFERENCES": "preferences", - "PROFILE": "profile", - "SPORTS": "sports" + "ACCOUNT": "Konto", + "PICTURE": "Bild", + "PREFERENCES": "Einstellungen", + "PROFILE": "Profil", + "SPORTS": "Sportarten" }, "SPORT": { - "ACTION": "action", - "COLOR": "color", - "DISABLED_BY_ADMIN": "disabled by admin", - "IS_ACTIVE": "active", - "LABEL": "label", - "STOPPED_SPEED_THRESHOLD": "stopped speed threshold" + "ACTION": "Aktion", + "COLOR": "Farbe", + "DISABLED_BY_ADMIN": "vom Admin deaktiviert", + "IS_ACTIVE": "aktiv", + "LABEL": "Titel", + "STOPPED_SPEED_THRESHOLD": "Geschwindigkeitsschwellenwert für Stopp" }, - "SUCCESSFUL_EMAIL_UPDATE": "Your account has been updated successfully. Please check your email to confirm your new email address.", - "SUCCESSFUL_REGISTRATION": "Your account has been created successfully.", - "SUCCESSFUL_REGISTRATION_WITH_EMAIL": "A link to activate your account has been emailed to the address provided.", - "SUCCESSFUL_UPDATE": "Your account has been updated successfully.", + "SUCCESSFUL_EMAIL_UPDATE": "Dein Konto wurde erfolgreich aktualisiert. Bitte prüfe deine E-Mail um deine neue E-Mail Adresse zu bestätigen.", + "SUCCESSFUL_REGISTRATION": "Dein Konto wurde erfolgreich erstellt.", + "SUCCESSFUL_REGISTRATION_WITH_EMAIL": "Ein Aktivierungslink für dein Konto wurde an die angegebene E-Mail Adresse geschickt.", + "SUCCESSFUL_UPDATE": "Dein Konto wurde erfolgreich aktualisiert.", "UNITS": { - "LABEL": "Units for distance", - "IMPERIAL": "Imperial system (ft, mi)", - "METRIC": "Metric system (m, km)" + "LABEL": "Einheiten für die Distanz", + "IMPERIAL": "Imperiales System (ft, mi)", + "METRIC": "Metrisches System (m, km)" }, - "TIMEZONE": "Timezone" + "TIMEZONE": "Zeitzone" }, - "REGISTER": "Register", - "RESENT_ACCOUNT_CONFIRMATION": "Resend account confirmation email", - "REGISTER_DISABLED": "Sorry, registration is disabled.", - "RESET_PASSWORD": "Reset your password", - "SHOW_PASSWORD": "show password", - "THIS_USER_ACCOUNT_IS_INACTIVE": "This user account is inactive.", - "USER_PICTURE": "user picture", - "USERNAME": "Username", - "USERNAME_INFO": "3 to 30 characters required, only alphanumeric characters and the underscore character \"_\" allowed." + "REGISTER": "Registrieren", + "RESENT_ACCOUNT_CONFIRMATION": "Sende Email zur Kontobestätigung erneut", + "REGISTER_DISABLED": "Entschuldigung, die Registrierung ist deaktiviert.", + "RESET_PASSWORD": "Passwort zurücksetzen", + "SHOW_PASSWORD": "Passwort anzeigen", + "THIS_USER_ACCOUNT_IS_INACTIVE": "Dieser Account ist inaktiv.", + "USER_PICTURE": "Benutzerbild", + "USERNAME": "Nutzername", + "USERNAME_INFO": "3 bis 30 Zeichen sind erforderlich, nur alphanumerische Zeichen und der Unterstrich \"_\" sind erlaubt." } diff --git a/fittrackee_client/src/locales/de/workouts.json b/fittrackee_client/src/locales/de/workouts.json index 59be12ca..2c15ae8d 100644 --- a/fittrackee_client/src/locales/de/workouts.json +++ b/fittrackee_client/src/locales/de/workouts.json @@ -8,7 +8,7 @@ "DATE": "Datum", "DESCENT": "Abstieg", "DISPLAY_FILTERS": "zeige Filter", - "DISTANCE": "Distanz", + "DISTANCE": "Entfernung", "DURATION": "Dauer", "EDIT_WORKOUT": "Training bearbeiten", "ELEVATION": "Höhe", @@ -18,15 +18,15 @@ "HIDE_FILTERS": "verberge Filter", "LATEST_WORKOUTS": "Letzte Trainings", "LOAD_MORE_WORKOUT": "Lade mehr Trainings", - "MAX_ALTITUDE": "max. altitude", + "MAX_ALTITUDE": "maximale Höhe", "MAX_FILES": "Maximale Dateianzahl", "MAX_SIZE": "Maximalgröße", - "MAX_SPEED": "max. speed", - "MIN_ALTITUDE": "min. altitude", + "MAX_SPEED": "Max. Geschwindigkeit", + "MIN_ALTITUDE": "minimale Höhe", "NEXT_SEGMENT": "Nächstes Segment", "NEXT_WORKOUT": "Nächstes Training", "NO_DATA_CLEANING": "Daten aus gpx, ohne Bereinigung", - "NO_FILE_PROVIDED": "No file provided", + "NO_FILE_PROVIDED": "Keine Datei angegeben", "NO_FOLDER": "enthält keinen Ordner", "NO_MAP": "Keine Karte", "NO_NEXT_SEGMENT": "Kein nächstes Segment", @@ -40,13 +40,13 @@ "PAUSES": "Pausen", "PREVIOUS_SEGMENT": "Vorheriges Segment", "PREVIOUS_WORKOUT": "Vorheriges Training", - "RECORD": "Eintrag | Einträge", - "RECORD_AS": "Ave. speed", - "RECORD_FD": "Weiteste Distanz", + "RECORD": "Aufzeichnung | Aufzeichnungen", + "RECORD_AS": "Durchschn. Geschwindigkeit", + "RECORD_FD": "Weiteste Entfernung", "RECORD_LD": "Längste Dauer", - "RECORD_MS": "Max. speed", + "RECORD_MS": "Max. Geschwindigkeit", "REMAINING_CHARS": "remaining characters", - "SEGMENT": "segment | segments", + "SEGMENT": "Segment | Segmente", "SPEED": "Geschwindigkeit", "SPORT": "Sportart | Sportarten", "START": "Start", From 54d99a123793dc542b17bd754f5103582ddb1636 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Brockm=C3=B6ller?= Date: Sun, 26 Jun 2022 23:04:47 +0200 Subject: [PATCH 04/14] translate fittrackee --- .../account_confirmation/de/body.html | 22 ++++++++--------- .../account_confirmation/de/body.txt | 14 +++++------ .../account_confirmation/de/subject.txt | 2 +- .../account_confirmation/en/body.html | 4 ++-- .../account_confirmation/en/body.txt | 2 +- .../de/body.html | 18 +++++++------- .../email_update_to_current_email/de/body.txt | 12 +++++----- .../de/subject.txt | 2 +- .../email_update_to_new_email/de/body.html | 22 ++++++++--------- .../email_update_to_new_email/de/body.txt | 14 +++++------ .../email_update_to_new_email/de/subject.txt | 2 +- .../templates/password_change/de/body.html | 18 +++++++------- .../templates/password_change/de/body.txt | 12 +++++----- .../templates/password_change/de/subject.txt | 2 +- .../password_reset_request/de/body.html | 24 +++++++++---------- .../password_reset_request/de/body.txt | 14 +++++------ .../password_reset_request/de/subject.txt | 2 +- fittrackee_client/src/locales/de/api.json | 2 +- fittrackee_client/src/locales/de/user.json | 12 +++++----- 19 files changed, 100 insertions(+), 100 deletions(-) diff --git a/fittrackee/emails/templates/account_confirmation/de/body.html b/fittrackee/emails/templates/account_confirmation/de/body.html index 905d6165..2a626f63 100644 --- a/fittrackee/emails/templates/account_confirmation/de/body.html +++ b/fittrackee/emails/templates/account_confirmation/de/body.html @@ -1,15 +1,15 @@ {% 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 account. Use the link below to confirm your address email.

+{% 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 %}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. + {% 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.

-

Thanks, -
The FitTrackee Team

+

Danke +
Dein FitTrackee Team

- {% endblock %} \ No newline at end of file + {% endblock %} diff --git a/fittrackee/emails/templates/account_confirmation/de/body.txt b/fittrackee/emails/templates/account_confirmation/de/body.txt index 74d42d2d..11b5009e 100644 --- a/fittrackee/emails/templates/account_confirmation/de/body.txt +++ b/fittrackee/emails/templates/account_confirmation/de/body.txt @@ -1,12 +1,12 @@ -Hi {{username}}, +Hallo {{username}}, -You have created an account on FitTrackee account. Use the link below to confirm your address email. +Du hast ein Konto bei FitTrackee angelegt. Verwende den unteren Link um Deine E-Mail Adresse zu bestätigen. -Verify your email: {{ account_confirmation_url }} +Bestätige Deine E-Mail: {{ 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. +{% 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. -Thanks, -The FitTrackee Team +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 index 9d674bf7..a169f78e 100644 --- a/fittrackee/emails/templates/account_confirmation/de/subject.txt +++ b/fittrackee/emails/templates/account_confirmation/de/subject.txt @@ -1 +1 @@ -FitTrackee - Confirm your account \ No newline at end of file +FitTrackee - Bestätige Dein Konto \ No newline at end of file diff --git a/fittrackee/emails/templates/account_confirmation/en/body.html b/fittrackee/emails/templates/account_confirmation/en/body.html index 905d6165..81a37085 100644 --- a/fittrackee/emails/templates/account_confirmation/en/body.html +++ b/fittrackee/emails/templates/account_confirmation/en/body.html @@ -2,7 +2,7 @@ {% 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 account. Use the link below to confirm your address email.

+

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

- {% endblock %} \ No newline at end of file + {% endblock %} diff --git a/fittrackee/emails/templates/account_confirmation/en/body.txt b/fittrackee/emails/templates/account_confirmation/en/body.txt index 74d42d2d..282b12cd 100644 --- a/fittrackee/emails/templates/account_confirmation/en/body.txt +++ b/fittrackee/emails/templates/account_confirmation/en/body.txt @@ -1,6 +1,6 @@ Hi {{username}}, -You have created an account on FitTrackee account. 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: {{ account_confirmation_url }} 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 index 9db94dbd..9f7acfe5 100644 --- a/fittrackee/emails/templates/email_update_to_current_email/de/body.html +++ b/fittrackee/emails/templates/email_update_to_current_email/de/body.html @@ -1,8 +1,8 @@ {% 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:

+{% 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:

- 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. + 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.

-

Thanks, +

Danke
- The FitTrackee Team -

{% endblock %} \ No newline at end of file + 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 index 4e1f0929..b2da93ca 100644 --- a/fittrackee/emails/templates/email_update_to_current_email/de/body.txt +++ b/fittrackee/emails/templates/email_update_to_current_email/de/body.txt @@ -1,10 +1,10 @@ -Hi {{username}}, +Hallo {{username}}, -You recently requested to change your email address for your FitTrackee account to: {{ new_email_address }} +Du hast kürzlich beantragt, die E-Mail Adresse Deines FitTrackee Kontos nach {{ new_email_address }} zu ändern. -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. +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. -Thanks, -The FitTrackee Team +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 index 990157cc..4ef5e1c5 100644 --- a/fittrackee/emails/templates/email_update_to_current_email/de/subject.txt +++ b/fittrackee/emails/templates/email_update_to_current_email/de/subject.txt @@ -1 +1 @@ -FitTrackee - Email changed \ No newline at end of file +FitTrackee - E-Mail Adresse geändert \ 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 index 6a27eeca..d4f35b4b 100644 --- a/fittrackee/emails/templates/email_update_to_new_email/de/body.html +++ b/fittrackee/emails/templates/email_update_to_new_email/de/body.html @@ -1,15 +1,15 @@ {% 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.

+{% 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 %}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. + {% 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.

-

Thanks, -
The FitTrackee Team

+

Danke +
Dein FitTrackee Team

- {% endblock %} \ No newline at end of file + {% 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 index 9234510b..c7349fba 100644 --- a/fittrackee/emails/templates/email_update_to_new_email/de/body.txt +++ b/fittrackee/emails/templates/email_update_to_new_email/de/body.txt @@ -1,12 +1,12 @@ -Hi {{username}}, +Hallo {{username}}, -You recently requested to change your email address for your FitTrackee account. Use the link below to confirm this address. +Du hast kürzlich beantragt, die E-Mail Adresse Deines FitTrackee Kontos zu ändern. Verwende den unteren Link um Deine Adresse zu bestätigen. -Verify your email: {{ email_confirmation_url }} +Bestätige Deine E-Mail: {{ 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. +{% 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. -Thanks, -The FitTrackee Team +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 index 9b73071c..105c8a22 100644 --- a/fittrackee/emails/templates/email_update_to_new_email/de/subject.txt +++ b/fittrackee/emails/templates/email_update_to_new_email/de/subject.txt @@ -1 +1 @@ -FitTrackee - Confirm email change \ No newline at end of file +FitTrackee - Bestätige E-Mail Änderung \ 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 index 345009d1..4dc15403 100644 --- a/fittrackee/emails/templates/password_change/de/body.html +++ b/fittrackee/emails/templates/password_change/de/body.html @@ -1,13 +1,13 @@ {% 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.

+{% 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 %}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. + {% 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.

-

Thanks, +

Danke
- The FitTrackee Team -

{% endblock %} \ No newline at end of file + Dein FitTrackee Team +

{% endblock %} diff --git a/fittrackee/emails/templates/password_change/de/body.txt b/fittrackee/emails/templates/password_change/de/body.txt index 9675f8a6..c49c132d 100644 --- a/fittrackee/emails/templates/password_change/de/body.txt +++ b/fittrackee/emails/templates/password_change/de/body.txt @@ -1,10 +1,10 @@ -Hi {{username}}, +Hallo {{username}}, -The password for your FitTrackee account has been changed. +Das Passwort Deines FitTrackee Kontos wurde geändert. -{% 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. +{% 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. -Thanks, -The FitTrackee Team +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 index 2669367f..35ba177a 100644 --- a/fittrackee/emails/templates/password_change/de/subject.txt +++ b/fittrackee/emails/templates/password_change/de/subject.txt @@ -1 +1 @@ -FitTrackee - Password changed \ No newline at end of file +FitTrackee - Passwort geändert \ 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 index f5c3ac20..4b32c2a2 100644 --- a/fittrackee/emails/templates/password_reset_request/de/body.html +++ b/fittrackee/emails/templates/password_reset_request/de/body.html @@ -1,9 +1,9 @@ {% 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 }}. +{% 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.

@@ -11,7 +11,7 @@
- Reset your password + Setze Dein Passwort zurück
@@ -19,16 +19,16 @@

- {% 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. + {% 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.

-

Thanks, -
The FitTrackee Team

+

Danke +
Dein FitTrackee Team

- {% endblock %} \ No newline at end of file + {% endblock %} diff --git a/fittrackee/emails/templates/password_reset_request/de/body.txt b/fittrackee/emails/templates/password_reset_request/de/body.txt index e988062d..cbc3f9a9 100644 --- a/fittrackee/emails/templates/password_reset_request/de/body.txt +++ b/fittrackee/emails/templates/password_reset_request/de/body.txt @@ -1,12 +1,12 @@ -Hi {{username}}, +Hallo {{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 }}. +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. -Reset your password: {{ password_reset_url }} +Setze Dein Passwort zurück: {{ 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. +{% 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. -Thanks, -The FitTrackee Team +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 index d8033bea..17c96cd1 100644 --- a/fittrackee/emails/templates/password_reset_request/de/subject.txt +++ b/fittrackee/emails/templates/password_reset_request/de/subject.txt @@ -1 +1 @@ -FitTrackee - Password reset request \ No newline at end of file +FitTrackee - Anfrage zum Zurücksetzen des Passworts \ No newline at end of file diff --git a/fittrackee_client/src/locales/de/api.json b/fittrackee_client/src/locales/de/api.json index 54854a97..896a5944 100644 --- a/fittrackee_client/src/locales/de/api.json +++ b/fittrackee_client/src/locales/de/api.json @@ -24,7 +24,7 @@ "successfully registered": "Registrierung erfolgreich.", "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.", - "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." }, "PAGINATION": { diff --git a/fittrackee_client/src/locales/de/user.json b/fittrackee_client/src/locales/de/user.json index 9a6234d8..68d2200f 100644 --- a/fittrackee_client/src/locales/de/user.json +++ b/fittrackee_client/src/locales/de/user.json @@ -1,9 +1,9 @@ { "ACCOUNT_CONFIRMATION_NOT_RECEIVED": "Hast du keine Anweisungen erhalten?", - "ACCOUNT_CONFIRMATION_SENT": "Prüfe deine E-Mail. Eine neue Bestätigungsemail wurde an die angegebene Adresse geschickt.", + "ACCOUNT_CONFIRMATION_SENT": "Prüfe Deine E-Mail. Eine neue Bestätigungsemail wurde an die angegebene Adresse geschickt.", "ADMIN": "Admin", "ALREADY_HAVE_ACCOUNT": "Hast du bereits ein Konto?", - "CONFIRM_ACCOUNT_DELETION": "Möchtest du dein Konto wirklich löschen? Alle Daten werden gelöscht. Dieser Vorgang kann nicht rückgängig gemacht werden.", + "CONFIRM_ACCOUNT_DELETION": "Möchtest Du Dein Konto wirklich löschen? Alle Daten werden gelöscht. Dieser Vorgang kann nicht rückgängig gemacht werden.", "CURRENT_PASSWORD": "Aktuelles Passwort", "EMAIL": "E-Mail", "EMAIL_INFO": "Gebe eine gültige E-Mail-Adresse an.", @@ -21,7 +21,7 @@ "PASSWORD_INFO": "Mindestens 8 Zeichen sind erforderlich.", "PASSWORD_FORGOTTEN": "Passwort vergessen?", "PASSWORD_RESET": "Passwort zurücksetzen", - "PASSWORD_SENT_EMAIL_TEXT": "Prüfe deine E-Mail. Wenn deine Adresse in der Datenbank enthalten ist, wirst du eine E-Mail mit einem Link erhalten um dein Passwort zurückzusetzen.", + "PASSWORD_SENT_EMAIL_TEXT": "Prüfe Deine E-Mail. Wenn Deine Adresse in der Datenbank enthalten ist, wirst du eine E-Mail mit einem Link erhalten um Dein Passwort zurückzusetzen.", "PASSWORD_STRENGTH": { "WEAK": "schwach", "AVERAGE": "mittel", @@ -54,7 +54,7 @@ "EDIT": "Profil bearbeiten", "EDIT_PREFERENCES": "Einstellungen ändern", "EDIT_SPORTS_PREFERENCES": "Einstellungen für Sportarten ändern", - "ERRORED_EMAIL_UPDATE": "Bitte {0} um deine E-Mail Adresse nochmals zu ändern oder kontaktiere den Administrator", + "ERRORED_EMAIL_UPDATE": "Bitte {0} um Deine E-Mail Adresse nochmals zu ändern oder kontaktiere den Administrator", "FIRST_NAME": "Vorname", "FIRST_DAY_OF_WEEK": "Erster Tag der Woche", "LANGUAGE": "Sprache", @@ -85,9 +85,9 @@ "LABEL": "Titel", "STOPPED_SPEED_THRESHOLD": "Geschwindigkeitsschwellenwert für Stopp" }, - "SUCCESSFUL_EMAIL_UPDATE": "Dein Konto wurde erfolgreich aktualisiert. Bitte prüfe deine E-Mail um deine neue E-Mail Adresse zu bestätigen.", + "SUCCESSFUL_EMAIL_UPDATE": "Dein Konto wurde erfolgreich aktualisiert. Bitte prüfe Deine E-Mail um die neue E-Mail Adresse zu bestätigen.", "SUCCESSFUL_REGISTRATION": "Dein Konto wurde erfolgreich erstellt.", - "SUCCESSFUL_REGISTRATION_WITH_EMAIL": "Ein Aktivierungslink für dein Konto wurde an die angegebene E-Mail Adresse geschickt.", + "SUCCESSFUL_REGISTRATION_WITH_EMAIL": "Ein Aktivierungslink für Dein Konto wurde an die angegebene E-Mail Adresse geschickt.", "SUCCESSFUL_UPDATE": "Dein Konto wurde erfolgreich aktualisiert.", "UNITS": { "LABEL": "Einheiten für die Distanz", From a8ae5b7278369830c6181f881cad5ff88859c104 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Brockm=C3=B6ller?= Date: Tue, 28 Jun 2022 23:51:53 +0200 Subject: [PATCH 05/14] fix test --- .../emails/template_results/email_account_confirmation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fittrackee/tests/emails/template_results/email_account_confirmation.py b/fittrackee/tests/emails/template_results/email_account_confirmation.py index 7af39a82..fc7d57cf 100644 --- a/fittrackee/tests/emails/template_results/email_account_confirmation.py +++ b/fittrackee/tests/emails/template_results/email_account_confirmation.py @@ -2,7 +2,7 @@ expected_en_text_body = """Hi test, -You have created an account on FitTrackee account. 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 @@ -47,7 +47,7 @@ expected_en_html_body = """

Hi test,

-

You have created an account on FitTrackee account. 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.