Skip to content

Commit

Permalink
Change user-visible error message to be from a bundle.
Browse files Browse the repository at this point in the history
  • Loading branch information
groboclown committed Jul 1, 2016
1 parent c9df6f3 commit 950a4df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions plugin/src/net/groboclown/idea/p4ic/P4Bundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -389,3 +389,4 @@ changelist.no-description=(no description)
user.prefs.concatenate-changelist=Concatenate changelist name and c&omment
user.prefs.concatenate-changelist.tooltip=When creating or editing a changelist, concatenate the title of the change and the comment to set the changelist description. Note that submitting the changelist will still show only the comment.
error.cache.sync.changelist=Perforce changelist {1} does not exist on server {0}
error.working-offline=User selected offline mode
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
*/
package net.groboclown.idea.p4ic.server.exceptions;

import net.groboclown.idea.p4ic.P4Bundle;

public class P4WorkingOfflineException extends P4DisconnectedException {
public P4WorkingOfflineException() {
super("User selected offline mode");
super(P4Bundle.message("error.working-offline"));
}


Expand Down

0 comments on commit 950a4df

Please sign in to comment.