mirror of
https://github.com/kuitoi/kuitoi-Server.git
synced 2025-07-01 23:35:31 +00:00
[!] FIX i18n
This commit is contained in:
parent
b73674f409
commit
b4b3953194
@ -124,7 +124,7 @@ class MultiLanguage:
|
||||
self.lang_url = "https://raw.githubusercontent.com/KuiToi/KuiToi-Server/Stable/src/translates/"
|
||||
|
||||
def set_language(self, language):
|
||||
if language == self.language:
|
||||
if self.__i18n and language == self.language:
|
||||
return
|
||||
self.log.debug(f"set_language({language})")
|
||||
self.language = language
|
||||
|
Loading…
x
Reference in New Issue
Block a user