Skip to content

Commit

Permalink
Locale updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
Egris committed May 16, 2012
1 parent d029ea4 commit 5bef9ae
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 7 deletions.
19 changes: 17 additions & 2 deletions src/Mooege/Core/MooNet/Authentication/VersionChecker.cs
Expand Up @@ -72,21 +72,36 @@ public static bool Check(MooNetClient client, bnet.protocol.authentication.Logon
case "esES":
client.Locale = MooNetClient.ClientLocale.esES;
break;
case "esMX":
client.Locale = MooNetClient.ClientLocale.esMX;
break;
case "frFR":
client.Locale = MooNetClient.ClientLocale.frFR;
break;
case "itIT":
client.Locale = MooNetClient.ClientLocale.itIT;
break;
case "krKR":
client.Locale = MooNetClient.ClientLocale.krKR;
case "koKR":
client.Locale = MooNetClient.ClientLocale.koKR;
break;
case "plPL":
client.Locale = MooNetClient.ClientLocale.plPL;
break;
case "ptPT":
client.Locale = MooNetClient.ClientLocale.ptPT;
break;
case "ptBR":
client.Locale = MooNetClient.ClientLocale.ptBR;
break;
case "ruRU":
client.Locale = MooNetClient.ClientLocale.ruRU;
break;
case "trTR":
client.Locale = MooNetClient.ClientLocale.trTR;
break;
case "zhCN":
client.Locale = MooNetClient.ClientLocale.zhCN;
break;
case "zhTW":
client.Locale = MooNetClient.ClientLocale.zhTW;
break;
Expand Down
30 changes: 25 additions & 5 deletions src/Mooege/Net/MooNet/MooNetClient.cs
Expand Up @@ -493,22 +493,26 @@ public enum ClientLocale
/// </summary>
deDE,
/// <summary>
/// EU.
/// English (EU)
/// </summary>
enGB,
/// <summary>
/// Singapure.
/// English (Singapore)
/// </summary>
enSG,
/// <summary>
/// US
/// English (US)
/// </summary>
enUS,
/// <summary>
/// Espanol
/// </summary>
esES,
/// <summary>
/// Espanol (Mexico)
/// </summary>
esMX,
/// <summary>
/// French
/// </summary>
frFR,
Expand All @@ -519,17 +523,33 @@ public enum ClientLocale
/// <summary>
/// Korean
/// </summary>
krKR,
koKR,
/// <summary>
/// Polish
/// </summary>
plPL,
/// <summary>
/// Portuguese
/// </summary>
ptPT,
/// <summary>
/// Portuguese (Brazil)
/// </summary>
ptBR,
/// <summary>
/// Taiwan
/// Russian
/// </summary>
ruRU,
/// <summary>
/// Turkish
/// </summary>
trTR,
/// <summary>
/// Chinese
/// </summary>
zhCN,
/// <summary>
/// Chinese (Taiwan)
/// </summary>
zhTW
}
Expand Down

0 comments on commit 5bef9ae

Please sign in to comment.