👽️ Simplifica API de localización para documentar

This commit is contained in:
Manuel Cillero 2023-05-28 12:51:13 +02:00
parent 805c670a53
commit e68d0b27f0
9 changed files with 62 additions and 47 deletions

View file

@ -15,11 +15,11 @@ impl ModuleTrait for User {
}
fn name(&self) -> String {
t("module_name", Locale::From(&LOCALE_USER))
_t("module_name", Locale::From(&LOCALE_USER))
}
fn description(&self) -> Option<String> {
Some(t("module_description", Locale::From(&LOCALE_USER)))
Some(_t("module_description", Locale::From(&LOCALE_USER)))
}
fn dependencies(&self) -> Vec<ModuleStaticRef> {