summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorColin Reeder <colin@vpzom.click>2020-07-21 21:01:32 -0600
committerColin Reeder <colin@vpzom.click>2020-07-21 21:01:32 -0600
commit6bdc3a603dfa72293c3698c34ed8b99407e7ad88 (patch)
tree8323e6b8e73dad99ce8b5bab62c69e0685784a6a /src
parent9a5854edf5e08d2155d3dcd332f1530243a628c7 (diff)
fix file extension for language files
Diffstat (limited to 'src')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 91fc487..2d40dd5 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -60,8 +60,8 @@ lazy_static::lazy_static! {
static ref LANG_MAP: HashMap<unic_langid::LanguageIdentifier, fluent::FluentResource> = {
let mut result = HashMap::new();
- result.insert(unic_langid::langid!("en"), fluent::FluentResource::try_new(include_str!("../res/lang/en.flt").to_owned()).expect("Failed to parse translation"));
- result.insert(unic_langid::langid!("eo"), fluent::FluentResource::try_new(include_str!("../res/lang/eo.flt").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
};