better exception message

This commit is contained in:
HolographicHat
2022-09-25 13:31:30 +08:00
parent b88858d2dc
commit 37bfb93fa9
4 changed files with 33 additions and 8 deletions

9
res/App.Designer.cs generated
View File

@@ -113,6 +113,15 @@ namespace YaeAchievement.res {
}
}
/// <summary>
/// Looks up a localized string similar to Network error ({0}: {1}).
/// </summary>
internal static string ExceptionNetwork {
get {
return ResourceManager.GetString("ExceptionNetwork", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Export to:
///[0] Cocogoat (https://cocogoat.work/achievement, Default)

View File

@@ -134,4 +134,7 @@ Input a number (0-5): </value>
<data name="VcRuntimeInstalling" xml:space="preserve">
<value>Installing Visual C++ Redistributable...</value>
</data>
<data name="ExceptionNetwork" xml:space="preserve">
<value>Network error ({0}: {1})</value>
</data>
</root>

View File

@@ -128,4 +128,7 @@
<data name="VcRuntimeInstalling" xml:space="preserve">
<value>正在安装 Visual C++ Redistributable...</value>
</data>
<data name="ExceptionNetwork" xml:space="preserve">
<value>网络错误,请检查网络后重试 ({0}: {1})</value>
</data>
</root>