mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
更新反馈功能和描述
This commit is contained in:
parent
a9d3541af0
commit
575fec115e
@ -48,7 +48,10 @@ namespace VPet_Simulator.Windows
|
|||||||
private void UnhandledException(Exception e, bool isFatality)
|
private void UnhandledException(Exception e, bool isFatality)
|
||||||
{
|
{
|
||||||
var expt = e.ToString();
|
var expt = e.ToString();
|
||||||
if (expt.ToLower().Contains("value") && expt.ToLower().Contains("nan"))
|
if (expt.Contains("MainWindow.Close"))
|
||||||
|
return;
|
||||||
|
else if ((expt.ToLower().Contains("value") && expt.ToLower().Contains("nan")) ||
|
||||||
|
expt.Contains("System.OverflowException") || expt.Contains("System.DivideByZeroException"))
|
||||||
{
|
{
|
||||||
MessageBox.Show("由于修改游戏数据导致数据溢出,存档可能会出错\n开发者提醒您请不要使用过于超模的MOD".Translate());
|
MessageBox.Show("由于修改游戏数据导致数据溢出,存档可能会出错\n开发者提醒您请不要使用过于超模的MOD".Translate());
|
||||||
return;
|
return;
|
||||||
|
@ -41,6 +41,8 @@
|
|||||||
<TextBox x:Name="tContact" pu:TextBoxHelper.Watermark="{ll:Str '提供联系方式以获得反馈,可不填\ eg:QQ430081239'}"
|
<TextBox x:Name="tContact" pu:TextBoxHelper.Watermark="{ll:Str '提供联系方式以获得反馈,可不填\ eg:QQ430081239'}"
|
||||||
AcceptsReturn="True" MaxHeight="44" />
|
AcceptsReturn="True" MaxHeight="44" />
|
||||||
</pu:FormGroup>
|
</pu:FormGroup>
|
||||||
|
<Label
|
||||||
|
Content="{ll:Str '如果比较重要或需要反馈,请联系:\ B站: 虚拟桌宠模拟器 \ 邮箱: service@exlb.net \ Github: https://github.com/LorisYounger/VPet'}" Background="{x:Null}" />
|
||||||
<Button x:Name="btn_Report" Content="{ll:Str '提交'}" Margin="10,10,0,10" FontSize="16"
|
<Button x:Name="btn_Report" Content="{ll:Str '提交'}" Margin="10,10,0,10" FontSize="16"
|
||||||
Background="{DynamicResource DARKPrimary}" BorderThickness="1" pu:ButtonHelper.CornerRadius="5"
|
Background="{DynamicResource DARKPrimary}" BorderThickness="1" pu:ButtonHelper.CornerRadius="5"
|
||||||
BorderBrush="{DynamicResource DARKPrimaryDarker}" Foreground="{DynamicResource DARKPrimaryText}"
|
BorderBrush="{DynamicResource DARKPrimaryDarker}" Foreground="{DynamicResource DARKPrimaryText}"
|
||||||
|
@ -51,7 +51,7 @@ namespace VPet_Simulator.Windows
|
|||||||
{
|
{
|
||||||
if (tDescription.Text == "" && tType.SelectedIndex != 0)
|
if (tDescription.Text == "" && tType.SelectedIndex != 0)
|
||||||
{
|
{
|
||||||
MessageBoxX.Show("请填写问题描述".Translate(), "问题详细描述是反馈具体问题\n例如如何触发这个报错,游戏有什么地方不合理等".Translate());
|
MessageBoxX.Show("问题详细描述是反馈具体问题\n例如如何触发这个报错,游戏有什么地方不合理等".Translate(), "请填写问题描述".Translate());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!mw.IsSteamUser)
|
if (!mw.IsSteamUser)
|
||||||
|
@ -53,4 +53,5 @@ theme#Theme:|
|
|||||||
好友{0}已退出访客表#Friend {0} has exited the Guest List:|
|
好友{0}已退出访客表#Friend {0} has exited the Guest List:|
|
||||||
好友{0}已加入访客表#Friend {0} has joined the Guest List:|
|
好友{0}已加入访客表#Friend {0} has joined the Guest List:|
|
||||||
您以前遭遇过数据溢出, 已根据游戏时长自动添加进当前数值#You have encountered data overflow before, and the current value has been automatically added according to the game duration:|
|
您以前遭遇过数据溢出, 已根据游戏时长自动添加进当前数值#You have encountered data overflow before, and the current value has been automatically added according to the game duration:|
|
||||||
数据溢出恢复#Data overflow recovery:|
|
数据溢出恢复#Data overflow recovery:|
|
||||||
|
如果比较重要或需要反馈,请联系:\rB站: 虚拟桌宠模拟器 \r邮箱: service@exlb.net \rGithub: https://github.com/LorisYounger/VPet#If it is important or needs feedback, please contact:\rMail: service@exlb.net\rGithub: https://github.com/LorisYounger/VPet:|
|
@ -53,4 +53,5 @@ theme#主题:|
|
|||||||
好友{0}已退出访客表#好友{0}已退出访客表:|
|
好友{0}已退出访客表#好友{0}已退出访客表:|
|
||||||
好友{0}已加入访客表#好友{0}已加入访客表:|
|
好友{0}已加入访客表#好友{0}已加入访客表:|
|
||||||
您以前遭遇过数据溢出, 已根据游戏时长自动添加进当前数值#您以前遭遇过数据溢出, 已根据游戏时长自动添加进当前数值:|
|
您以前遭遇过数据溢出, 已根据游戏时长自动添加进当前数值#您以前遭遇过数据溢出, 已根据游戏时长自动添加进当前数值:|
|
||||||
数据溢出恢复#数据溢出恢复:|
|
数据溢出恢复#数据溢出恢复:|
|
||||||
|
如果比较重要或需要反馈,请联系:\rB站: 虚拟桌宠模拟器 \r邮箱: service@exlb.net \rGithub: https://github.com/LorisYounger/VPet#如果比较重要或需要反馈,请联系:\rB站: 虚拟桌宠模拟器 \r邮箱: service@exlb.net \rGithub: https://github.com/LorisYounger/VPet:|
|
@ -53,4 +53,5 @@ theme#主題:|
|
|||||||
好友{0}已退出访客表#好友{0}已退出訪客表:|
|
好友{0}已退出访客表#好友{0}已退出訪客表:|
|
||||||
好友{0}已加入访客表#好友{0}已加入訪客表:|
|
好友{0}已加入访客表#好友{0}已加入訪客表:|
|
||||||
您以前遭遇过数据溢出, 已根据游戏时长自动添加进当前数值#您以前遭遇過數據溢出, 已根據遊戲時長自動添加進目前數值:|
|
您以前遭遇过数据溢出, 已根据游戏时长自动添加进当前数值#您以前遭遇過數據溢出, 已根據遊戲時長自動添加進目前數值:|
|
||||||
数据溢出恢复#數據溢出恢復:|
|
数据溢出恢复#數據溢出恢復:|
|
||||||
|
如果比较重要或需要反馈,请联系:\rB站: 虚拟桌宠模拟器 \r邮箱: service@exlb.net \rGithub: https://github.com/LorisYounger/VPet#如果比較重要或需要反饋,請聯繫:\rB站: 虛擬桌寵模擬器 \r郵箱: service@exlb.net \rGithub: https://github.com/LorisYounger/VPet:|
|
Loading…
Reference in New Issue
Block a user