mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 18:38:27 +03:00
zh-HK gets traditional chinse
This commit is contained in:
parent
49af74729f
commit
36e263b9ff
2 changed files with 3 additions and 2 deletions
|
@ -54,7 +54,8 @@ namespace Bit.Android.Services
|
||||||
|
|
||||||
if(androidLanguage.StartsWith("zh"))
|
if(androidLanguage.StartsWith("zh"))
|
||||||
{
|
{
|
||||||
if(androidLanguage.Contains("Hant") || androidLanguage.Contains("TW"))
|
if(androidLanguage.Contains("Hant") || androidLanguage.Contains("TW") ||
|
||||||
|
androidLanguage.Contains("HK") || androidLanguage.Contains("MO"))
|
||||||
{
|
{
|
||||||
netLanguage = "zh-Hant";
|
netLanguage = "zh-Hant";
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,7 +58,7 @@ namespace Bit.iOS.Core.Services
|
||||||
Console.WriteLine("iOS Language:" + iOSLanguage);
|
Console.WriteLine("iOS Language:" + iOSLanguage);
|
||||||
var netLanguage = iOSLanguage;
|
var netLanguage = iOSLanguage;
|
||||||
|
|
||||||
if(iOSLanguage.StartsWith("zh-Hant"))
|
if(iOSLanguage.StartsWith("zh-Hant") || iOSLanguage.StartsWith("zh-HK"))
|
||||||
{
|
{
|
||||||
netLanguage = "zh-Hant";
|
netLanguage = "zh-Hant";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue