👽️ Simplifica API de localización para documentar
This commit is contained in:
parent
805c670a53
commit
e68d0b27f0
9 changed files with 62 additions and 47 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue