将XplorePlane项目中所有中文弹窗改为英文弹窗

This commit is contained in:
zhengxuan.zhang
2026-05-07 00:03:09 +08:00
parent 4a4e45e479
commit 2124d0c0b7
4 changed files with 21 additions and 21 deletions
@@ -148,7 +148,7 @@ namespace XplorePlane.Views
{
if (DataContext is not ViewportPanelViewModel vm || vm.ImageSource is not BitmapSource bitmap)
{
MessageBox.Show("当前没有可保存的图像", "提示", MessageBoxButton.OK, MessageBoxImage.Information);
MessageBox.Show("No image available to save", "Info", MessageBoxButton.OK, MessageBoxImage.Information);
return;
}
SaveBitmapToFile(bitmap, "保存原始图像");
@@ -159,7 +159,7 @@ namespace XplorePlane.Views
var target = FindChildByName<Canvas>(RoiCanvas, "mainCanvas");
if (target == null)
{
MessageBox.Show("当前没有可保存的图像", "提示", MessageBoxButton.OK, MessageBoxImage.Information);
MessageBox.Show("No image available to save", "Info", MessageBoxButton.OK, MessageBoxImage.Information);
return;
}
var width = (int)target.ActualWidth;