mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-03 21:53:39 +02:00
Bug #187397: wording adjusted
This commit is contained in:
parent
da70896576
commit
b6281e282d
2 changed files with 12 additions and 5 deletions
|
@ -34,6 +34,8 @@ import org.eclipse.cdt.core.settings.model.ICSettingEntry;
|
||||||
public class ExpDialog extends AbstractPropertyDialog {
|
public class ExpDialog extends AbstractPropertyDialog {
|
||||||
|
|
||||||
protected static final String TO_ALL = UIMessages.getString("ExpDialog.5"); //$NON-NLS-1$
|
protected static final String TO_ALL = UIMessages.getString("ExpDialog.5"); //$NON-NLS-1$
|
||||||
|
protected static final String EMPTY_NAME = UIMessages.getString("ExpDialog.8"); //$NON-NLS-1$
|
||||||
|
protected static final String EMPTY_VALUE = UIMessages.getString("ExpDialog.10"); //$NON-NLS-1$
|
||||||
|
|
||||||
public String[] sel_types = null;
|
public String[] sel_types = null;
|
||||||
public String[] sel_langs = null;
|
public String[] sel_langs = null;
|
||||||
|
@ -225,8 +227,12 @@ public class ExpDialog extends AbstractPropertyDialog {
|
||||||
name = txt2.getText().trim();
|
name = txt2.getText().trim();
|
||||||
if (name.length() == 0) {
|
if (name.length() == 0) {
|
||||||
enabled = false;
|
enabled = false;
|
||||||
if (!anew)
|
if (!anew) {
|
||||||
message.setText(UIMessages.getString("ExpDialog.8")); //$NON-NLS-1$
|
if (kind == ICSettingEntry.MACRO)
|
||||||
|
message.setText(EMPTY_NAME);
|
||||||
|
else
|
||||||
|
message.setText(EMPTY_VALUE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (enabled && existing != null && existing.contains(name)) {
|
if (enabled && existing != null && existing.contains(name)) {
|
||||||
message.setText(UIMessages.getString("ExpDialog.9")); //$NON-NLS-1$
|
message.setText(UIMessages.getString("ExpDialog.9")); //$NON-NLS-1$
|
||||||
|
|
|
@ -471,12 +471,13 @@ ExpDialog.0=To all configurations
|
||||||
ExpDialog.1=Save to:
|
ExpDialog.1=Save to:
|
||||||
ExpDialog.2=Languages
|
ExpDialog.2=Languages
|
||||||
ExpDialog.3=Content types
|
ExpDialog.3=Content types
|
||||||
ExpDialog.4=Is workspace path
|
ExpDialog.4=Is a workspace path
|
||||||
ExpDialog.5=Apply to all
|
ExpDialog.5=Apply to all
|
||||||
ExpDialog.6=Name:
|
ExpDialog.6=Name:
|
||||||
ExpDialog.7=Value:
|
ExpDialog.7=Value:
|
||||||
ExpDialog.8=Name cannot be empty \!
|
ExpDialog.8=Name cannot be empty \!
|
||||||
ExpDialog.9=The same name already exists \!
|
ExpDialog.9=The same name already exists \!
|
||||||
|
ExpDialog.10=Value cannot be empty \!
|
||||||
ConfigMultiSelectionDialog.0=Select configurations
|
ConfigMultiSelectionDialog.0=Select configurations
|
||||||
ConfigMultiSelectionDialog.1=At least 2 configurations should be selected
|
ConfigMultiSelectionDialog.1=At least 2 configurations should be selected
|
||||||
SymbolDialog.0=Name:
|
SymbolDialog.0=Name:
|
||||||
|
|
Loading…
Add table
Reference in a new issue