diff options
Diffstat (limited to 'src/systems/cmd')
| -rw-r--r-- | src/systems/cmd/cmd_system.rs | 3 | ||||
| -rw-r--r-- | src/systems/cmd/processer.rs | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/systems/cmd/cmd_system.rs b/src/systems/cmd/cmd_system.rs index 57aa15d..05fe5e7 100644 --- a/src/systems/cmd/cmd_system.rs +++ b/src/systems/cmd/cmd_system.rs @@ -14,11 +14,10 @@ use std::{ future::Future, }; -rust_i18n::i18n!("resources/locales/jvn", fallback = "en"); - pub struct JVCommandContext { pub help: bool, pub confirmed: bool, + pub args: Vec<String>, } pub trait JVCommand<Argument, Input, Collect> diff --git a/src/systems/cmd/processer.rs b/src/systems/cmd/processer.rs index 0f68afb..b4b503e 100644 --- a/src/systems/cmd/processer.rs +++ b/src/systems/cmd/processer.rs @@ -6,8 +6,6 @@ use crate::systems::cmd::cmd_system::JVCommandContext; use crate::systems::cmd::errors::CmdProcessError; use crate::systems::render::renderer::JVRenderResult; -rust_i18n::i18n!("resources/locales/jvn", fallback = "en"); - pub async fn jv_cmd_process( args: &Vec<String>, ctx: JVCommandContext, |
