🚚 Refactor modules to packages to avoid Rust clash
This commit is contained in:
parent
98fa367ebc
commit
89f78a1aff
35 changed files with 125 additions and 123 deletions
|
|
@ -7,13 +7,13 @@ mod migration;
|
|||
#[derive(AssignHandle)]
|
||||
pub struct User;
|
||||
|
||||
impl ModuleTrait for User {
|
||||
impl PackageTrait for User {
|
||||
fn name(&self) -> L10n {
|
||||
L10n::t("module_name", &LOCALES_USER)
|
||||
L10n::t("package_name", &LOCALES_USER)
|
||||
}
|
||||
|
||||
fn description(&self) -> L10n {
|
||||
L10n::t("module_description", &LOCALES_USER)
|
||||
L10n::t("package_description", &LOCALES_USER)
|
||||
}
|
||||
|
||||
fn configure_service(&self, scfg: &mut service::web::ServiceConfig) {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
module_name = User
|
||||
module_description = Manages the user registration and login system.
|
||||
package_name = User
|
||||
package_description = Manages the user registration and login system.
|
||||
|
||||
username = User name
|
||||
password = Password
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
module_name = Usuario
|
||||
module_description = Gestiona el registro de usuarios y el sistema de accesos.
|
||||
package_name = Usuario
|
||||
package_description = Gestiona el registro de usuarios y el sistema de accesos.
|
||||
|
||||
username = Nombre de usuario
|
||||
password = Contraseña
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue