From d405557aafb205c958914c85bd69c364d107370c Mon Sep 17 00:00:00 2001 From: Philipp Dormann Date: Mon, 8 Mar 2021 22:18:19 +0100 Subject: [PATCH] i18n support for TOS checkbox ref #4 --- src/components/Register.vue | 10 ++++++++-- src/locales/de.json | 3 +++ src/locales/en.json | 3 +++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/components/Register.vue b/src/components/Register.vue index a8a6673..9de89c4 100644 --- a/src/components/Register.vue +++ b/src/components/Register.vue @@ -177,8 +177,14 @@
diff --git a/src/locales/de.json b/src/locales/de.json index f71699c..da1e2a1 100644 --- a/src/locales/de.json +++ b/src/locales/de.json @@ -6,6 +6,8 @@ "download_certificate": "Urkunde herunterladen", "e_mail_adress": "E-Mail Adresse", "go_to_login": "Zum Login", + "i_accept": "Ich habe die ", + "i_accept_end": "gelesen und akzeptiert.", "if_you_are_the_system_administrator_please_refer_to_the_official_product_documentation_readme_for_configuration_guidance": "Wenn Sie der Systemadministrator sind, finden Sie Konfigurationsanweisungen in der offiziellen Produktdokumentation / README.", "imprint": "Impressum", "lap_time": "Rundenzeit", @@ -31,6 +33,7 @@ "strasse": "Straße", "the_system_is_not_properly_configured_please_contact_the_system_administrator_for_help": "Das System ist nicht richtig konfiguriert. Bitte wenden Sie sich an den Systemadministrator, um Hilfe zu erhalten.", "this_is_not_a_valid_international_phone_number": "Dies ist keine gültige internationale Telefonnummer", + "tos": "AGBs", "view_my_data": "Meine Läuferdaten einsehen", "vorname": "Vorname" } \ No newline at end of file diff --git a/src/locales/en.json b/src/locales/en.json index 7ce8dba..868a9bb 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -6,6 +6,8 @@ "download_certificate": "Download certificate", "e_mail_adress": "mail address", "go_to_login": "Go To Login", + "i_accept": "I have read and accepted the ", + "i_accept_end": "", "if_you_are_the_system_administrator_please_refer_to_the_official_product_documentation_readme_for_configuration_guidance": "If you are the system administrator, please refer to the official product documentation/ README for configuration guidance.", "imprint": "Imprint", "lap_time": "Lap time", @@ -31,6 +33,7 @@ "strasse": "Street/ Block", "the_system_is_not_properly_configured_please_contact_the_system_administrator_for_help": "The system is not properly configured. Please contact the system administrator for help.", "this_is_not_a_valid_international_phone_number": "This is not a valid international phone number", + "tos": "Terms of Service", "view_my_data": "View my data", "vorname": "Firstname" } \ No newline at end of file