Skip to content

Commit 78b4451

Browse files
committed
Use full string id in PluginCore, as the call may come outside of PluginCore.
1 parent cf5bd2a commit 78b4451

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PluginCore/PluginCore/Helpers/FileHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,14 +241,14 @@ public static Boolean ConfirmOverwrite(String path)
241241
if (Directory.Exists(path))
242242
{
243243
String title = " " + TextHelper.GetString("FlashDevelop.Title.ConfirmDialog");
244-
String message = TextHelper.GetString("Info.FolderAlreadyContainsFolder");
244+
String message = TextHelper.GetString("PluginCore.Info.FolderAlreadyContainsFolder");
245245
DialogResult result = MessageBox.Show(PluginBase.MainForm, String.Format(message, name, "\n"), title, MessageBoxButtons.YesNoCancel, MessageBoxIcon.Warning);
246246
return result == DialogResult.Yes;
247247
}
248248
else if (File.Exists(path))
249249
{
250250
String title = " " + TextHelper.GetString("FlashDevelop.Title.ConfirmDialog");
251-
String message = TextHelper.GetString("Info.FolderAlreadyContainsFile");
251+
String message = TextHelper.GetString("PluginCore.Info.FolderAlreadyContainsFile");
252252
DialogResult result = MessageBox.Show(PluginBase.MainForm, String.Format(message, name, "\n"), title, MessageBoxButtons.YesNoCancel, MessageBoxIcon.Warning);
253253
return result == DialogResult.Yes;
254254
}

0 commit comments

Comments
 (0)