- fixed wine `LANG` codes
This commit is contained in:
Observer KRypt0n_ 2023-03-06 21:07:50 +02:00
parent 35565d07c2
commit 6565e30030
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2
2 changed files with 11 additions and 11 deletions

View file

@ -1,6 +1,6 @@
[package] [package]
name = "anime-launcher-sdk" name = "anime-launcher-sdk"
version = "0.3.1" version = "0.3.2"
authors = ["Nikita Podvirnyy <suimin.tu.mu.ga.mi@gmail.com>"] authors = ["Nikita Podvirnyy <suimin.tu.mu.ga.mi@gmail.com>"]
license = "GPL-3.0" license = "GPL-3.0"
readme = "README.md" readme = "README.md"

View file

@ -38,16 +38,16 @@ impl WineLang {
HashMap::from([("LANG", match self { HashMap::from([("LANG", match self {
Self::System => return HashMap::new(), Self::System => return HashMap::new(),
Self::English => "en_US.UTF8", Self::English => "en_US.UTF-8",
Self::Russian => "ru_RU.UTF8", Self::Russian => "ru_RU.UTF-8",
Self::German => "de_DE.UTF8", Self::German => "de_DE.UTF-8",
Self::Portuguese => "pt_PT.UTF8", Self::Portuguese => "pt_PT.UTF-8",
Self::Polish => "pl_PL.UTF8", Self::Polish => "pl_PL.UTF-8",
Self::French => "fr_FR.UTF8", Self::French => "fr_FR.UTF-8",
Self::Spanish => "es_ES.UTF8", Self::Spanish => "es_ES.UTF-8",
Self::Chinese => "zh_CN.UTF8", Self::Chinese => "zh_CN.UTF-8",
Self::Japanese => "ja_JP.UTF8", Self::Japanese => "ja_JP.UTF-8",
Self::Korean => "ko_KR.UTF8" Self::Korean => "ko_KR.UTF-8"
})]) })])
} }
} }