Skip to content

Commit

Permalink
no, it's not. Should it be? What about zh-TW?
Browse files Browse the repository at this point in the history
  • Loading branch information
papeh committed Mar 8, 2023
1 parent 4c0b6cd commit 8010576
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/L10NSharp/LocalizationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,7 @@ public static string UILanguageId
// The current version of Mono does not define a CultureInfo for "zh", so
// it tends to throw exceptions when we try to use just plain "zh".
if (s_uiLangId == "zh-CN")
{
Debug.Fail("hooray; it's tested!");
return s_uiLangId;
}
}
// Otherwise, we want the culture.neutral version.
int i = s_uiLangId.IndexOf('-');
Expand Down

0 comments on commit 8010576

Please sign in to comment.