Changeset 137cca5 in Klonkt for src/services/i18n.js


Ignore:
Timestamp:
06/21/2026 11:35:49 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
fe86013
Parents:
bffb348
Message:

feat(i18n phase 3): welcome/first-run, login, register, bottom-tab translated

NL/EN/DE keys + views: welcome.ejs, auth-register.ejs, auth-login.ejs (common
strings; Google error map still NL), bottom-tab.ejs. The most visible visitor
pages of a fresh (German) site are now translated.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/services/i18n.js

    rbffb348 r137cca5  
    6969    'admin.th_slug': 'Slug', 'admin.th_title': 'Titel', 'admin.th_owner': 'Eigenaar', 'admin.th_created': 'Aangemaakt',
    7070    'admin.th_username': 'Gebruikersnaam', 'admin.th_email': 'E-mail', 'admin.th_role': 'Rol', 'admin.th_joined': 'Lid sinds',
     71    // Welkom / first-run
     72    'welcome.title': 'Welkom bij Klonkt',
     73    'welcome.tagline': 'Een zelf-gehost publicatieplatform.',
     74    'welcome.have_account': 'Al een account? Inloggen',
     75    'welcome.note': 'Maak je beheerdersaccount aan om te beginnen — daarna is registratie gesloten.',
     76    'welcome.nosite': 'Hoi {user}! Er is nog geen site ingesteld.',
     77    // Auth (login/register)
     78    'auth.admin_login_title': 'Beheerder inloggen',
     79    'auth.username_or_email': 'Gebruikersnaam of e-mail',
     80    'auth.password': 'Wachtwoord',
     81    'auth.forgot': 'Wachtwoord vergeten?',
     82    'auth.google_btn': 'Inloggen met Google',
     83    'auth.public_sub': 'Log in om te reageren en je favorieten te bewaren.',
     84    'auth.admin_box_q': 'Beheerder?',
     85    'auth.admin_box_sub': 'Log in met gebruikersnaam & wachtwoord',
     86    'auth.google_unavail': 'Inloggen met Google is op deze site nog niet ingesteld.',
     87    'auth.create_admin': 'Beheerder aanmaken',
     88    'auth.reg_intro': 'Eerste keer opzetten — maak je beheerdersaccount aan. Dit kan maar één keer.',
     89    'auth.f_username': 'Gebruikersnaam (3-32 tekens, letters/cijfers/_-)',
     90    'auth.f_email': 'E-mail',
     91    'auth.f_password': 'Wachtwoord (min 8 tekens)',
     92    // Bottom-tab (mobiel)
     93    'tab.home': 'Home', 'tab.search': 'Zoek', 'tab.write': 'Schrijven', 'tab.profile': 'Profiel',
    7194  },
    7295  en: {
     
    126149    'admin.th_slug': 'Slug', 'admin.th_title': 'Title', 'admin.th_owner': 'Owner', 'admin.th_created': 'Created',
    127150    'admin.th_username': 'Username', 'admin.th_email': 'Email', 'admin.th_role': 'Role', 'admin.th_joined': 'Joined',
     151    'welcome.title': 'Welcome to Klonkt',
     152    'welcome.tagline': 'A self-hosted publishing platform.',
     153    'welcome.have_account': 'Already have an account? Log in',
     154    'welcome.note': 'Create your admin account to get started — registration closes after that.',
     155    'welcome.nosite': 'Hi {user}! No site is configured yet.',
     156    'auth.admin_login_title': 'Admin login',
     157    'auth.username_or_email': 'Username or email',
     158    'auth.password': 'Password',
     159    'auth.forgot': 'Forgot password?',
     160    'auth.google_btn': 'Sign in with Google',
     161    'auth.public_sub': 'Log in to comment and save your favorites.',
     162    'auth.admin_box_q': 'Admin?',
     163    'auth.admin_box_sub': 'Log in with username & password',
     164    'auth.google_unavail': 'Google sign-in isn’t set up on this site yet.',
     165    'auth.create_admin': 'Create admin',
     166    'auth.reg_intro': 'First-time setup — create your admin account. This can only be done once.',
     167    'auth.f_username': 'Username (3-32 chars, letters/digits/_-)',
     168    'auth.f_email': 'Email',
     169    'auth.f_password': 'Password (min 8 chars)',
     170    'tab.home': 'Home', 'tab.search': 'Search', 'tab.write': 'Write', 'tab.profile': 'Profile',
    128171  },
    129172  de: {
     
    183226    'admin.th_slug': 'Slug', 'admin.th_title': 'Titel', 'admin.th_owner': 'Eigentümer', 'admin.th_created': 'Erstellt',
    184227    'admin.th_username': 'Benutzername', 'admin.th_email': 'E-Mail', 'admin.th_role': 'Rolle', 'admin.th_joined': 'Mitglied seit',
     228    'welcome.title': 'Willkommen bei Klonkt',
     229    'welcome.tagline': 'Eine selbstgehostete Publishing-Plattform.',
     230    'welcome.have_account': 'Schon ein Konto? Anmelden',
     231    'welcome.note': 'Lege dein Administrator-Konto an, um zu starten — danach ist die Registrierung geschlossen.',
     232    'welcome.nosite': 'Hallo {user}! Es ist noch keine Seite eingerichtet.',
     233    'auth.admin_login_title': 'Administrator-Anmeldung',
     234    'auth.username_or_email': 'Benutzername oder E-Mail',
     235    'auth.password': 'Passwort',
     236    'auth.forgot': 'Passwort vergessen?',
     237    'auth.google_btn': 'Mit Google anmelden',
     238    'auth.public_sub': 'Melde dich an, um zu kommentieren und Favoriten zu speichern.',
     239    'auth.admin_box_q': 'Administrator?',
     240    'auth.admin_box_sub': 'Mit Benutzername & Passwort anmelden',
     241    'auth.google_unavail': 'Google-Anmeldung ist auf dieser Seite noch nicht eingerichtet.',
     242    'auth.create_admin': 'Administrator anlegen',
     243    'auth.reg_intro': 'Ersteinrichtung — lege dein Administrator-Konto an. Das geht nur einmal.',
     244    'auth.f_username': 'Benutzername (3-32 Zeichen, Buchstaben/Ziffern/_-)',
     245    'auth.f_email': 'E-Mail',
     246    'auth.f_password': 'Passwort (min. 8 Zeichen)',
     247    'tab.home': 'Start', 'tab.search': 'Suche', 'tab.write': 'Schreiben', 'tab.profile': 'Profil',
    185248  },
    186249};
Note: See TracChangeset for help on using the changeset viewer.