🚚 Homogeiniza uso de archivos de localización
This commit is contained in:
parent
bf3b546640
commit
aa1f58d11a
27 changed files with 29 additions and 30 deletions
|
|
@ -2,7 +2,7 @@ use pagetop::prelude::*;
|
|||
|
||||
define_handle!(THEME_BOOTSIER);
|
||||
|
||||
define_locale!(LOCALE_BOOTSIER, "static/locales");
|
||||
define_locale!(LOCALE_BOOTSIER, "src/locale");
|
||||
|
||||
include!(concat!(env!("OUT_DIR"), "/bootsier.rs"));
|
||||
|
||||
|
|
|
|||
6
pagetop-bootsier/src/locale/en-US/bootsier.ftl
Normal file
6
pagetop-bootsier/src/locale/en-US/bootsier.ftl
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
e404-description = Oops! Page Not Found
|
||||
e404-message = The page you are looking for may have been removed, had its name changed, or is temporarily unavailable.
|
||||
e500-description = Oops! Unexpected Error
|
||||
e500-message = We're having an issue. Please report this error to an administrator.
|
||||
back-homepage = Back to homepage
|
||||
|
||||
9
pagetop-bootsier/src/locale/en-US/regions.ftl
Normal file
9
pagetop-bootsier/src/locale/en-US/regions.ftl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
header = Header
|
||||
nav_branding = Navigation branding region
|
||||
nav_main = Main navigation region
|
||||
nav_additional = Additional navigation region (eg search form, social icons, etc)
|
||||
breadcrumb = Breadcrumb
|
||||
content = Main content
|
||||
sidebar_first = Sidebar first
|
||||
sidebar_second = Sidebar second
|
||||
footer = Footer
|
||||
5
pagetop-bootsier/src/locale/es-ES/bootsier.ftl
Normal file
5
pagetop-bootsier/src/locale/es-ES/bootsier.ftl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
e404-description = ¡Vaya! Página No Encontrada
|
||||
e404-message = La página que está buscando puede haber sido eliminada, cambiada de nombre o no está disponible temporalmente.
|
||||
e500-description = ¡Vaya! Error Inesperado
|
||||
e500-message = Está ocurriendo una incidencia. Por favor, informe de este error a un administrador.
|
||||
back-homepage = Volver al inicio
|
||||
9
pagetop-bootsier/src/locale/es-ES/regions.ftl
Normal file
9
pagetop-bootsier/src/locale/es-ES/regions.ftl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
header = Cabecera
|
||||
nav_branding = Navegación y marca
|
||||
nav_main = Navegación principal
|
||||
nav_additional = Navegación adicional (p.e. formulario de búsqueda, iconos sociales, etc.)
|
||||
breadcrumb = Ruta de posicionamiento
|
||||
content = Contenido principal
|
||||
sidebar_first = Barra lateral primera
|
||||
sidebar_second = Barra lateral segunda
|
||||
footer = Pie
|
||||
Loading…
Add table
Add a link
Reference in a new issue