mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
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:
@@ -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
|
||||
|
||||
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user