Actualiza el código para las nuevas denominaciones

This commit is contained in:
Manuel Cillero 2022-05-02 12:30:30 +02:00
parent 16996eeee0
commit a8cb7f0d29
38 changed files with 123 additions and 139 deletions

View file

@ -4,15 +4,11 @@ localize!("src/locales");
mod migration;
pub struct UserModule;
pub struct User;
impl ModuleTrait for UserModule {
fn name(&self) -> &'static str {
"User"
}
fn fullname(&self) -> String {
l("module_fullname")
impl ModuleTrait for User {
fn name(&self) -> String {
l("module_name")
}
fn description(&self) -> Option<String> {