Skip to content

Commit 6c80694

Browse files
committed
fix: added Project name label to the Messages
1 parent 2b682e0 commit 6c80694

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

bundles/com.espressif.idf.terminal.connector/src/com/espressif/idf/terminal/connector/controls/IDFConsoleWizardConfigurationPanel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ private void createProjectCombo(Composite parent) {
9292
panel.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
9393

9494
Label projectLabel = new Label(panel, SWT.NONE);
95-
projectLabel.setText("Project name:");
95+
projectLabel.setText(Messages.IDFConsoleWizardConfigurationPanel_IDFConsoleWizardConfigurationPanel_ProjectLabel);
9696

9797
projectCombo = new Combo(panel, SWT.READ_ONLY);
9898
projectCombo.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package com.espressif.idf.terminal.connector.controls;
2+
3+
import org.eclipse.osgi.util.NLS;
4+
5+
public class Messages extends NLS {
6+
private static final String BUNDLE_NAME = Messages.class.getPackageName() + ".messages"; //$NON-NLS-1$
7+
public static String IDFConsoleWizardConfigurationPanel_IDFConsoleWizardConfigurationPanel_ProjectLabel;
8+
static {
9+
// initialize resource bundle
10+
NLS.initializeMessages(BUNDLE_NAME, Messages.class);
11+
}
12+
13+
private Messages() {
14+
}
15+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
IDFConsoleWizardConfigurationPanel_IDFConsoleWizardConfigurationPanel_ProjectLabel=Project name:

0 commit comments

Comments
 (0)