diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-12-23 22:37:06 +0100 |
---|---|---|
committer | Colin Reeder <colin@vpzom.click> | 2020-12-23 15:04:49 -0700 |
commit | ab5fed01bf6f6941478d65d71e666cb2011606eb (patch) | |
tree | cc34b0c7464d2742c200a91b216c08ad80860108 | |
parent | 2fcb320016984f0e13e96055fc673d08d6742039 (diff) |
Include german translation file in LANG_MAP
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index b149e19..913104d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -516,6 +516,7 @@ lazy_static::lazy_static! { static ref LANG_MAP: HashMap<unic_langid::LanguageIdentifier, fluent::FluentResource> = { let mut result = HashMap::new(); + result.insert(unic_langid::langid!("de"), fluent::FluentResource::try_new(include_str!("../res/lang/de.ftl").to_owned()).expect("Failed to parse translation")); result.insert(unic_langid::langid!("en"), fluent::FluentResource::try_new(include_str!("../res/lang/en.ftl").to_owned()).expect("Failed to parse translation")); result.insert(unic_langid::langid!("eo"), fluent::FluentResource::try_new(include_str!("../res/lang/eo.ftl").to_owned()).expect("Failed to parse translation")); result.insert(unic_langid::langid!("fr"), fluent::FluentResource::try_new(include_str!("../res/lang/fr.ftl").to_owned()).expect("Failed to parse translation")); |