diff --git a/src/components/EnvError.vue b/src/components/EnvError.vue index 5e5e93a..c326305 100644 --- a/src/components/EnvError.vue +++ b/src/components/EnvError.vue @@ -1,7 +1,29 @@ - - \ No newline at end of file +
+
+ + + +

{{ $t('configuration_error') }}

+

+ {{ $t('the_system_is_not_properly_configured_please_contact_the_system_administrator_for_help') }} +
+
+ {{ $t('if_you_are_the_system_administrator_please_refer_to_the_official_product_documentation_readme_for_configuration_guidance') }} +

+
+
+ \ No newline at end of file diff --git a/src/locales/de.json b/src/locales/de.json index 7f924ad..f71699c 100644 --- a/src/locales/de.json +++ b/src/locales/de.json @@ -1,10 +1,13 @@ { "already_have_an_account": "Sie haben bereits einen Account?", "apartment_suite_etc": "Addresszeile 2", + "configuration_error": "Konfigurationsfehler", "distance": "Distanz", "download_certificate": "Urkunde herunterladen", "e_mail_adress": "E-Mail Adresse", "go_to_login": "Zum Login", + "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", "lap_times": "Rundenzeiten", "main_page_text": "Hier können Sie sich für den Lauf Für Kaya! registrieren oder ihr Läuferprofil verwalten.", @@ -15,6 +18,7 @@ "please_provide_a_valid_zipcode": "Bitte geben Sie eine gültige Postleitzahl an...", "please_provide_valid_mail": "Bitte geben Sie eine gültige E-Mail Adresse an", "plz": "PLZ", + "privacy_policy": "Datenschutzerklärung", "profile": "Profil", "provide_address": "Adresse angeben?", "register": { @@ -25,6 +29,7 @@ "save_changes": "Änderungen speichern", "sponsoring": "Sponsoring", "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", "view_my_data": "Meine Läuferdaten einsehen", "vorname": "Vorname" diff --git a/src/locales/en.json b/src/locales/en.json index 70b0021..7ce8dba 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -1,10 +1,12 @@ { "already_have_an_account": "Already have an account?", "apartment_suite_etc": "Apartment, suite, etc.", + "configuration_error": "Configuration error", "distance": "Distance", "download_certificate": "Download certificate", "e_mail_adress": "mail address", "go_to_login": "Go To Login", + "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", "lap_times": "Lap times", @@ -27,6 +29,7 @@ "save_changes": "Save changes", "sponsoring": "Sponsoring", "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", "view_my_data": "View my data", "vorname": "Firstname" diff --git a/src/main.js b/src/main.js index a733e63..993a4aa 100644 --- a/src/main.js +++ b/src/main.js @@ -38,7 +38,7 @@ if (config.baseurl && config.documentserver_key) { { path: '/profile', component: Profile } ]; } else { - routes = [ { path: '/*', component: EnvError } ]; + routes = [ { path: '/', component: EnvError } ]; } const router = createRouter({ history: createWebHistory(),