From 80e66387b24c168ba6875b4a53f4529e40507913 Mon Sep 17 00:00:00 2001 From: Masato TOYOSHIMA Date: Sat, 25 Jan 2025 11:25:44 +0900 Subject: [PATCH] Fix: get_best_locale --- src/manjaro_hello.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/manjaro_hello.py b/src/manjaro_hello.py index 8d3058e..1c2809f 100755 --- a/src/manjaro_hello.py +++ b/src/manjaro_hello.py @@ -250,7 +250,7 @@ class Hello(Gtk.Window): :return: locale to use :rtype: str """ - path = f"{self.preferences["locale_path"]}/LC_MESSAGES/{self.app}*.mo" + path = self.preferences["locale_path"] + "/{}/LC_MESSAGES/" + self.app + ".mo" if os.path.isfile(path.format(self.usr_prefs["locale"])): # return usr_preference