From cc331ec2b2500fa9ac6abe2357c4995cfbfbb308 Mon Sep 17 00:00:00 2001 From: sandhose <1549952+sandhose@users.noreply.github.com> Date: Tue, 2 Apr 2024 08:11:25 +0000 Subject: [PATCH] Translations updates --- frontend/.storybook/locales.ts | 11 ++ frontend/locales/nl.json | 232 +++++++++++++++++++++++++++++++++ frontend/locales/zh-Hans.json | 3 +- translations/nl.json | 147 +++++++++++++++++++++ 4 files changed, 391 insertions(+), 2 deletions(-) create mode 100644 frontend/locales/nl.json create mode 100644 translations/nl.json diff --git a/frontend/.storybook/locales.ts b/frontend/.storybook/locales.ts index 9d51f3e6e..8041a5add 100644 --- a/frontend/.storybook/locales.ts +++ b/frontend/.storybook/locales.ts @@ -55,6 +55,15 @@ const localazyMetadata: LocalazyMetadata = { localizedName: "Français", pluralType: (n) => { return (n===0 || n===1) ? "one" : "other"; } }, + { + language: "nl", + region: "", + script: "", + isRtl: false, + name: "Dutch", + localizedName: "Nederlands", + pluralType: (n) => { return (n===1) ? "one" : "other"; } + }, { language: "zh", region: "", @@ -78,6 +87,7 @@ const localazyMetadata: LocalazyMetadata = { "de#": "https://delivery.localazy.com/_a7686032324574572744739e0707/_e0/7c203a8ac8bd48c3c4609a8effcd0fbac430f9b2/de/frontend.json", "en#": "https://delivery.localazy.com/_a7686032324574572744739e0707/_e0/7c203a8ac8bd48c3c4609a8effcd0fbac430f9b2/en/frontend.json", "fr#": "https://delivery.localazy.com/_a7686032324574572744739e0707/_e0/7c203a8ac8bd48c3c4609a8effcd0fbac430f9b2/fr/frontend.json", + "nl#": "https://delivery.localazy.com/_a7686032324574572744739e0707/_e0/7c203a8ac8bd48c3c4609a8effcd0fbac430f9b2/nl/frontend.json", "zh#Hans": "https://delivery.localazy.com/_a7686032324574572744739e0707/_e0/7c203a8ac8bd48c3c4609a8effcd0fbac430f9b2/zh-Hans/frontend.json" } }, @@ -93,6 +103,7 @@ const localazyMetadata: LocalazyMetadata = { "de#": "https://delivery.localazy.com/_a7686032324574572744739e0707/_e0/5b69b0350dccfd47c245a5d41c1b9fdf6912cc6e/de/file.json", "en#": "https://delivery.localazy.com/_a7686032324574572744739e0707/_e0/5b69b0350dccfd47c245a5d41c1b9fdf6912cc6e/en/file.json", "fr#": "https://delivery.localazy.com/_a7686032324574572744739e0707/_e0/5b69b0350dccfd47c245a5d41c1b9fdf6912cc6e/fr/file.json", + "nl#": "https://delivery.localazy.com/_a7686032324574572744739e0707/_e0/5b69b0350dccfd47c245a5d41c1b9fdf6912cc6e/nl/file.json", "zh#Hans": "https://delivery.localazy.com/_a7686032324574572744739e0707/_e0/5b69b0350dccfd47c245a5d41c1b9fdf6912cc6e/zh-Hans/file.json" } } diff --git a/frontend/locales/nl.json b/frontend/locales/nl.json new file mode 100644 index 000000000..f7c4fab0d --- /dev/null +++ b/frontend/locales/nl.json @@ -0,0 +1,232 @@ +{ + "action": { + "back": "Terug", + "cancel": "Annuleren", + "clear": "Wissen", + "close": "Sluiten", + "continue": "Doorgaan", + "edit": "Bewerken", + "save": "Opslaan" + }, + "branding": { + "privacy_policy": { + "alt": "Link naar het privacybeleid van de service", + "link": "Privacybeleid" + }, + "terms_and_conditions": { + "alt": "Link naar de servicevoorwaarden", + "link": "Algemene voorwaarden" + } + }, + "common": { + "add": "Toevoegen", + "error": "Fout", + "loading": "Laden...", + "next": "Volgende", + "previous": "Vorige" + }, + "frontend": { + "account": { + "edit_profile": { + "display_name_help": "Dit is wat anderen zien wanneer je bent ingelogd.", + "display_name_label": "Weergavenaam", + "title": "Profiel bewerken", + "username_label": "Gebruikersnaam" + }, + "title": "Uw account" + }, + "add_email_form": { + "email_denied_alert": { + "text": "Het ingevoerde e-mailadres is niet toegestaan volgens het serverbeleid.", + "title": "E-mailadres geweigerd door het beleid" + }, + "email_exists_alert": { + "text": "Het ingevoerde e-mailadres is al toegevoegd aan dit account", + "title": "E-mailadres bestaat al" + }, + "email_field_help": "Voeg een alternatief e-mailadres toe dat u kunt gebruiken om toegang tot dit account te krijgen.", + "email_field_label": "E-mailadres toevoegen", + "email_invalid_alert": { + "text": "Het ingevoerde e-mailadres is ongeldig", + "title": "Ongeldig e-mailadres" + } + }, + "app_sessions_list": { + "error": "Kan app-sessies niet laden", + "heading": "Apps" + }, + "browser_session_details": { + "current_badge": "Huidige", + "session_details_title": "Sessie" + }, + "browser_sessions_overview": { + "body:one": "{{count}} actieve sessie", + "body:other": "{{count}} actieve sessies", + "heading": "Browsers", + "view_all_button": "Bekijk alles" + }, + "compat_session_detail": { + "client_details_title": "Client", + "name": "Naam", + "session_details_title": "Sessie" + }, + "device_type_icon_label": { + "desktop": "Desktop", + "mobile": "Mobiel", + "pc": "Computer", + "tablet": "Tablet", + "unknown": "Onbekend apparaattype", + "web": "Web" + }, + "end_session_button": { + "confirmation_modal_title": "Weet u zeker dat u deze sessie wilt beëindigen?", + "text": "Uitloggen" + }, + "error": { + "hideDetails": "Verberg details", + "showDetails": "Details weergeven", + "subtitle": "Er is een onverwachte fout opgetreden. Probeer het opnieuw.", + "title": "Er is iets misgegaan" + }, + "error_boundary_title": "Er is iets misgegaan", + "last_active": { + "active_date": "Actief {{relativeDate}}", + "active_now": "Nu actief", + "inactive_90_days": "Meer dan 90 dagen inactief" + }, + "nav": { + "devices": "Apparaten", + "profile": "Profiel", + "sessions": "Sessies", + "settings": "Instellingen" + }, + "not_found_alert_title": "Niet gevonden.", + "not_logged_in_alert": "U bent niet ingelogd.", + "oauth2_client_detail": { + "details_title": "Client", + "id": "Client ID", + "name": "Naam", + "policy": "Beleid", + "terms": "Servicevoorwaarden" + }, + "oauth2_session_detail": { + "client_details_name": "Naam", + "client_title": "Client", + "session_details_title": "Sessie" + }, + "pagination_controls": { + "total": "Totaal: {{totalCount}}" + }, + "reset_cross_signing": { + "button": "Het resetten van de crypto identiteit toestaan", + "description": "Als u nergens anders bent ingelogd en alle herstelopties bent vergeten of verloren, moet u uw crypto identiteit opnieuw instellen. Dit betekent dat u uw bestaande berichtgeschiedenis kwijtraakt, dat andere gebruikers zien dat u uw identiteit opnieuw hebt ingesteld en dat u uw bestaande apparaten opnieuw moet verifiëren.", + "failure": { + "description": "Dit kan een tijdelijk probleem zijn, probeer het later opnieuw. Als het probleem zich blijft voordoen, neem dan contact op met de serverbeheerder.", + "title": "Kan crypto identiteit niet toestaan" + }, + "heading": "Crypto identiteit opnieuw instellen", + "success": { + "description": "Een client kan nu tijdelijk de crypto identiteit van uw account resetten. Volg de instructies in uw client om het proces te voltooien.", + "title": "Het opnieuw instellen van de crypto identiteit is tijdelijk toegestaan" + } + }, + "selectable_session": { + "label": "Sessie selecteren" + }, + "session": { + "client_id_label": "Client ID", + "current": "Huidige", + "current_badge": "Huidig", + "device_id_label": "Apparaat-ID", + "finished_date": "Voltooid op ", + "finished_label": "Voltooid", + "id_label": "ID", + "ip_label": "IP-adres", + "last_active_label": "Laatst actief", + "last_auth_label": "Laatste authenticatie", + "name_for_platform": "{{name}} voor {{platform}}", + "scopes_label": "Scopes", + "signed_in_date": "Ingelogd op ", + "signed_in_label": "Ingelogd", + "title": "Device details", + "unknown_browser": "Onbekende browser", + "unknown_device": "Onbekend apparaat", + "uri_label": "Uri", + "user_id_label": "Gebruikers-ID", + "username_label": "Gebruikersnaam" + }, + "session_detail": { + "alert": { + "button": "Terug", + "text": "Deze sessie bestaat niet of is niet langer actief.", + "title": "Kan sessie niet vinden: {{deviceId}}" + } + }, + "unknown_route": "Onbekende route {{route}}", + "unverified_email_alert": { + "button": "Controleren en verifiëren", + "text:one": "You have {{count}} unverified email address.", + "text:other": "You have {{count}} unverified email addresses.", + "title": "Niet geverifieerd e-mailadres" + }, + "user_email": { + "cant_delete_primary": "Kies een ander primair e-mailadres om de huidige te verwijderen.", + "delete_button_confirmation_modal": { + "action": "E-mailadres verwijderen", + "body": "Dit e-mailadres verwijderen?" + }, + "delete_button_title": "E-mailadres verwijderen", + "email": "E-mailadres", + "make_primary_button": "Instellen als primair", + "not_verified": "Niet geverifieerd", + "primary_email": "Primair e-mailadres", + "retry_button": "Code opnieuw verzenden", + "unverified": "Niet geverifieerd" + }, + "user_email_list": { + "heading": "E-mailadressen", + "no_primary_email_alert": "Geen primair e-mailadres" + }, + "user_greeting": { + "error": "Het laden van de gebruiker is mislukt" + }, + "user_name": { + "display_name_field_label": "Weergavenaam" + }, + "user_sessions_overview": { + "active_sessions:one": "{{count}} actieve sessie", + "active_sessions:other": "{{count}} actieve sessies", + "heading": "Where you're signed in" + }, + "verify_email": { + "code_field_error": "Code not recognised", + "code_field_label": "6-cijferige code", + "code_field_wrong_shape": "Code must be 6 digits", + "email_sent_alert": { + "description": "Enter the new code below.", + "title": "New code sent" + }, + "enter_code_prompt": "Enter the 6-digit code sent to: {{email}}", + "heading": "Verify your email", + "invalid_code_alert": { + "description": "Check the code sent to your email and update the fields below to continue.", + "title": "You entered the wrong code" + }, + "resend_code": "Resend code", + "resend_email": "Resend email", + "sent": "Verzonden!", + "unknown_email": "Unknown email" + } + }, + "mas": { + "scope": { + "edit_profile": "Edit your profile and contact details", + "manage_sessions": "Manage your devices and sessions", + "mas_admin": "Administer any user on the matrix-authentication-service", + "send_messages": "Send new messages on your behalf", + "synapse_admin": "Administer the Synapse homeserver", + "view_messages": "View your existing messages and data", + "view_profile": "See your profile info and contact details" + } + } +} \ No newline at end of file diff --git a/frontend/locales/zh-Hans.json b/frontend/locales/zh-Hans.json index b8affe290..ff16e1d2d 100644 --- a/frontend/locales/zh-Hans.json +++ b/frontend/locales/zh-Hans.json @@ -192,8 +192,7 @@ "display_name_field_label": "显示名称" }, "user_sessions_overview": { - "active_sessions:one": "{{count}} active session", - "active_sessions:other": "{{count}} active sessions", + "active_sessions:other": "{{count}}个活跃会话", "heading": "您登录的位置" }, "verify_email": { diff --git a/translations/nl.json b/translations/nl.json new file mode 100644 index 000000000..8462b472b --- /dev/null +++ b/translations/nl.json @@ -0,0 +1,147 @@ +{ + "action": { + "cancel": "Annuleren", + "continue": "Doorgaan", + "create_account": "Registreren", + "sign_in": "Inloggen", + "sign_out": "Uitloggen", + "submit": "Bevestigen" + }, + "app": { + "human_name": "Matrix Authentication Service", + "name": "matrix-authentication-service", + "technical_description": "OpenID Connect discovery document: %(discovery_url)s" + }, + "branding": { + "privacy_policy": { + "alt": "Link to the service privacy policy", + "link": "Privacy Policy" + }, + "terms_and_conditions": { + "alt": "Link to the service terms and conditions", + "link": "Terms & Conditions" + } + }, + "common": { + "display_name": "Weergavenaam", + "email_address": "E-mailadres", + "mxid": "Matrix ID", + "password": "Wachtwoord", + "password_confirm": "Bevestig wachtwoord", + "username": "Gebruikersnaam" + }, + "error": { + "unexpected": "Unexpected error" + }, + "mas": { + "add_email": { + "description": "Enter an email address to recover your account in case you lose access to it.", + "heading": "Add an email address" + }, + "back_to_homepage": "Go back to the homepage", + "change_password": { + "change": "Wachtwoord wijzigen", + "confirm": "Bevestig wachtwoord", + "current": "Huidig wachtwoord", + "description": "This will change the password on your account.", + "heading": "Change my password", + "new": "New password" + }, + "emails": { + "greeting": "Hello %(username)s,", + "verify": { + "body_html": "Your verification code to confirm this email address is: %(code)s", + "body_text": "Your verification code to confirm this email address is: %(code)s", + "subject": "Your email verification code is: %(code)s" + } + }, + "errors": { + "denied_policy": "Denied by policy: %(policy)s", + "field_required": "This field is required", + "invalid_credentials": "Ongeldige gegevens", + "password_mismatch": "Password fields don't match", + "username_taken": "This username is already taken" + }, + "login": { + "call_to_register": "Don't have an account yet?", + "continue_with_provider": "Doorgaan met %(provider)s", + "description": "Please sign in to continue:", + "headline": "Inloggen", + "link": { + "description": "Linking your %(provider)s account", + "headline": "Sign in to link" + }, + "no_login_methods": "No login methods available.", + "separator": "Of" + }, + "navbar": { + "my_account": "Mijn account", + "register": "Create an account", + "signed_in_as": "Signed in as %(username)s." + }, + "not_found": { + "description": "The page you were looking for doesn't exist or has been moved", + "heading": "Page not found" + }, + "not_you": "Not %(username)s?", + "or_separator": "Of", + "policy_violation": { + "description": "This might be because of the client which authored the request, the currently logged in user, or the request itself.", + "heading": "The authorization request was denied the policy enforced by this service", + "logged_as": "Logged as %(username)s" + }, + "register": { + "call_to_login": "Already have an account?", + "create_account": { + "description": "Please create an account to get started:", + "heading": "Create an account" + }, + "sign_in_instead": "Sign in instead", + "terms_of_service": "I agree to the Terms and Conditions" + }, + "scope": { + "edit_profile": "Edit your profile and contact details", + "manage_sessions": "Manage your devices and sessions", + "mas_admin": "Administer any user on the matrix-authentication-service", + "send_messages": "Send new messages on your behalf", + "synapse_admin": "Administer the Synapse homeserver", + "view_messages": "View your existing messages and data", + "view_profile": "See your profile info and contact details" + }, + "upstream_oauth2": { + "link_mismatch": { + "heading": "This upstream account is already linked to another account." + }, + "register": { + "choose_username": { + "description": "This cannot be changed later.", + "heading": "Kies uw gebruikersnaam" + }, + "create_account": "Nieuw account aanmaken", + "enforced_by_policy": "Enforced by server policy", + "forced_display_name": "Will use the following display name", + "forced_email": "De volgende e-mailadres zal worden gebruikt", + "forced_localpart": "De volgende gebruikersnaam zal worden gebruikt", + "import_data": { + "description": "Confirm the information that will be linked to your new %(server_name)s account.", + "heading": "Importeer uw data" + }, + "imported_from_upstream": "Imported from your upstream account", + "link_existing": "Link to an existing account", + "suggested_display_name": "Weergavenaam importeren", + "suggested_email": "E-mailadres importeren", + "use": "Gebruiken" + }, + "suggest_link": { + "action": "Link", + "heading": "Link to your existing account" + } + }, + "verify_email": { + "6_digit_code": "6-cijferige code", + "code": "Code", + "description": "Voer de 6-cijferige code in die is verzonden naar: %(email)s", + "headline": "Verifieer uw e-mailadres" + } + } +} \ No newline at end of file