mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-25 22:27:32 +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': 'Notificaciones',
|
||||
'admin.notifications.channels': 'Canales',
|
||||
'admin.notifications.adminAlerts': 'Avisos de administración',
|
||||
'admin.notifications.hint': 'Elija un canal de notificación. Solo uno puede estar activo a la vez.',
|
||||
'admin.notifications.none': 'Desactivado',
|
||||
'admin.notifications.email': 'Correo (SMTP)',
|
||||
@@ -21,7 +23,7 @@ const admin: TranslationStrings = {
|
||||
'admin.subtitle': 'Gestión de usuarios y ajustes del sistema',
|
||||
'admin.tabs.users': 'Usuarios',
|
||||
'admin.tabs.categories': 'Categorías',
|
||||
'admin.tabs.backup': 'Copia de seguridad',
|
||||
'admin.tabs.backup': 'Respaldo',
|
||||
'admin.tabs.audit': 'Auditoría',
|
||||
'admin.stats.users': 'Usuarios',
|
||||
'admin.stats.users.one': 'Usuario',
|
||||
@@ -75,6 +77,8 @@ const admin: TranslationStrings = {
|
||||
'admin.invite.createError': 'Error al crear el enlace',
|
||||
'admin.invite.deleteError': 'Error al eliminar el enlace',
|
||||
'admin.tabs.settings': 'Ajustes',
|
||||
'admin.tabs.security': 'Seguridad',
|
||||
'admin.tabs.services': 'Servicios',
|
||||
'admin.allowRegistration': 'Permitir el registro',
|
||||
'admin.allowRegistrationHint': 'Los nuevos usuarios pueden registrarse por sí mismos',
|
||||
'admin.authMethods': 'Métodos de autenticación',
|
||||
@@ -136,10 +140,8 @@ const admin: TranslationStrings = {
|
||||
'admin.trekApi.included': 'Incluido',
|
||||
'admin.trekApi.notIncluded': 'No incluido',
|
||||
'admin.trekApi.quota.title': 'Cupo de hoy',
|
||||
'admin.trekApi.quota.used': 'Usado',
|
||||
'admin.trekApi.quota.remaining': 'Restante',
|
||||
'admin.trekApi.quota.resets': 'Se reinicia a las',
|
||||
'admin.trekApi.quota.limit': 'Límite',
|
||||
'admin.trekApi.quota.key': 'Clave',
|
||||
'admin.trekApi.quota.state.connected': 'Conectado',
|
||||
'admin.trekApi.quota.state.registering': 'Configurando',
|
||||
@@ -262,8 +264,9 @@ const admin: TranslationStrings = {
|
||||
'admin.collab.whatsnext.title': 'Qué sigue',
|
||||
'admin.collab.whatsnext.subtitle': 'Sugerencias de actividades y próximos pasos',
|
||||
'admin.tabs.config': 'Personalización',
|
||||
'admin.tabs.defaults': 'Valores predeterminados',
|
||||
'admin.tabs.defaults': 'Predeterminados',
|
||||
'admin.defaultSettings.title': 'Configuración predeterminada de usuarios',
|
||||
'admin.defaultSettings.routing': 'Rutas',
|
||||
'admin.defaultSettings.description':
|
||||
'Establece valores predeterminados para toda la instancia. Los usuarios que no hayan cambiado una opción verán estos valores. Sus propios cambios siempre tienen prioridad.',
|
||||
'admin.defaultSettings.saved': 'Predeterminado guardado',
|
||||
@@ -706,16 +709,6 @@ const admin: TranslationStrings = {
|
||||
'admin.addons.toast.updated': 'Complemento actualizado',
|
||||
'admin.addons.toast.error': 'No se pudo actualizar el complemento',
|
||||
'admin.addons.group.count': '{enabled} de {total} activados',
|
||||
'admin.addons.search': 'Buscar complementos',
|
||||
'admin.addons.filter': 'Mostrar',
|
||||
'admin.addons.filter.all': 'Todos',
|
||||
'admin.addons.filter.on': 'Activos',
|
||||
'admin.addons.filter.off': 'Inactivos',
|
||||
'admin.addons.noMatch': 'Ningún complemento coincide con la búsqueda o el filtro.',
|
||||
'admin.addons.subOptions': '{count} opciones',
|
||||
'admin.addons.subOptions.one': '{count} opción',
|
||||
'admin.addons.subOptionsOn': '{count} activas',
|
||||
'admin.addons.subOptionsOn.one': '{count} activa',
|
||||
'admin.toursWanderer.title': 'wanderer',
|
||||
'admin.toursWanderer.subtitle':
|
||||
'Los usuarios pueden conectar su propia instancia de wanderer e importar sus senderos como excursiones',
|
||||
@@ -741,7 +734,7 @@ const admin: TranslationStrings = {
|
||||
'admin.weather.requestsDesc': 'Gratis, sin necesidad de clave API',
|
||||
'admin.weather.locationHint':
|
||||
'El tiempo se basa en el primer lugar con coordenadas de cada día. Si no hay ningún lugar asignado a un día, se usa como referencia cualquier lugar de la lista.',
|
||||
'admin.tabs.mcpTokens': 'Acceso MCP',
|
||||
'admin.tabs.mcpTokens': 'MCP',
|
||||
'admin.mcpTokens.title': 'Acceso MCP',
|
||||
'admin.mcpTokens.subtitle': 'Gestionar sesiones OAuth y tokens de API de todos los usuarios',
|
||||
'admin.mcpTokens.sectionTitle': 'Tokens de API',
|
||||
@@ -940,7 +933,6 @@ const admin: TranslationStrings = {
|
||||
'Se usa para cada usuario que no haya introducido su propia clave, de modo que toda la instancia obtenga teselas de CARTO sin marca de agua. Se almacena cifrada.',
|
||||
'admin.group.users': 'Usuarios',
|
||||
'admin.group.config': 'Configuración',
|
||||
'admin.group.integration': 'Integraciones',
|
||||
'admin.group.maintenance': 'Mantenimiento',
|
||||
'admin.invite.tripLabel': 'Añadir a un viaje (opcional)',
|
||||
'admin.invite.tripNone': 'Sin viaje',
|
||||
|
||||
Reference in New Issue
Block a user