Merge branch 'IDEA-CR-10038'
[idea/community.git] / platform / platform-impl / src / com / intellij / ide / impl / ProjectUtil.java
index 4340318b9f69a33866fbd6302a8a92e61a4b30a9..3f383155be0884a57ab12d114ca303dd2b12af90 100644 (file)
@@ -44,7 +44,6 @@ import com.intellij.util.SystemProperties;
 import org.jdom.JDOMException;
 import org.jetbrains.annotations.NotNull;
 import org.jetbrains.annotations.Nullable;
-import org.jetbrains.annotations.PropertyKey;
 
 import javax.swing.*;
 import java.awt.*;
@@ -179,7 +178,9 @@ public class ProjectUtil {
     }
 
     if (isRemotePath(path) && !RecentProjectsManager.getInstance().hasPath(path)) {
-      if (!confirmLoadingFromRemotePath(path, "warning.load.project.from.share", "title.load.project.from.share")) {
+      String msg = IdeBundle.message("warning.load.project.from.share", path);
+      String title = IdeBundle.message("title.load.project.from.share");
+      if (!confirmLoadingFromRemotePath(msg, title)) {
         return null;
       }
     }