From 68bfedc95adb0818630f77a15bf5d1adcd52fb88 Mon Sep 17 00:00:00 2001 From: Kirill Likhodedov Date: Mon, 10 Oct 2011 17:13:22 +0400 Subject: [PATCH] IDEA-75329 "No changes detected dialog" warning -> info; other text for title (not to have the same text written twice in the Mac sheet dialog) --- .../platform-resources-en/src/messages/VcsBundle.properties | 4 ++-- .../openapi/vcs/changes/ui/CommitChangeListDialog.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/platform-resources-en/src/messages/VcsBundle.properties b/platform/platform-resources-en/src/messages/VcsBundle.properties index ff511755e356..2cd4949211d5 100644 --- a/platform/platform-resources-en/src/messages/VcsBundle.properties +++ b/platform/platform-resources-en/src/messages/VcsBundle.properties @@ -268,8 +268,8 @@ changes.changelist.chooser.new.changelist=Ne&w Changelist changes.changelist.chooser.title=Choose Changelist changes.newchangelist.warning.already.exists.text=Changelist ''{0}'' already exists. changes.newchangelist.warning.already.exists.title=Wrong Changelist Name -commit.dialog.no.changes.detected.text=No changes detected. -commit.dialog.no.changes.detected.title=No Changes Detected +commit.dialog.no.changes.detected.text=No changes detected +commit.dialog.no.changes.detected.title=Nothing to commit commit.dialog.title=Commit Changes commit.dialog.default.commit.operation.name=Comm_it commit.dialog.include.action.name=Include into commit diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/CommitChangeListDialog.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/CommitChangeListDialog.java index 93200f2450ec..a4dacd797830 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/CommitChangeListDialog.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/CommitChangeListDialog.java @@ -191,7 +191,7 @@ public class CommitChangeListDialog extends DialogWrapper implements CheckinProj public static boolean commitChanges(final Project project, final Collection changes, final LocalChangeList initialSelection, final List executors, final boolean showVcsCommit, final String comment) { if (changes.isEmpty()) { - Messages.showWarningDialog(project, VcsBundle.message("commit.dialog.no.changes.detected.text") , + Messages.showInfoMessage(project, VcsBundle.message("commit.dialog.no.changes.detected.text") , VcsBundle.message("commit.dialog.no.changes.detected.title")); return false; }