fix i18n, revert rust-i18n to v3.0.1 (#267)

This commit is contained in:
Sijie.Sun
2024-08-20 00:38:59 +08:00
committed by GitHub
parent 58e0e48d59
commit 8793560e12
3 changed files with 36 additions and 7 deletions
+2 -1
View File
@@ -174,7 +174,8 @@ parking_lot = { version = "0.12.0", optional = true }
wildmatch = "2.3.4"
rust-i18n = "3"
rust-i18n = "=3.0.1"
rust-i18n-macro = "=3.0.0"
sys-locale = "0.3"
[target.'cfg(windows)'.dependencies]
+1 -1
View File
@@ -281,7 +281,7 @@ struct Cli {
socks5: Option<u16>,
}
rust_i18n::i18n!("locales");
rust_i18n::i18n!("locales", fallback = "en");
impl Cli {
fn parse_listeners(&self) -> Vec<String> {