mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
fix: really skip en_US:us in gettext.changeLang
`new_lang` isn't `en_US` but `en_US:en` Also see https://github.com/koreader/koreader/issues/3069#issuecomment-321769322
This commit is contained in:
@@ -36,7 +36,7 @@ end
|
||||
-- we only implement a sane subset for now
|
||||
|
||||
function GetText_mt.__index.changeLang(new_lang)
|
||||
if new_lang == "en_US" then return end
|
||||
if new_lang == "en_US:en" then return end
|
||||
|
||||
GetText.translation = {}
|
||||
GetText.current_lang = "C"
|
||||
|
||||
Reference in New Issue
Block a user