mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 01:19:33 +00:00
Add case for "zh#Hans".
This commit is contained in:
@@ -27,6 +27,8 @@ def normalizeForResourceConfigurations(locale):
|
|||||||
return "in"
|
return "in"
|
||||||
case "zh_TW#Hant":
|
case "zh_TW#Hant":
|
||||||
return "zh-rTW"
|
return "zh-rTW"
|
||||||
|
case "zh#Hans":
|
||||||
|
return "zh-rCN"
|
||||||
case _:
|
case _:
|
||||||
return locale
|
return locale
|
||||||
|
|
||||||
@@ -37,6 +39,8 @@ def normalizeForLocalConfig(locale):
|
|||||||
return "in"
|
return "in"
|
||||||
case "zh_TW#Hant":
|
case "zh_TW#Hant":
|
||||||
return "zh-TW"
|
return "zh-TW"
|
||||||
|
case "zh#Hans":
|
||||||
|
return "zh-CN"
|
||||||
case _:
|
case _:
|
||||||
return locale
|
return locale
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user