IDEA-67338 Made git executable test button result message a bit better looking.
authorKirill Likhodedov <kirill.likhodedov@jetbrains.com>
Fri, 1 Apr 2011 08:41:01 +0000 (12:41 +0400)
committerKirill Likhodedov <kirill.likhodedov@jetbrains.com>
Fri, 1 Apr 2011 08:41:55 +0000 (12:41 +0400)
plugins/git4idea/src/git4idea/config/GitVcsPanel.java
plugins/git4idea/src/git4idea/i18n/GitBundle.properties

index 9d28db3cb4dc1b3c8aa9faebf29d532fb69b5301..e85599fb2787b2e3da25627b042ac3411308fae5 100644 (file)
@@ -92,7 +92,10 @@ public class GitVcsPanel {
     }
 
     if (version.isSupported()) {
-      Messages.showInfoMessage(myProject, version.toString(), GitBundle.getString("find.git.success.title"));
+      Messages.showInfoMessage(myProject,
+                               String.format("<html>%s<br>Git version is %s</html>", GitBundle.getString("find.git.success.title"),
+                                             version.toString()),
+                               GitBundle.getString("find.git.success.title"));
     } else {
       Messages.showWarningDialog(myProject, GitBundle.message("find.git.unsupported.message", version.toString(), GitVersion.MIN),
                                  GitBundle.getString("find.git.success.title"));
index b0bc210bd5c7f12e0738378bdaa69e5d2db7be96..575c2eceb333a8b9e9d0449c10e9c708f9ffd32b 100644 (file)
@@ -117,7 +117,7 @@ fetching.tags.title=Updating tags from {0}
 fetching.title=Fetching from {0}
 find.git.description=Select path to git executable
 find.git.error.title=Error Running git
-find.git.success.title=Git Executed Successfully
+find.git.success.title=Git executed successfully
 find.git.title=Git Configuration
 find.git.unsupported.message=<html><tt>{0}</tt><br>This version is unsupported, and some plugin functionality could fail to work.<br>The minimal supported version is <em>{1}</em>.</html>
 fix.roots.button=Accept