From feaa95d7664dc5734ba8d3f10dbf4f74775973f3 Mon Sep 17 00:00:00 2001 From: Vladislav Nepogodin Date: Sun, 7 Jan 2024 21:11:40 +0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20remove=20mhwd=20compat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- i18n/en/chwd.ftl | 3 --- i18n/ru/chwd.ftl | 3 --- src/main.rs | 3 --- 3 files changed, 9 deletions(-) diff --git a/i18n/en/chwd.ftl b/i18n/en/chwd.ftl index ee99e15..402474f 100644 --- a/i18n/en/chwd.ftl +++ b/i18n/en/chwd.ftl @@ -6,9 +6,6 @@ nonfree-header = NonFree classids-header = ClassIDS vendorids-header = VendorIDS -# notice -mhwd-deprecated = 'mhwd' is deprecated and will be removed in future. Please use 'chwd' - # main root-operation = You cannot perform this operation unless you are root! profile-not-exist = profile '{$profile_name}' does not exist! diff --git a/i18n/ru/chwd.ftl b/i18n/ru/chwd.ftl index 1091e7c..5ab5840 100644 --- a/i18n/ru/chwd.ftl +++ b/i18n/ru/chwd.ftl @@ -6,9 +6,6 @@ nonfree-header = Несвободный classids-header = IDS класса vendorids-header = IDS вендора -# notice -mhwd-deprecated = 'mhwd' устарел и будет удален в будущем. Пожалуйста, используйте 'chwd' - # main root-operation = вы не сможете выполнить эту операцию, если не являетесь пользователем root! profile-not-exist = профиль '{$profile_name}' не существует! diff --git a/src/main.rs b/src/main.rs index 4d51eb2..994bde7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -87,9 +87,6 @@ fn main() -> anyhow::Result<()> { } let args: Vec = std::env::args().collect(); - if misc::get_current_cmdname(args[0].as_str()) == "mhwd" { - console_writer::print_warning(&fl!("mhwd-deprecated")); - } // 1) Process arguments