将XplorePlane项目中所有中文弹窗改为英文弹窗
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user