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)

This commit is contained in:
Kirill Likhodedov
2011-10-10 17:36:34 +04:00
parent 72d1284347
commit 68bfedc95a
2 changed files with 3 additions and 3 deletions
@@ -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
@@ -191,7 +191,7 @@ public class CommitChangeListDialog extends DialogWrapper implements CheckinProj
public static boolean commitChanges(final Project project, final Collection<Change> changes, final LocalChangeList initialSelection,
final List<CommitExecutor> 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;
}