Add zh2 trade localization

ye it's different from the zh strings, resulting in different nick/OT

ty @Lusamine !

add another gyarados location while we're here
This commit is contained in:
Kurt
2020-03-21 10:48:26 -07:00
parent 5402c5d108
commit f4952faa6f
4 changed files with 28 additions and 4 deletions

View File

@@ -165,7 +165,7 @@ private static void CopyBerryTreeFromBridgeFieldToStony(IReadOnlyList<EncounterA
new EncounterStatic8S{ Species = 091, Level = 46, Locations = new[] {128, 130}, }, // Cloyster at East/West Lake Axewell (in a Wild Area)
new EncounterStatic8S{ Species = 131, Level = 56, Locations = new[] {128, 130, 134, 138, 154 }, }, // Lapras at North/East/South/West Lake Miloch/Axwell, the Lake of Outrage (in a Wild Area)
new EncounterStatic8S{ Species = 119, Level = 46, Locations = new[] {128, 130, 134, 138, 142, 154 }, }, // Seaking in Bridge Field, at North/East/South/West Lake Miloch/Axwell, at the Lake of Outrage (in a Wild Area)
new EncounterStatic8S{ Species = 130, Level = 56, Locations = new[] {128, 146}, }, // Gyarados in East Lake Axewell, Dusty Bowl (in a Wild Area)
new EncounterStatic8S{ Species = 130, Level = 56, Locations = new[] {128, 142, 146}, }, // Gyarados in East Lake Axewell, in Bridge Field, Dusty Bowl (in a Wild Area)
new EncounterStatic8S{ Species = 279, Level = 46, Locations = new[] {128, 142}, }, // Pelipper in East Lake Axewell, Bridge Field (in a Wild Area)
new EncounterStatic8 { Species = 853, Level = 56, Location = 130, }, // Grapploct at West Lake Axewell (in a Wild Area)
new EncounterStatic8S{ Species = 593, Level = 46, Locations = new[] {128, 130, 134, 138, 142, 154 }, }, // Jellicent at North/East/South/West Lake Miloch/Axwell, the Lake of Outrage, Bridge Field (in a Wild Area)
@@ -346,7 +346,7 @@ private static void CopyBerryTreeFromBridgeFieldToStony(IReadOnlyList<EncounterA
};
private const string tradeSWSH = "tradeswsh";
private static readonly string[][] TradeSWSH = Util.GetLanguageStrings10(tradeSWSH);
private static readonly string[][] TradeSWSH = Util.GetLanguageStrings10(tradeSWSH, "zh2");
private static readonly int[] TradeIVs = {15, 15, 15, 15, 15, 15};
internal static readonly EncounterTrade8[] TradeGift_SWSH =

View File

@@ -816,6 +816,7 @@
<None Remove="Resources\text\zh\text_tradeao_zh.txt" />
<None Remove="Resources\text\zh\text_tradesm_zh.txt" />
<None Remove="Resources\text\zh\text_tradeswsh_zh.txt" />
<None Remove="Resources\text\zh\text_tradeswsh_zh2.txt" />
<None Remove="Resources\text\zh\text_tradeusum_zh.txt" />
<None Remove="Resources\text\zh\text_tradexy_zh.txt" />
<None Remove="Resources\text\zh\text_TrainingBag_zh.txt" />
@@ -1628,6 +1629,7 @@
<EmbeddedResource Include="Resources\text\zh\text_tradeao_zh.txt" />
<EmbeddedResource Include="Resources\text\zh\text_tradesm_zh.txt" />
<EmbeddedResource Include="Resources\text\zh\text_tradeswsh_zh.txt" />
<EmbeddedResource Include="Resources\text\zh\text_tradeswsh_zh2.txt" />
<EmbeddedResource Include="Resources\text\zh\text_tradeusum_zh.txt" />
<EmbeddedResource Include="Resources\text\zh\text_tradexy_zh.txt" />
<EmbeddedResource Include="Resources\text\zh\text_TrainingBag_zh.txt" />

View File

@@ -0,0 +1,22 @@
金小判
嘟嘟臉
棉花糖
背心
瀏海
大眼兒
賈面
紅投鬼
藍擊鬼
巴里桑
直線
喬班尼
初美
麥克企
寶兒
羅密歐
羅密歐
伊芙
白雪
白雪
田邊
卡浦爾

View File

@@ -106,7 +106,7 @@ public static string[][] GetLanguageStrings8(string fileName)
};
}
public static string[][] GetLanguageStrings10(string fileName)
public static string[][] GetLanguageStrings10(string fileName, string zh2 = "zh")
{
return new[]
{
@@ -120,7 +120,7 @@ public static string[][] GetLanguageStrings10(string fileName)
GetStringList(fileName, "es"), // 7
GetStringList(fileName, "ko"), // 8
GetStringList(fileName, "zh"), // 9
GetStringList(fileName, "zh"), // 10
GetStringList(fileName, zh2), // 10
};
}