🏗️ Nuevo componente Html para simplificar L10n

This commit is contained in:
Manuel Cillero 2023-06-09 12:37:58 +02:00
parent a48c575198
commit 52baa4f671
8 changed files with 83 additions and 38 deletions

View file

@ -41,7 +41,7 @@ impl ModuleTrait for Node {
}
async fn node(request: server::HttpRequest) -> ResultPage<Markup, FatalError> {
Page::new(request).with_title(L10n::text("Nodo")).render()
Page::new(request).with_title(L10n::n("Nodo")).render()
}
fn before_render_page(page: &mut Page) {