Añade composición de páginas basada en componentes
This commit is contained in:
parent
0e3300dc90
commit
24e773c17b
30 changed files with 895 additions and 31 deletions
|
|
@ -43,5 +43,15 @@ macro_rules! localize {
|
|||
) -> String {
|
||||
LOCALES.lookup_with_args(&LANGID, key, args)
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn e(
|
||||
key: &str,
|
||||
args: &std::collections::HashMap<String, FluentValue>
|
||||
) -> crate::core::theme::PreEscaped<String> {
|
||||
crate::core::theme::PreEscaped(
|
||||
LOCALES.lookup_with_args(&LANGID, key, args)
|
||||
)
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue