feat: temporary add both Chinese and English in demo message.
This commit is contained in:
@@ -12,7 +12,7 @@ public partial class MainWindow : UrsaWindow
|
|||||||
|
|
||||||
protected override async Task<bool> CanClose()
|
protected override async Task<bool> CanClose()
|
||||||
{
|
{
|
||||||
var result = await MessageBox.ShowOverlayAsync("Are you sure you want to exit?", "Exit", button: MessageBoxButton.YesNo);
|
var result = await MessageBox.ShowOverlayAsync("Are you sure you want to exit?\n您确定要退出吗?", "Exit", button: MessageBoxButton.YesNo);
|
||||||
return result == MessageBoxResult.Yes;
|
return result == MessageBoxResult.Yes;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user