better text for messages

This commit is contained in:
Egor.Ushakov
2016-11-08 18:04:15 +03:00
parent 211e8a7393
commit 65b392d5dc
3 changed files with 8 additions and 6 deletions
@@ -545,7 +545,7 @@ public class MethodBreakpoint extends BreakpointWithHighlighter<JavaMethodBreakp
start = System.currentTimeMillis();
}
progressIndicator.start();
progressIndicator.setText("Processing classes");
progressIndicator.setText(DebuggerBundle.message("label.method.breakpoints.processing.classes"));
try {
progressIndicator.setIndeterminate(true);
@@ -565,13 +565,13 @@ public class MethodBreakpoint extends BreakpointWithHighlighter<JavaMethodBreakp
progressIndicator.setText2(i + "/" + types.size());
progressIndicator.setFraction((double)i / types.size());
}
if (LOG.isDebugEnabled()) {
LOG.debug("Processed " + types.size() + " classes in " + String.valueOf(System.currentTimeMillis() - start) + "ms");
}
}
finally {
progressIndicator.stop();
}
if (LOG.isDebugEnabled()) {
LOG.debug("Processing all classes took: " + String.valueOf(System.currentTimeMillis() - start) + "ms");
}
}
}
@@ -47,7 +47,7 @@ public class MethodBreakpointPropertiesPanel extends XBreakpointCustomProperties
public JComponent getComponent() {
JPanel _panel, _panel0;
myEmulatedCheckBox = new JCheckBox("Emulated");
myEmulatedCheckBox = new JCheckBox(DebuggerBundle.message("label.method.breakpoint.properties.panel.emulated"));
myWatchEntryCheckBox = new JCheckBox(DebuggerBundle.message("label.method.breakpoint.properties.panel.method.entry"));
myWatchExitCheckBox = new JCheckBox(DebuggerBundle.message("label.method.breakpoint.properties.panel.method.exit"));
DialogUtil.registerMnemonic(myWatchEntryCheckBox);
@@ -390,8 +390,10 @@ error.invalid.breakpoint.bad.line.number=Line number is invalid
line.breakpoint.display.name=Line {0}
line.breakpoint.display.name.with.class.or.method=Line {0,number,#} in {1}
error.invalid.breakpoint.method.not.found=Method not found in class {0}
label.method.breakpoints.processing.classes=Processing classes for method breakpoints
label.method.breakpoint.properties.panel.method.entry=Method entr&y
label.method.breakpoint.properties.panel.method.exit=Method e&xit
label.method.breakpoint.properties.panel.emulated=Em&ulated
button.switch.view=S&witch View
button.list.view=List View
button.tree.view=Tree View