Skip to content

Commit 5d0110e

Browse files
author
jantje
committed
removed another warning that crept in
1 parent 75e3dda commit 5d0110e

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

it.baeyens.arduino.core/src/it/baeyens/arduino/ui/Messages.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ public class Messages extends NLS {
9898

9999
public static String json_update;
100100

101+
public static String SampleSelector_num_selected;
102+
101103
static {
102104
// initialize resource bundle
103105
NLS.initializeMessages(BUNDLE_NAME, Messages.class);

it.baeyens.arduino.core/src/it/baeyens/arduino/ui/SampleSelector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public void handleEvent(Event event) {
8181

8282
});
8383
Label label1 = new Label(composite, SWT.NONE);
84-
label1.setText("Number of selected examples");
84+
label1.setText(Messages.SampleSelector_num_selected);
8585
this.numSelectedLabel = new Label(composite, SWT.NONE);
8686
this.numSelectedLabel.setText(Integer.toString(this.numSelected));
8787
theGriddata = new GridData(SWT.LEFT, SWT.TOP, true, false);

it.baeyens.arduino.core/src/it/baeyens/arduino/ui/messages.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ json_browser_fail=Failed to start browser.
1010
json_find=Where do I find json URL's?
1111
json_maintain=Maintain your json files
1212
json_update=Update local json files
13+
SampleSelector_num_selected=Number of selected examples
1314
1415
ui_build_config=\ build configuration.
1516
ui_debug_binaries=For creating binaries ready to be debugged with AVaRICE (e.g. using Dragon AVR).

0 commit comments

Comments
 (0)