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

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> {