mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-07 02:09:06 +00:00
fix i18n, revert rust-i18n to v3.0.1 (#267)
This commit is contained in:
+2
-1
@@ -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]
|
||||
|
||||
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user