mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-23 05:21:15 +00:00
feat(settings): one look for every user and admin settings page
The settings pages had grown into a mix of styles: folds, dialogs behind rows, full-width rows next to boxed ones, pills for every figure and buttons in four sizes. Every page now uses the same kit. - Cards keep their tinted head band; every part of a card is a rounded block with its own small head (SettingsBlock), and rows sit in rounded boxes. - Nothing folds and nothing hides behind a dialog: the MCP config, OAuth scopes, mail how-to, AI privacy note and addon sub-options are all shown. - Each page is split into two columns balanced by length (SettingsColumns). - Long explanations moved into an info mark next to the label (HintMark). - One button size everywhere (text-control); tab names are one word. - Admin: the old Settings tab is split into Security and Services (?tab=settings still opens Security, and the phone keeps its single Settings section for both); the Integration group is gone, live flights and mail import sit next to the addons they configure. - Addons: one card per type with rows, no search, filter or fold. - Quota, TREK API facts, mail import status and Google's daily limit are compact lines and strips instead of tiles and pills. - Language is a select; routing has its own card under the defaults; storage saves from the foot of its categories card. - Unused keys, FoldSummary and the page-width wrapper are removed.
This commit is contained in:
@@ -2,6 +2,8 @@ import type { TranslationStrings } from '../types';
|
||||
|
||||
const admin: TranslationStrings = {
|
||||
'admin.notifications.title': 'Benachrichtigungen',
|
||||
'admin.notifications.channels': 'Kanäle',
|
||||
'admin.notifications.adminAlerts': 'Admin-Meldungen',
|
||||
'admin.notifications.hint': 'Wählen Sie einen Benachrichtigungskanal. Es kann nur einer gleichzeitig aktiv sein.',
|
||||
'admin.notifications.none': 'Deaktiviert',
|
||||
'admin.notifications.email': 'E-Mail (SMTP)',
|
||||
@@ -75,6 +77,8 @@ const admin: TranslationStrings = {
|
||||
'admin.invite.createError': 'Fehler beim Erstellen des Einladungslinks',
|
||||
'admin.invite.deleteError': 'Fehler beim Löschen des Einladungslinks',
|
||||
'admin.tabs.settings': 'Einstellungen',
|
||||
'admin.tabs.security': 'Sicherheit',
|
||||
'admin.tabs.services': 'Dienste',
|
||||
'admin.allowRegistration': 'Registrierung erlauben',
|
||||
'admin.allowRegistrationHint': 'Neue Benutzer können sich selbst registrieren',
|
||||
'admin.authMethods': 'Anmeldemethoden',
|
||||
@@ -137,10 +141,8 @@ const admin: TranslationStrings = {
|
||||
'admin.trekApi.included': 'Enthalten',
|
||||
'admin.trekApi.notIncluded': 'Nicht enthalten',
|
||||
'admin.trekApi.quota.title': 'Kontingent heute',
|
||||
'admin.trekApi.quota.used': 'Verbraucht',
|
||||
'admin.trekApi.quota.remaining': 'Verbleibend',
|
||||
'admin.trekApi.quota.resets': 'Zurückgesetzt um',
|
||||
'admin.trekApi.quota.limit': 'Tageslimit',
|
||||
'admin.trekApi.quota.key': 'Schlüssel',
|
||||
'admin.trekApi.quota.state.connected': 'Verbunden',
|
||||
'admin.trekApi.quota.state.registering': 'Wird eingerichtet',
|
||||
@@ -265,8 +267,9 @@ const admin: TranslationStrings = {
|
||||
'admin.collab.whatsnext.title': 'Was kommt als Nächstes',
|
||||
'admin.collab.whatsnext.subtitle': 'Aktivitätsvorschläge und nächste Schritte',
|
||||
'admin.tabs.config': 'Personalisierung',
|
||||
'admin.tabs.defaults': 'Benutzer-Standards',
|
||||
'admin.tabs.defaults': 'Standards',
|
||||
'admin.defaultSettings.title': 'Standard-Benutzereinstellungen',
|
||||
'admin.defaultSettings.routing': 'Routing',
|
||||
'admin.defaultSettings.description':
|
||||
'Instanzweite Standards festlegen. Benutzer, die eine Einstellung nicht geändert haben, sehen diese Werte. Eigene Änderungen haben immer Vorrang.',
|
||||
'admin.defaultSettings.saved': 'Standard gespeichert',
|
||||
@@ -727,16 +730,6 @@ const admin: TranslationStrings = {
|
||||
'admin.addons.toast.updated': 'Addon aktualisiert',
|
||||
'admin.addons.toast.error': 'Addon konnte nicht aktualisiert werden',
|
||||
'admin.addons.group.count': '{enabled} von {total} aktiviert',
|
||||
'admin.addons.search': 'Addons durchsuchen',
|
||||
'admin.addons.filter': 'Anzeigen',
|
||||
'admin.addons.filter.all': 'Alle',
|
||||
'admin.addons.filter.on': 'An',
|
||||
'admin.addons.filter.off': 'Aus',
|
||||
'admin.addons.noMatch': 'Kein Addon passt zur Suche oder zum Filter.',
|
||||
'admin.addons.subOptions': '{count} Optionen',
|
||||
'admin.addons.subOptions.one': '{count} Option',
|
||||
'admin.addons.subOptionsOn': '{count} aktiv',
|
||||
'admin.addons.subOptionsOn.one': '{count} aktiv',
|
||||
'admin.toursWanderer.title': 'wanderer',
|
||||
'admin.toursWanderer.subtitle':
|
||||
'Nutzer können ihre eigene wanderer-Instanz verbinden und deren Trails als Touren importieren',
|
||||
@@ -762,7 +755,7 @@ const admin: TranslationStrings = {
|
||||
'admin.weather.requestsDesc': 'Kostenlos, kein API-Schlüssel erforderlich',
|
||||
'admin.weather.locationHint':
|
||||
'Das Wetter wird anhand des ersten Ortes mit Koordinaten im jeweiligen Tag berechnet. Ist kein Ort am Tag eingeplant, wird ein beliebiger Ort aus der Ortsliste als Referenz verwendet.',
|
||||
'admin.tabs.mcpTokens': 'MCP-Zugang',
|
||||
'admin.tabs.mcpTokens': 'MCP',
|
||||
'admin.mcpTokens.title': 'MCP-Zugang',
|
||||
'admin.mcpTokens.subtitle': 'OAuth-Sitzungen und API-Tokens aller Benutzer verwalten',
|
||||
'admin.mcpTokens.sectionTitle': 'API-Tokens',
|
||||
@@ -933,7 +926,6 @@ const admin: TranslationStrings = {
|
||||
'Wird für jeden Nutzer verwendet, der keinen eigenen Key eingetragen hat, damit die ganze Instanz CARTO-Kacheln ohne Wasserzeichen bekommt. Verschlüsselt gespeichert.',
|
||||
'admin.group.users': 'Benutzer',
|
||||
'admin.group.config': 'Konfiguration',
|
||||
'admin.group.integration': 'Integrationen',
|
||||
'admin.group.maintenance': 'Wartung',
|
||||
'admin.invite.tripLabel': 'Zu Trip hinzufügen (optional)',
|
||||
'admin.invite.tripNone': 'Kein Trip',
|
||||
|
||||
Reference in New Issue
Block a user