~vpzom/lotide

adfe64d1f0825949ee7613be580971701bf79cd4 — Colin Reeder 9 months ago 8fd8314
fix file extension for language files
3 files changed, 2 insertions(+), 2 deletions(-)

R res/lang/{en.flt => en.ftl}
R res/lang/{eo.flt => eo.ftl}
M src/main.rs
R res/lang/en.flt => res/lang/en.ftl +0 -0
R res/lang/eo.flt => res/lang/eo.ftl +0 -0
M src/main.rs => src/main.rs +2 -2
@@ 280,8 280,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
    };