🧑‍💻 Major update to enhance Handle usage

This commit is contained in:
Manuel Cillero 2023-11-19 21:17:16 +01:00
parent 255fb393a9
commit d9f3561832
56 changed files with 201 additions and 353 deletions

View file

@ -4,10 +4,9 @@ static_locales!(LOCALES_USER);
mod migration;
#[derive(AssignHandle)]
pub struct User;
impl_handle!(MODULE_USER for User);
impl ModuleTrait for User {
fn name(&self) -> L10n {
L10n::t("module_name", &LOCALES_USER)