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