From e774085c9e566b754bd03a6fb391323dbcf00b53 Mon Sep 17 00:00:00 2001 From: lifegpc Date: Sun, 20 Mar 2022 15:34:56 +0800 Subject: [PATCH] fix typo in i18n.rs --- src/i18n.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i18n.rs b/src/i18n.rs index cf6838a..5e64068 100644 --- a/src/i18n.rs +++ b/src/i18n.rs @@ -119,7 +119,7 @@ fn open_mo_file(molang: &str) -> Option { { let mut p = pb.clone(); p.pop(); - p.push(format!("share/locale/{}/LC_MESSAGES/pixiv_downloader.po", molang.replace("-", "_").as_str())); + p.push(format!("share/locale/{}/LC_MESSAGES/pixiv_downloader.mo", molang.replace("-", "_").as_str())); if p.exists() { let f = File::open(p); match f {