🚚 Refactor modules to packages to avoid Rust clash

This commit is contained in:
Manuel Cillero 2024-01-07 00:18:54 +01:00
parent 98fa367ebc
commit 89f78a1aff
35 changed files with 125 additions and 123 deletions

View file

@ -7,13 +7,13 @@ mod summary;
#[derive(AssignHandle)]
pub struct Admin;
impl ModuleTrait for Admin {
impl PackageTrait for Admin {
fn name(&self) -> L10n {
L10n::t("module_name", &LOCALES_ADMIN)
L10n::t("package_name", &LOCALES_ADMIN)
}
fn description(&self) -> L10n {
L10n::t("module_description", &LOCALES_ADMIN)
L10n::t("package_description", &LOCALES_ADMIN)
}
fn actions(&self) -> Vec<Action> {