🚚 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
|
|
@ -8,13 +8,13 @@ mod migration;
|
|||
#[derive(AssignHandle)]
|
||||
pub struct Node;
|
||||
|
||||
impl ModuleTrait for Node {
|
||||
impl PackageTrait for Node {
|
||||
fn name(&self) -> L10n {
|
||||
L10n::t("module_name", &LOCALES_NODE)
|
||||
L10n::t("package_name", &LOCALES_NODE)
|
||||
}
|
||||
|
||||
fn description(&self) -> L10n {
|
||||
L10n::t("module_description", &LOCALES_NODE)
|
||||
L10n::t("package_description", &LOCALES_NODE)
|
||||
}
|
||||
|
||||
fn configure_service(&self, scfg: &mut service::web::ServiceConfig) {
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
module_name = Node
|
||||
module_description = Allows content to be submitted to the site and displayed on pages.
|
||||
package_name = Node
|
||||
package_description = Allows content to be submitted to the site and displayed on pages.
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
module_name = Nodo
|
||||
module_description = Permite enviar contenidos al sitio y mostrarlos en páginas.
|
||||
package_name = Nodo
|
||||
package_description = Permite enviar contenidos al sitio y mostrarlos en páginas.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue