Fix isue with web app fetching translation for locale en_CA
This commit is contained in:
1 parent
cd10f237f4
commit
1268f63bbc
1 file changed
+6
-1
@@ -55,7 +55,12 @@ namespace Http
|
|||||||
end if
|
end if
|
||||||
|
|
||||||
if keysDict["device"] = true
|
if keysDict["device"] = true
|
||||||
state["device"] = m.applicationInfoNode@.GetDeviceInfo()
|
deviceInfo = m.applicationInfoNode@.GetDeviceInfo()
|
||||||
|
' We do not currently have translations for en_CA
|
||||||
|
if deviceInfo.current_locale = "en_CA"
|
||||||
|
deviceInfo.current_locale = "en_US"
|
||||||
|
end if
|
||||||
|
state["device"] = deviceInfo
|
||||||
end if
|
end if
|
||||||
|
|
||||||
if keysDict["invidious"] = true
|
if keysDict["invidious"] = true
|
||||||
|
|||||||
Reference in new issue
Block a user