Commit 477565b7 authored by SherryChaos's avatar SherryChaos

ZH-TW prerelease

parent 906da97f
...@@ -34,6 +34,7 @@ Arron(日语翻译) ...@@ -34,6 +34,7 @@ Arron(日语翻译)
<link="https://space.bilibili.com/12262687"><#0080F8><u>月刊少年月波君 @bilibili</u></color></link>(动画投稿) <link="https://space.bilibili.com/12262687"><#0080F8><u>月刊少年月波君 @bilibili</u></color></link>(动画投稿)
<link="https://space.bilibili.com/15010196"><#0080F8><u>皮常山 @bilibili</u></color></link>(动画投稿) <link="https://space.bilibili.com/15010196"><#0080F8><u>皮常山 @bilibili</u></color></link>(动画投稿)
<link="https://space.bilibili.com/125812535"><#0080F8><u>砂糖缘子 @bilibili</u></color></link>(动画投稿) <link="https://space.bilibili.com/125812535"><#0080F8><u>砂糖缘子 @bilibili</u></color></link>(动画投稿)
<link="https://space.bilibili.com/44719093"><#0080F8><u>积木GimBlocks @bilibili</u></color></link>(动画投稿)
<link="https://space.bilibili.com/483116312"><#0080F8><u>拓王神 @bilibili</u></color></link>(技术支持) <link="https://space.bilibili.com/483116312"><#0080F8><u>拓王神 @bilibili</u></color></link>(技术支持)
<link="https://buymeacoffee.com/britishpiper"><#0080F8><u>British Piper</u></color></link>(技术支持) <link="https://buymeacoffee.com/britishpiper"><#0080F8><u>British Piper</u></color></link>(技术支持)
......
...@@ -787,27 +787,27 @@ namespace MDPro3 ...@@ -787,27 +787,27 @@ namespace MDPro3
return string.Empty; return string.Empty;
var language = isPre ? Language.GetPrerelease() : Language.GetCardConfig(); var language = isPre ? Language.GetPrerelease() : Language.GetCardConfig();
if (language == Language.Japanese) //if (language == Language.Japanese)
{ //{
description = description.Replace("\t\r\n", "\f\f\f"); description = description.Replace("\t\r\n", "\f\f\f");
description = description.Replace("\r\n●", "●●●"); description = description.Replace("\r\n●", "●●●");
description = description.Replace("\r", string.Empty); description = description.Replace("\r", string.Empty);
description = description.Replace("\n", string.Empty); description = description.Replace("\n", string.Empty);
description = description.Replace("\f\f\f", Program.STRING_LINE_BREAK); description = description.Replace("\f\f\f", Program.STRING_LINE_BREAK);
description = description.Replace("●●●", $"{Program.STRING_LINE_BREAK}●"); description = description.Replace("●●●", $"{Program.STRING_LINE_BREAK}●");
} //}
else //else
{ //{
description = description // description = description
.Replace("\r\n②", "②") // .Replace("\r\n②", "②")
.Replace("\r\n③", "③") // .Replace("\r\n③", "③")
.Replace("\r\n④", "④") // .Replace("\r\n④", "④")
.Replace("\r\n⑤", "⑤") // .Replace("\r\n⑤", "⑤")
.Replace("\r\n⑥", "⑥") // .Replace("\r\n⑥", "⑥")
.Replace("\r\n⑦", "⑦") // .Replace("\r\n⑦", "⑦")
.Replace("\r\n⑧", "⑧") // .Replace("\r\n⑧", "⑧")
.Replace("\r\n⑨", "⑨"); // .Replace("\r\n⑨", "⑨");
} //}
if (!Language.CardUseLatin(language)) if (!Language.CardUseLatin(language))
description = description.Replace(Program.STRING_SLASH, BIG_SLASH); description = description.Replace(Program.STRING_SLASH, BIG_SLASH);
......
...@@ -37,6 +37,8 @@ namespace MDPro3 ...@@ -37,6 +37,8 @@ namespace MDPro3
public string PrereleasePackVersionUrl_KR; public string PrereleasePackVersionUrl_KR;
public string PrereleasePackUrl_PT; public string PrereleasePackUrl_PT;
public string PrereleasePackVersionUrl_PT; public string PrereleasePackVersionUrl_PT;
public string PrereleasePackUrl_TW;
public string PrereleasePackVersionUrl_TW;
public string MDPro3VersionUrl; public string MDPro3VersionUrl;
public bool CardRenderPassword; public bool CardRenderPassword;
...@@ -122,6 +124,8 @@ namespace MDPro3 ...@@ -122,6 +124,8 @@ namespace MDPro3
PrereleasePackVersionUrl_KR = "https://github.com/ElderLich/TransSuperpre/raw/main/KR/version.txt"; PrereleasePackVersionUrl_KR = "https://github.com/ElderLich/TransSuperpre/raw/main/KR/version.txt";
PrereleasePackUrl_PT = "https://github.com/ElderLich/TransSuperpre/raw/main/PT/ygopro-super-pre.ypk"; PrereleasePackUrl_PT = "https://github.com/ElderLich/TransSuperpre/raw/main/PT/ygopro-super-pre.ypk";
PrereleasePackVersionUrl_PT = "https://github.com/ElderLich/TransSuperpre/raw/main/PT/version.txt"; PrereleasePackVersionUrl_PT = "https://github.com/ElderLich/TransSuperpre/raw/main/PT/version.txt";
PrereleasePackUrl_TW = "https://github.com/ElderLich/TransSuperpre/raw/main/ZH-TW/ygopro-super-pre.ypk";
PrereleasePackVersionUrl_TW = "https://github.com/ElderLich/TransSuperpre/raw/main/ZH-TW/version.txt";
MDPro3VersionUrl = "https://cdn02.moecube.com:444/mdpro3-data/Version.txt"; MDPro3VersionUrl = "https://cdn02.moecube.com:444/mdpro3-data/Version.txt";
CardRenderPassword = true; CardRenderPassword = true;
...@@ -183,6 +187,7 @@ namespace MDPro3 ...@@ -183,6 +187,7 @@ namespace MDPro3
Language.Japanese => Data.PrereleasePackUrl_JP, Language.Japanese => Data.PrereleasePackUrl_JP,
Language.Korean => Data.PrereleasePackUrl_KR, Language.Korean => Data.PrereleasePackUrl_KR,
Language.Portuguese => Data.PrereleasePackUrl_PT, Language.Portuguese => Data.PrereleasePackUrl_PT,
Language.TraditionalChinese => Data.PrereleasePackUrl_TW,
_ => Data.PrereleasePackUrl _ => Data.PrereleasePackUrl
}; };
} }
...@@ -199,6 +204,7 @@ namespace MDPro3 ...@@ -199,6 +204,7 @@ namespace MDPro3
Language.Japanese => Data.PrereleasePackVersionUrl_JP, Language.Japanese => Data.PrereleasePackVersionUrl_JP,
Language.Korean => Data.PrereleasePackVersionUrl_KR, Language.Korean => Data.PrereleasePackVersionUrl_KR,
Language.Portuguese => Data.PrereleasePackVersionUrl_PT, Language.Portuguese => Data.PrereleasePackVersionUrl_PT,
Language.TraditionalChinese => Data.PrereleasePackVersionUrl_TW,
_ => Data.PrereleasePackVersionUrl _ => Data.PrereleasePackVersionUrl
}; };
} }
......
...@@ -61,6 +61,8 @@ ...@@ -61,6 +61,8 @@
"PrereleasePackVersionUrl_KR": "https://github.com/ElderLich/TransSuperpre/raw/main/KR/version.txt", "PrereleasePackVersionUrl_KR": "https://github.com/ElderLich/TransSuperpre/raw/main/KR/version.txt",
"PrereleasePackUrl_PT": "https://github.com/ElderLich/TransSuperpre/raw/main/PT/ygopro-super-pre.ypk", "PrereleasePackUrl_PT": "https://github.com/ElderLich/TransSuperpre/raw/main/PT/ygopro-super-pre.ypk",
"PrereleasePackVersionUrl_PT": "https://github.com/ElderLich/TransSuperpre/raw/main/PT/version.txt", "PrereleasePackVersionUrl_PT": "https://github.com/ElderLich/TransSuperpre/raw/main/PT/version.txt",
"PrereleasePackUrl_TW": "https://github.com/ElderLich/TransSuperpre/raw/main/ZH-TW/ygopro-super-pre.ypk",
"PrereleasePackVersionUrl_TW": "https://github.com/ElderLich/TransSuperpre/raw/main/ZH-TW/version.txt",
"MDPro3VersionUrl": "https://cdn02.moecube.com:444/mdpro3-data/Version.txt", "MDPro3VersionUrl": "https://cdn02.moecube.com:444/mdpro3-data/Version.txt",
"CardRenderPassword": true, "CardRenderPassword": true,
"SavedCardSize": [ "SavedCardSize": [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment