Traducción completa al español y barra de título PWA
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 2m19s

- Traducir mensajes de API a español
- Configurar idioma español en HTML y manifest (lang="es")
- Actualizar nombres de app: "Perfil Nucleo"
- Crear WindowTitleBar para Window Controls Overlay
- Ajustar padding para acomodar barra de título
- Traducir campos restantes en componentes legacy
This commit is contained in:
2025-10-16 23:20:06 -06:00
parent 44c4727588
commit 563e920dad
6 changed files with 122 additions and 9 deletions

View File

@@ -3,6 +3,9 @@
<NuxtRouteAnnouncer />
<UNotifications />
<!-- Barra de título para Window Controls Overlay (PWA) -->
<WindowTitleBar />
<!-- Fondo animado -->
<AnimatedBackground />
@@ -54,6 +57,9 @@ const showProfileForm = ref(false)
// Configurar meta tags para PWA
useHead({
htmlAttrs: {
lang: 'es'
},
link: [
{ rel: 'manifest', href: '/manifest.webmanifest' },
{ rel: 'icon', type: 'image/svg+xml', href: '/icon.svg' },
@@ -63,7 +69,9 @@ useHead({
{ name: 'theme-color', content: '#00DC82' },
{ name: 'mobile-web-app-capable', content: 'yes' },
{ name: 'apple-mobile-web-app-capable', content: 'yes' },
{ name: 'apple-mobile-web-app-status-bar-style', content: 'default' }
{ name: 'apple-mobile-web-app-status-bar-style', content: 'default' },
{ name: 'language', content: 'es' },
{ property: 'og:locale', content: 'es_ES' }
]
})
</script>
@@ -73,7 +81,9 @@ useHead({
position: relative;
z-index: 1;
min-height: 100vh;
padding-top: 2rem;
/* Ajustar padding cuando Window Controls Overlay está activo */
padding-top: max(2rem, env(titlebar-area-height, 0px));
padding-top: max(2rem, calc(env(titlebar-area-height, 0px) + 1rem));
}
.quick-actions {