rinkplanner/hub/app/i18n_strings.php
torsten 9819311403 feat: Website und Hub zweisprachig (Deutsch/Englisch)
Website (rinkplanner.programmschmiede.de) liegt jetzt im Repo unter web/:
Sprachweiche nach Accept-Language (der User-Agent enthält keine Sprache),
/de/ und /en/ als eigene URLs mit hreflang, Cookie für die manuelle Wahl,
Texte in web/i18n.php, Markup in web/template.php. Deployment über
tools/deploy_web.sh (--sync, --check, --all); /index.html leitet weiter.

Hub: optionale englische Oberfläche über den DE/EN-Umschalter, Cookie
RHUB_LANG, Route /language. Alle Texte (Views, Meldungen, Validierung,
API-messages) stehen in hub/app/i18n_strings.php und laufen über t();
Datum und Zahlen folgen der Sprache. Die API behält ihre code-Felder und
antwortet ohne Cookie weiter deutsch.

deploy_hub.sh --check prüft jetzt Schlüsselparität und fehlende t()-Schlüssel.
Doku: docs/website.md neu, docs/hub.md und AGENTS.md ergänzt.
2026-11-12 22:38:32 +01:00

664 lines
36 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
declare(strict_types=1);
/** Textkatalog des Hubs. Beide Sprachen müssen dieselben Schlüssel haben. */
return [
'de' => [
// Rahmen
'app.name' => 'Rinkplanner-Hub',
'nav.routines' => 'Küren',
'nav.upload' => 'Hochladen',
'nav.admin' => 'Verwaltung',
'nav.logout' => 'Abmelden',
'nav.login' => 'Anmelden',
'nav.language' => 'Sprache',
'footer.beta' => 'Geschlossene Beta · Rinkplanner-Hub',
'footer.website' => 'Zur Rinkplanner-Seite',
'flash.secret' => 'Geheimnis',
'page.title_default' => 'Kür-Hub',
'page.title_error' => 'Fehler {status}',
// Seitentitel
'page.login' => 'Anmelden',
'page.register' => 'Registrieren',
'page.dashboard' => 'Küren',
'page.upload' => 'Kür hochladen',
'page.revision' => 'Neue Revision',
'page.account' => 'Konto',
'page.admin_invites' => 'Einladungen',
'page.admin_users' => 'Benutzer',
'page.admin_routines' => 'Alle Küren',
'page.admin_audit' => 'Audit-Log',
// Anmeldung
'login.title' => 'Anmelden',
'login.lede' => 'Der Kür-Hub ist in einer geschlossenen Beta. Zugang gibt es per Einladungscode.',
'login.login_label' => 'Benutzername oder E-Mail',
'login.password' => 'Passwort',
'login.remember' => 'Angemeldet bleiben (30 Tage)',
'login.submit' => 'Anmelden',
'login.no_access' => 'Noch keinen Zugang? Ein Beta-Code kommt von der Hub-Administration.',
// Registrierung
'register.title' => 'Beta-Zugang einlösen',
'register.lede' => 'Ein Einladungscode legt genau ein Konto an. Der Code verliert danach seine Gültigkeit.',
'register.code' => 'Einladungscode',
'register.username' => 'Benutzername',
'register.username_hint' => '3–32 Zeichen, nur Kleinbuchstaben, Ziffern, Punkt, Bindestrich, Unterstrich.',
'register.display_name' => 'Anzeigename',
'register.email' => 'E-Mail (optional)',
'register.email_bound' => 'Diese Einladung ist an {email} gebunden.',
'register.password' => 'Passwort',
'register.password_repeat' => 'Passwort wiederholen',
'register.password_hint' => 'Mindestens 10 Zeichen.',
'register.rights' => 'Ich akzeptiere die Beta-Regeln und teile keine Inhalte, an denen ich keine Rechte habe.',
'register.submit' => 'Konto anlegen',
'register.have_account' => 'Schon ein Konto?',
'register.login_link' => 'Anmelden',
// Übersicht
'dashboard.eyebrow' => 'Viele Schlittschuhe, ein Netz',
'dashboard.hero_title' => 'Küren teilen, Fassungen vergleichen, gemeinsam weiterentwickeln.',
'dashboard.hero_sub' => 'Der Hub sammelt Küren, Musik und Revisionen deines Teams an einem Ort.',
'dashboard.title' => 'Küren',
'dashboard.count' => '{count} {label} im Hub',
'dashboard.one_routine' => 'Kür',
'dashboard.many_routines' => 'Küren',
'dashboard.mine_suffix' => ' (nur deine)',
'dashboard.upload' => 'Kür hochladen',
'dashboard.search_placeholder' => 'Titel, Skater, Musik, Benutzer …',
'dashboard.search' => 'Suchen',
'dashboard.all' => 'Alle',
'dashboard.mine' => 'Meine Küren',
'dashboard.empty' => 'Keine Küren gefunden.',
'dashboard.empty_hint' => 'Suche zurücksetzen oder',
'dashboard.empty_upload' => 'selbst eine Kür hochladen',
'dashboard.empty_first' => 'Der Hub ist noch leer.',
'dashboard.empty_first_action' => 'Erste Kür hochladen',
'badge.hidden' => 'versteckt',
// Tabellen
'table.title' => 'Titel',
'table.skater' => 'Skater',
'table.music' => 'Musik',
'table.revision' => 'Rev.',
'table.size' => 'Größe',
'table.updated' => 'Aktualisiert',
'table.by' => 'Von',
'table.name' => 'Name',
'table.prefix' => 'Prefix',
'table.created' => 'Erstellt',
'table.last_used' => 'Zuletzt',
'table.status' => 'Status',
'table.role' => 'Rolle',
'table.routines' => 'Küren',
'table.registered' => 'Registriert',
'table.last_login' => 'Letzte Anmeldung',
'table.actions' => 'Aktionen',
'table.downloads' => 'Downloads',
'table.email' => 'E-Mail',
'table.note' => 'Notiz',
'table.valid_until' => 'Gültig bis',
'table.from_to' => 'Von / an',
'table.time' => 'Zeit',
'table.actor' => 'Akteur',
'table.action' => 'Aktion',
'table.subject' => 'Objekt',
'table.detail' => 'Detail',
'table.ip' => 'IP',
'pagination.back' => '← Zurück',
'pagination.next' => 'Weiter →',
'pagination.page' => 'Seite {page} von {pages}',
// Kür-Detail
'routine.breadcrumb' => 'Küren',
'routine.breadcrumb_current' => 'Kür',
'routine.revision' => 'Revision {revision}',
'routine.download' => 'Kür herunterladen',
'routine.download_audio' => 'Musik herunterladen',
'routine.owner_bar' => 'Du kannst diese Kür verwalten.',
'routine.new_revision' => 'Neue Revision hochladen',
'routine.hide' => 'Aus dem Hub nehmen',
'routine.publish' => 'Wieder veröffentlichen',
'routine.open_admin' => 'In der Verwaltung öffnen',
'routine.description' => 'Beschreibung',
'routine.music' => 'Musik',
'routine.details' => 'Details',
'routine.category' => 'Kategorie',
'routine.music_title' => 'Musiktitel',
'routine.music_artist' => 'Musik',
'routine.routine_file' => 'Kür-Datei',
'routine.audio_file' => 'Audio-Datei',
'routine.checksums' => 'Prüfsummen',
'routine.checksum_hint' => 'Beim Download prüfen, ob die SHA-256-Summe zur Kür passt.',
// Upload
'upload.title_new' => 'Kür hochladen',
'upload.title_revision' => 'Neue Revision',
'upload.revision_lede' => 'Neue Fassung von „{title}“. Die bisherige Revision bleibt erhalten.',
'upload.lede' => 'Lade die Kür-JSON und – falls die Kür Musik nutzt – die zugehörige Audiodatei hoch. Beide gehören als Paket zusammen.',
'upload.routine_file' => 'Kür-Datei (.json)',
'upload.routine_hint' => 'Aus Rinkplanner gespeicherte Kür, max. {max}.',
'upload.audio_file' => 'Musikdatei (MP3/OGG/WAV/M4A/AAC)',
'upload.audio_hint' => 'Dateiname muss exakt dem Feld „music_file“ der Kür entsprechen.',
'upload.description' => 'Beschreibung (optional)',
'upload.music_title' => 'Musiktitel (optional)',
'upload.artist' => 'Interpret (optional)',
'upload.rights' => 'Ich habe die Rechte an Kür und Musik und darf sie im geschlossenen Beta-Hub teilen.',
'upload.submit_new' => 'Kür veröffentlichen',
'upload.submit_revision' => 'Revision veröffentlichen',
'upload.cancel' => 'Abbrechen',
// Konto
'account.title' => 'Konto',
'account.role_admin' => 'Administrator',
'account.role_user' => 'Beta-Nutzer',
'account.must_change' => 'Bitte ein neues Passwort setzen, bevor du den Hub weiter nutzt.',
'account.change_password' => 'Passwort ändern',
'account.current_password' => 'Aktuelles Passwort',
'account.new_password' => 'Neues Passwort',
'account.repeat_password' => 'Neues Passwort wiederholen',
'account.password_hint' => 'Mindestens 10 Zeichen.',
'account.save_password' => 'Passwort speichern',
'account.tokens' => 'API-Tokens',
'account.tokens_lede' => 'Für die Godot-App. Ein Token ersetzt Benutzername und Passwort im Client und lässt sich jederzeit widerrufen.',
'account.token_placeholder' => 'Name, z. B. Büro-PC',
'account.token_create' => 'Token erzeugen',
'account.token_active' => 'aktiv',
'account.token_revoked' => 'widerrufen',
'account.token_revoke' => 'widerrufen',
'account.no_tokens' => 'Noch kein Token erzeugt.',
// Verwaltung
'admin.title' => 'Verwaltung',
'admin.tab_invites' => 'Einladungen',
'admin.tab_users' => 'Benutzer',
'admin.tab_routines' => 'Küren',
'admin.tab_audit' => 'Audit-Log',
'admin.audit_lede' => 'Die letzten {count} Ereignisse.',
'admin.audit_empty' => 'Noch keine Einträge.',
'admin_invites.lede' => 'Einladungen für die geschlossene Beta.',
'admin_invites.new' => 'Neue Einladung',
'admin_invites.new_lede' => 'Der Code wird nach dem Anlegen genau einmal angezeigt. Er gilt für ein Konto.',
'admin_invites.note' => 'Notiz (intern)',
'admin_invites.note_placeholder' => 'z. B. Verein Nord',
'admin_invites.email' => 'E-Mail binden (optional)',
'admin_invites.email_hint' => 'Nur diese Adresse kann den Code nutzen.',
'admin_invites.days' => 'Gültig (Tage)',
'admin_invites.days_hint' => '0 = unbegrenzt.',
'admin_invites.create' => 'Einladung erzeugen',
'admin_invites.list' => 'Einladungen',
'admin_invites.empty' => 'Noch keine Einladungen.',
'admin_invites.revoke' => 'widerrufen',
'admin_users.lede' => 'Beta-Konten verwalten.',
'admin_users.self' => 'eigenes Konto',
'admin_users.block' => 'sperren',
'admin_users.unblock' => 'entsperren',
'admin_users.reset' => 'Passwort zurücksetzen',
'admin_users.delete' => 'löschen',
'admin_users.delete_confirm' => 'mit allen Küren löschen',
'admin_users.delete_submit' => 'Löschen bestätigen',
'admin_users.role_admin' => 'Admin',
'admin_users.role_user' => 'Nutzer',
'status.active' => 'aktiv',
'status.blocked' => 'gesperrt',
'admin_routines.lede' => '{total} Küren insgesamt, auch versteckte.',
'admin_routines.search_placeholder' => 'Titel, Skater, Benutzer …',
'admin_routines.empty' => 'Keine Küren gefunden.',
'admin_routines.hide' => 'verstecken',
'admin_routines.publish' => 'veröffentlichen',
'admin_routines.delete' => 'löschen',
'admin_routines.delete_confirm' => 'endgültig löschen',
'admin_routines.delete_submit' => 'Löschen bestätigen',
// Status einer Einladung
'invite.status.open' => 'offen',
'invite.status.used' => 'eingelöst',
'invite.status.expired' => 'abgelaufen',
'invite.status.revoked' => 'widerrufen',
// Fehlerseite
'error.label' => 'Fehler {status}',
'error.back' => 'Zurück zur',
'error.back_link' => 'Küren-Übersicht',
// Meldungen
'auth.admin_only' => 'Dieser Bereich ist nur für Administratoren.',
'auth.change_password_first' => 'Bitte zuerst das Passwort ändern.',
'auth.logged_out' => 'Abgemeldet.',
'auth.welcome' => 'Willkommen im Kür-Hub!',
'auth.session_expired' => 'Die Sitzung ist abgelaufen. Bitte die Seite neu laden.',
'page.method_not_allowed' => 'Diese Methode ist nicht erlaubt.',
'page.not_found' => 'Diese Seite gibt es nicht.',
'username.length' => 'Der Benutzername muss 3 bis 32 Zeichen lang sein.',
'username.charset' => 'Nur Kleinbuchstaben, Ziffern, Punkt, Bindestrich und Unterstrich; Anfang und Ende alphanumerisch.',
'username.reserved' => 'Dieser Benutzername ist reserviert.',
'register.invalid_invite' => 'Dieser Einladungscode ist ungültig, abgelaufen oder bereits eingelöst.',
'register.display_name_long' => 'Der Anzeigename darf höchstens 64 Zeichen lang sein.',
'register.email_invalid' => 'Die E-Mail-Adresse ist nicht gültig.',
'register.email_mismatch' => 'Diese Einladung ist an eine andere E-Mail-Adresse gebunden.',
'register.password_mismatch' => 'Die Passwortwiederholung passt nicht.',
'register.rights_required' => 'Bitte die Beta-Regeln akzeptieren.',
'register.invite_taken' => 'Der Einladungscode wurde gerade eingelöst. Bitte einen neuen Code anfordern.',
'register.username_taken' => 'Dieser Benutzername ist schon vergeben.',
'register.email_taken' => 'Diese E-Mail-Adresse ist schon registriert.',
'routine.not_found' => 'Diese Kür gibt es nicht.',
'routine.forbidden' => 'Diese Kür ist nicht freigegeben.',
'routine.edit_forbidden' => 'Nur der Eigentümer oder ein Admin kann diese Kür ändern.',
'upload.quota' => 'Stündliches Upload-Limit erreicht. Bitte später erneut versuchen.',
'upload.rights_confirm' => 'Bitte bestätigen, dass du Kür und Musik teilen darfst.',
'upload.duplicate' => 'Diese Kür ist bereits im Hub.',
'upload.published' => 'Kür veröffentlicht.',
'upload.save_failed' => 'Die Kür konnte nicht gespeichert werden.',
'revision.saved' => 'Neue Revision {revision} gespeichert.',
'revision.save_failed' => 'Die Revision konnte nicht gespeichert werden.',
'routine.published_again' => 'Kür ist wieder sichtbar.',
'routine.hidden_now' => 'Kür wurde aus dem Hub genommen.',
'account.current_wrong' => 'Das aktuelle Passwort ist falsch.',
'account.password_changed' => 'Passwort geändert. Andere Sitzungen wurden abgemeldet.',
'token.created' => 'Neuer API-Token – jetzt kopieren, er wird nicht erneut angezeigt',
'token.revoked' => 'Token widerrufen.',
'token.not_found' => 'Token nicht gefunden.',
'invite.created' => 'Einladung erstellt.',
'invite.created_label' => 'Einladungscode',
'invite.revoked' => 'Einladung widerrufen.',
'invite.revoke_failed' => 'Einladung konnte nicht widerrufen werden.',
'user.not_found' => 'Benutzer nicht gefunden.',
'user.self_change' => 'Das eigene Konto lässt sich hier nicht ändern.',
'user.disabled' => 'Benutzer deaktiviert.',
'user.enabled' => 'Benutzer aktiviert.',
'user.temp_password' => 'Temporäres Passwort für {user}',
'user.must_change' => 'Der Benutzer muss das Passwort bei der nächsten Anmeldung ändern.',
'user.delete_confirm_required' => 'Löschen muss bestätigt werden.',
'user.deleted' => 'Benutzer und zugehörige Küren gelöscht.',
'action.unknown' => 'Unbekannte Aktion.',
'routine.not_found_short' => 'Kür nicht gefunden.',
'admin.status_changed' => 'Status geändert.',
'routine.deleted' => 'Kür endgültig gelöscht.',
// Anmeldung und Passwortregeln
'login.error.rate_limited' => 'Zu viele Fehlversuche. Bitte in {minutes} Minuten erneut versuchen.',
'login.error.credentials' => 'Benutzername oder Passwort ist falsch.',
'login.error.disabled' => 'Dieses Konto ist deaktiviert.',
'password.min' => 'Das Passwort muss mindestens 10 Zeichen lang sein.',
'password.max' => 'Das Passwort darf höchstens 200 Zeichen lang sein.',
'password.same_as_username' => 'Das Passwort darf nicht dem Benutzernamen entsprechen.',
// Upload-Prüfung
'upload.select_routine' => 'Bitte eine Kür-Datei (.json) auswählen.',
'upload.invalid' => 'Ungültiger Upload.',
'upload.routine_too_large' => 'Die Kür-Datei ist zu groß (max. {max}).',
'upload.routine_not_json' => 'Kürdateien müssen im JSON-Format vorliegen (.json).',
'upload.read_failed' => 'Die Kür-Datei konnte nicht gelesen werden.',
'upload.invalid_json' => 'Die Kür-Datei ist kein gültiges JSON.',
'upload.no_json_object' => 'Die Kür-Datei enthält kein JSON-Objekt.',
'upload.not_rinkplanner' => 'Das ist keine Rinkplanner-Kür (format fehlt oder ist falsch).',
'upload.unsupported_version' => 'Diese Kür-Formatversion wird nicht unterstützt.',
'upload.no_sections' => 'Die Kür enthält keine Abschnittsliste.',
'upload.too_many_sections' => 'Die Kür hat zu viele Abschnitte (max. 500).',
'upload.title_required' => 'Die Kür braucht einen Titel.',
'upload.bad_music_name' => 'Die Kür verweist auf einen ungültigen Musikdateinamen.',
'upload.music_missing' => 'Die Kür verweist auf „{name}“. Bitte die passende Audiodatei mit hochladen.',
'upload.music_unexpected' => 'Die Kür verweist auf keine Musikdatei; die Audiodatei passt nicht dazu.',
'upload.audio_invalid' => 'Ungültiger Audio-Upload.',
'upload.audio_too_large' => 'Die Audiodatei ist zu groß (max. {max}).',
'upload.audio_name_mismatch' => 'Die Audiodatei heißt „{actual}“, die Kür verweist aber auf „{expected}“.',
'upload.audio_format' => 'Die Audiodatei ist kein unterstütztes Format (MP3, OGG, WAV, M4A, AAC).',
'upload.file_too_large' => 'Die Datei ist zu groß.',
'upload.interrupted' => 'Der Upload wurde unterbrochen.',
'upload.no_file_chosen' => 'Es wurde keine Datei ausgewählt.',
'upload.store_failed' => 'Die Datei konnte nicht gespeichert werden.',
'upload.unknown_error' => 'Unbekannter Upload-Fehler.',
'routine.no_file_yet' => 'Diese Kür hat noch keine Datei.',
'routine.file_missing' => 'Die Datei fehlt im Speicher.',
'routine.file_unreadable' => 'Die Datei konnte nicht geöffnet werden.',
// API
'api.post_only' => 'Nur POST ist erlaubt.',
'api.get_only' => 'Nur GET ist erlaubt.',
'api.get_or_post' => 'Nur GET oder POST ist erlaubt.',
'api.get_or_delete' => 'Nur GET oder DELETE ist erlaubt.',
'api.unknown_path' => 'Unbekannter API-Pfad.',
'api.bearer_missing' => 'Bearer-Token fehlt.',
'api.token_invalid' => 'Token ist ungültig, abgelaufen oder widerrufen.',
'api.credentials_required' => 'Benutzername und Passwort sind erforderlich.',
'api.change_password_web' => 'Bitte zuerst im Web das Passwort ändern.',
'api.edit_forbidden' => 'Nur der Eigentümer oder ein Admin darf die Kür ändern.',
'api.rights_required' => 'Bitte bestätigen, dass Kür und Musik geteilt werden dürfen.',
'api.upload_limit' => 'Stündliches Upload-Limit erreicht.',
'api.invalid_files' => 'Die Dateien sind nicht gültig.',
'api.duplicate' => 'Diese Kür ist bereits im Hub (ID {id}).',
'api.server_error' => 'Interner Fehler.',
'api.routine_load_failed' => 'Kür konnte nicht geladen werden.',
],
'en' => [
// Frame
'app.name' => 'Rinkplanner Hub',
'nav.routines' => 'Programmes',
'nav.upload' => 'Upload',
'nav.admin' => 'Administration',
'nav.logout' => 'Sign out',
'nav.login' => 'Sign in',
'nav.language' => 'Language',
'footer.beta' => 'Closed beta · Rinkplanner Hub',
'footer.website' => 'To the Rinkplanner website',
'flash.secret' => 'Secret',
'page.title_default' => 'Programme hub',
'page.title_error' => 'Error {status}',
// Page titles
'page.login' => 'Sign in',
'page.register' => 'Register',
'page.dashboard' => 'Programmes',
'page.upload' => 'Upload programme',
'page.revision' => 'New revision',
'page.account' => 'Account',
'page.admin_invites' => 'Invitations',
'page.admin_users' => 'Users',
'page.admin_routines' => 'All programmes',
'page.admin_audit' => 'Audit log',
// Sign in
'login.title' => 'Sign in',
'login.lede' => 'The programme hub is in a closed beta. Access is granted by invitation code.',
'login.login_label' => 'Username or email',
'login.password' => 'Password',
'login.remember' => 'Stay signed in (30 days)',
'login.submit' => 'Sign in',
'login.no_access' => 'No access yet? A beta code comes from the hub administration.',
// Registration
'register.title' => 'Redeem beta access',
'register.lede' => 'An invitation code creates exactly one account. The code expires once it has been used.',
'register.code' => 'Invitation code',
'register.username' => 'Username',
'register.username_hint' => '3–32 characters, lowercase letters, digits, dot, hyphen and underscore only.',
'register.display_name' => 'Display name',
'register.email' => 'Email (optional)',
'register.email_bound' => 'This invitation is bound to {email}.',
'register.password' => 'Password',
'register.password_repeat' => 'Repeat password',
'register.password_hint' => 'At least 10 characters.',
'register.rights' => 'I accept the beta rules and will not share content I have no rights to.',
'register.submit' => 'Create account',
'register.have_account' => 'Already have an account?',
'register.login_link' => 'Sign in',
// Overview
'dashboard.eyebrow' => 'Many skates, one net',
'dashboard.hero_title' => 'Share programmes, compare versions, develop them together.',
'dashboard.hero_sub' => 'The hub collects your team’s programmes, music and revisions in one place.',
'dashboard.title' => 'Programmes',
'dashboard.count' => '{count} {label} in the hub',
'dashboard.one_routine' => 'programme',
'dashboard.many_routines' => 'programmes',
'dashboard.mine_suffix' => ' (yours only)',
'dashboard.upload' => 'Upload programme',
'dashboard.search_placeholder' => 'Title, skater, music, user …',
'dashboard.search' => 'Search',
'dashboard.all' => 'All',
'dashboard.mine' => 'My programmes',
'dashboard.empty' => 'No programmes found.',
'dashboard.empty_hint' => 'Clear the search or',
'dashboard.empty_upload' => 'upload a programme yourself',
'dashboard.empty_first' => 'The hub is still empty.',
'dashboard.empty_first_action' => 'Upload the first programme',
'badge.hidden' => 'hidden',
// Tables
'table.title' => 'Title',
'table.skater' => 'Skater',
'table.music' => 'Music',
'table.revision' => 'Rev.',
'table.size' => 'Size',
'table.updated' => 'Updated',
'table.by' => 'By',
'table.name' => 'Name',
'table.prefix' => 'Prefix',
'table.created' => 'Created',
'table.last_used' => 'Last used',
'table.status' => 'Status',
'table.role' => 'Role',
'table.routines' => 'Programmes',
'table.registered' => 'Registered',
'table.last_login' => 'Last sign-in',
'table.actions' => 'Actions',
'table.downloads' => 'Downloads',
'table.email' => 'Email',
'table.note' => 'Note',
'table.valid_until' => 'Valid until',
'table.from_to' => 'From / to',
'table.time' => 'Time',
'table.actor' => 'Actor',
'table.action' => 'Action',
'table.subject' => 'Subject',
'table.detail' => 'Detail',
'table.ip' => 'IP',
'pagination.back' => '← Back',
'pagination.next' => 'Next →',
'pagination.page' => 'Page {page} of {pages}',
// Programme detail
'routine.breadcrumb' => 'Programmes',
'routine.breadcrumb_current' => 'Programme',
'routine.revision' => 'Revision {revision}',
'routine.download' => 'Download programme',
'routine.download_audio' => 'Download music',
'routine.owner_bar' => 'You can manage this programme.',
'routine.new_revision' => 'Upload new revision',
'routine.hide' => 'Remove from the hub',
'routine.publish' => 'Publish again',
'routine.open_admin' => 'Open in administration',
'routine.description' => 'Description',
'routine.music' => 'Music',
'routine.details' => 'Details',
'routine.category' => 'Category',
'routine.music_title' => 'Music title',
'routine.music_artist' => 'Artist',
'routine.routine_file' => 'Programme file',
'routine.audio_file' => 'Audio file',
'routine.checksums' => 'Checksums',
'routine.checksum_hint' => 'When downloading, check that the SHA-256 checksum matches the programme.',
// Upload
'upload.title_new' => 'Upload programme',
'upload.title_revision' => 'New revision',
'upload.revision_lede' => 'New version of “{title}”. The previous revision is kept.',
'upload.lede' => 'Upload the programme JSON and, if the programme uses music, the matching audio file. They belong together as a package.',
'upload.routine_file' => 'Programme file (.json)',
'upload.routine_hint' => 'A programme saved from Rinkplanner, max. {max}.',
'upload.audio_file' => 'Music file (MP3/OGG/WAV/M4A/AAC)',
'upload.audio_hint' => 'The filename must match the “music_file” field of the programme exactly.',
'upload.description' => 'Description (optional)',
'upload.music_title' => 'Music title (optional)',
'upload.artist' => 'Artist (optional)',
'upload.rights' => 'I hold the rights to the programme and the music and may share them in the closed beta hub.',
'upload.submit_new' => 'Publish programme',
'upload.submit_revision' => 'Publish revision',
'upload.cancel' => 'Cancel',
// Account
'account.title' => 'Account',
'account.role_admin' => 'Administrator',
'account.role_user' => 'Beta user',
'account.must_change' => 'Please set a new password before using the hub further.',
'account.change_password' => 'Change password',
'account.current_password' => 'Current password',
'account.new_password' => 'New password',
'account.repeat_password' => 'Repeat new password',
'account.password_hint' => 'At least 10 characters.',
'account.save_password' => 'Save password',
'account.tokens' => 'API tokens',
'account.tokens_lede' => 'For the Godot app. A token replaces username and password in the client and can be revoked at any time.',
'account.token_placeholder' => 'Name, e.g. office PC',
'account.token_create' => 'Create token',
'account.token_active' => 'active',
'account.token_revoked' => 'revoked',
'account.token_revoke' => 'revoke',
'account.no_tokens' => 'No token created yet.',
// Administration
'admin.title' => 'Administration',
'admin.tab_invites' => 'Invitations',
'admin.tab_users' => 'Users',
'admin.tab_routines' => 'Programmes',
'admin.tab_audit' => 'Audit log',
'admin.audit_lede' => 'The last {count} events.',
'admin.audit_empty' => 'No entries yet.',
'admin_invites.lede' => 'Invitations for the closed beta.',
'admin_invites.new' => 'New invitation',
'admin_invites.new_lede' => 'The code is shown exactly once after it is created. It is valid for one account.',
'admin_invites.note' => 'Note (internal)',
'admin_invites.note_placeholder' => 'e.g. Club North',
'admin_invites.email' => 'Bind email (optional)',
'admin_invites.email_hint' => 'Only this address can use the code.',
'admin_invites.days' => 'Valid (days)',
'admin_invites.days_hint' => '0 = unlimited.',
'admin_invites.create' => 'Create invitation',
'admin_invites.list' => 'Invitations',
'admin_invites.empty' => 'No invitations yet.',
'admin_invites.revoke' => 'revoke',
'admin_users.lede' => 'Manage beta accounts.',
'admin_users.self' => 'own account',
'admin_users.block' => 'block',
'admin_users.unblock' => 'unblock',
'admin_users.reset' => 'Reset password',
'admin_users.delete' => 'delete',
'admin_users.delete_confirm' => 'delete including all programmes',
'admin_users.delete_submit' => 'Confirm deletion',
'admin_users.role_admin' => 'Admin',
'admin_users.role_user' => 'User',
'status.active' => 'active',
'status.blocked' => 'blocked',
'admin_routines.lede' => '{total} programmes in total, including hidden ones.',
'admin_routines.search_placeholder' => 'Title, skater, user …',
'admin_routines.empty' => 'No programmes found.',
'admin_routines.hide' => 'hide',
'admin_routines.publish' => 'publish',
'admin_routines.delete' => 'delete',
'admin_routines.delete_confirm' => 'delete permanently',
'admin_routines.delete_submit' => 'Confirm deletion',
// Invitation status
'invite.status.open' => 'open',
'invite.status.used' => 'redeemed',
'invite.status.expired' => 'expired',
'invite.status.revoked' => 'revoked',
// Error page
'error.label' => 'Error {status}',
'error.back' => 'Back to the',
'error.back_link' => 'programme overview',
// Messages
'auth.admin_only' => 'This area is for administrators only.',
'auth.change_password_first' => 'Please change your password first.',
'auth.logged_out' => 'Signed out.',
'auth.welcome' => 'Welcome to the programme hub!',
'auth.session_expired' => 'The session has expired. Please reload the page.',
'page.method_not_allowed' => 'This method is not allowed.',
'page.not_found' => 'This page does not exist.',
'username.length' => 'The username must be 3 to 32 characters long.',
'username.charset' => 'Lowercase letters, digits, dot, hyphen and underscore only; begin and end with a letter or digit.',
'username.reserved' => 'This username is reserved.',
'register.invalid_invite' => 'This invitation code is invalid, expired or already redeemed.',
'register.display_name_long' => 'The display name may be at most 64 characters long.',
'register.email_invalid' => 'The email address is not valid.',
'register.email_mismatch' => 'This invitation is bound to a different email address.',
'register.password_mismatch' => 'The passwords do not match.',
'register.rights_required' => 'Please accept the beta rules.',
'register.invite_taken' => 'The invitation code was just redeemed. Please request a new one.',
'register.username_taken' => 'This username is already taken.',
'register.email_taken' => 'This email address is already registered.',
'routine.not_found' => 'This programme does not exist.',
'routine.forbidden' => 'This programme is not shared with you.',
'routine.edit_forbidden' => 'Only the owner or an admin can change this programme.',
'upload.quota' => 'Hourly upload limit reached. Please try again later.',
'upload.rights_confirm' => 'Please confirm that you may share the programme and its music.',
'upload.duplicate' => 'This programme is already in the hub.',
'upload.published' => 'Programme published.',
'upload.save_failed' => 'The programme could not be saved.',
'revision.saved' => 'New revision {revision} saved.',
'revision.save_failed' => 'The revision could not be saved.',
'routine.published_again' => 'The programme is visible again.',
'routine.hidden_now' => 'The programme was removed from the hub.',
'account.current_wrong' => 'The current password is wrong.',
'account.password_changed' => 'Password changed. Other sessions were signed out.',
'token.created' => 'New API token – copy it now, it will not be shown again',
'token.revoked' => 'Token revoked.',
'token.not_found' => 'Token not found.',
'invite.created' => 'Invitation created.',
'invite.created_label' => 'Invitation code',
'invite.revoked' => 'Invitation revoked.',
'invite.revoke_failed' => 'The invitation could not be revoked.',
'user.not_found' => 'User not found.',
'user.self_change' => 'Your own account cannot be changed here.',
'user.disabled' => 'User disabled.',
'user.enabled' => 'User enabled.',
'user.temp_password' => 'Temporary password for {user}',
'user.must_change' => 'The user must change the password at the next sign-in.',
'user.delete_confirm_required' => 'Deletion must be confirmed.',
'user.deleted' => 'User and their programmes deleted.',
'action.unknown' => 'Unknown action.',
'routine.not_found_short' => 'Programme not found.',
'admin.status_changed' => 'Status changed.',
'routine.deleted' => 'Programme permanently deleted.',
// Sign-in and password rules
'login.error.rate_limited' => 'Too many failed attempts. Please try again in {minutes} minutes.',
'login.error.credentials' => 'Username or password is incorrect.',
'login.error.disabled' => 'This account is disabled.',
'password.min' => 'The password must be at least 10 characters long.',
'password.max' => 'The password may be at most 200 characters long.',
'password.same_as_username' => 'The password must not be the same as the username.',
// Upload validation
'upload.select_routine' => 'Please choose a programme file (.json).',
'upload.invalid' => 'Invalid upload.',
'upload.routine_too_large' => 'The programme file is too large (max. {max}).',
'upload.routine_not_json' => 'Programme files must be in JSON format (.json).',
'upload.read_failed' => 'The programme file could not be read.',
'upload.invalid_json' => 'The programme file is not valid JSON.',
'upload.no_json_object' => 'The programme file does not contain a JSON object.',
'upload.not_rinkplanner' => 'This is not a Rinkplanner programme (missing or wrong format).',
'upload.unsupported_version' => 'This programme format version is not supported.',
'upload.no_sections' => 'The programme has no section list.',
'upload.too_many_sections' => 'The programme has too many sections (max. 500).',
'upload.title_required' => 'The programme needs a title.',
'upload.bad_music_name' => 'The programme refers to an invalid music filename.',
'upload.music_missing' => 'The programme refers to “{name}”. Please upload the matching audio file as well.',
'upload.music_unexpected' => 'The programme refers to no music file; the audio file does not match.',
'upload.audio_invalid' => 'Invalid audio upload.',
'upload.audio_too_large' => 'The audio file is too large (max. {max}).',
'upload.audio_name_mismatch' => 'The audio file is named “{actual}”, but the programme refers to “{expected}”.',
'upload.audio_format' => 'The audio file is not a supported format (MP3, OGG, WAV, M4A, AAC).',
'upload.file_too_large' => 'The file is too large.',
'upload.interrupted' => 'The upload was interrupted.',
'upload.no_file_chosen' => 'No file was selected.',
'upload.store_failed' => 'The file could not be stored.',
'upload.unknown_error' => 'Unknown upload error.',
'routine.no_file_yet' => 'This programme has no file yet.',
'routine.file_missing' => 'The file is missing from storage.',
'routine.file_unreadable' => 'The file could not be opened.',
// API
'api.post_only' => 'Only POST is allowed.',
'api.get_only' => 'Only GET is allowed.',
'api.get_or_post' => 'Only GET or POST is allowed.',
'api.get_or_delete' => 'Only GET or DELETE is allowed.',
'api.unknown_path' => 'Unknown API path.',
'api.bearer_missing' => 'Bearer token missing.',
'api.token_invalid' => 'Token is invalid, expired or revoked.',
'api.credentials_required' => 'Username and password are required.',
'api.change_password_web' => 'Please change your password in the web interface first.',
'api.edit_forbidden' => 'Only the owner or an admin may change the programme.',
'api.rights_required' => 'Please confirm that the programme and its music may be shared.',
'api.upload_limit' => 'Hourly upload limit reached.',
'api.invalid_files' => 'The files are not valid.',
'api.duplicate' => 'This programme is already in the hub (ID {id}).',
'api.server_error' => 'Internal error.',
'api.routine_load_failed' => 'The programme could not be loaded.',
],
];