💥 Better names for main macros
This commit is contained in:
parent
eee481cfcb
commit
6df57a0c12
44 changed files with 146 additions and 140 deletions
|
|
@ -1,10 +1,10 @@
|
|||
use pagetop::prelude::*;
|
||||
|
||||
use_handle!(MODULE_JQUERY);
|
||||
create_handle!(MODULE_JQUERY);
|
||||
|
||||
use_locale!(LOCALE_JQUERY);
|
||||
static_locales!(LOCALES_JQUERY);
|
||||
|
||||
use_static!(jquery);
|
||||
static_files!(jquery);
|
||||
|
||||
const PARAM_JQUERY: &str = "jquery.js";
|
||||
|
||||
|
|
@ -16,11 +16,11 @@ impl ModuleTrait for JQuery {
|
|||
}
|
||||
|
||||
fn name(&self) -> L10n {
|
||||
L10n::t("module_name", &LOCALE_JQUERY)
|
||||
L10n::t("module_name", &LOCALES_JQUERY)
|
||||
}
|
||||
|
||||
fn description(&self) -> L10n {
|
||||
L10n::t("module_description", &LOCALE_JQUERY)
|
||||
L10n::t("module_description", &LOCALES_JQUERY)
|
||||
}
|
||||
|
||||
fn actions(&self) -> Vec<Action> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue