Skip to content

Commit ca27148

Browse files
committed
fix the memory warning message
1 parent b77474d commit ca27148

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

SvgFileType/SvgFileType.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,12 @@ private DialogResult ShowMemoryWarningDialog(int layerCount)
123123
{
124124
var dialogResult = (DialogResult) dialog.Invoke((Func<DialogResult>) (() =>
125125
{
126-
string msg = $"This process will import {layerCount} layers.\r\n" +
127-
"Rendering many svg elements on a separate layer requires a lot of memory, especially if you're using a large canvas.\r\n" +
128-
"Please make sure you've enough available memory before continue.\r\n" +
126+
string msg = $"This plug-in will import {layerCount} layers from this svg file.\r\n" +
127+
"Importing many layers requires a lot of memory, especially if you're using a large canvas. " +
128+
"Insufficient memory may cause operating system instability. \r\n" +
129+
"Please make sure you've enough memory available before continue.\r\n" +
129130
"\r\n" +
130-
"Do you really want to continue?";
131+
"Do you want to continue?";
131132
return MessageBoxEx.Show(dialog, msg, "Warning",
132133
MessageBoxButtons.YesNo, MessageBoxIcon.Warning,
133134
MessageBoxDefaultButton.Button2);

0 commit comments

Comments
 (0)