♻️ (locale): Renombra L10n a Lc
Simplifica el nombre del tipo de localización. Actualiza todas las referencias en el crate principal, extensiones, ejemplos y tests.
This commit is contained in:
parent
3198b74399
commit
be10dd28a1
65 changed files with 612 additions and 621 deletions
|
|
@ -1,7 +1,14 @@
|
|||
use crate::prelude::*;
|
||||
|
||||
// Enlace a la página oficial de PageTop.
|
||||
const LINK: &str = "<a href=\"https://pagetop.cillero.es\" rel=\"noopener noreferrer\">PageTop</a>";
|
||||
const PAGETOP_LINK: &str = concat!(
|
||||
"<a ",
|
||||
"href=\"https://pagetop.cillero.es\" ",
|
||||
"target=\"_blank\" ",
|
||||
"rel=\"noopener noreferrer\">",
|
||||
"PageTop",
|
||||
"</a>",
|
||||
);
|
||||
|
||||
/// Componente que muestra el típico mensaje *Powered by* (*Funciona con*) en el pie de página.
|
||||
///
|
||||
|
|
@ -33,7 +40,7 @@ impl Component for PoweredBy {
|
|||
span class="poweredby__copyright" { (c) "." } " "
|
||||
}
|
||||
span class="poweredby__pagetop" {
|
||||
(L10n::l("poweredby_pagetop").with_arg("pagetop_link", LINK).using(cx))
|
||||
(Lc::l("poweredby_pagetop").with_arg("pagetop_link", PAGETOP_LINK).using(cx))
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue