Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2003-02-03 15:43:04 +0000
committerMichael Valenta2003-02-03 15:43:04 +0000
commitd7000d0ab555c889dedc63e11d579171e6fcf5c0 (patch)
tree750dc2b42794c4a2a4a34323f65afaf776405ff2
parent8e6840762670f6486f469133305cc14ab8ad9125 (diff)
downloadeclipse.platform.team-d7000d0ab555c889dedc63e11d579171e6fcf5c0.tar.gz
eclipse.platform.team-d7000d0ab555c889dedc63e11d579171e6fcf5c0.tar.xz
eclipse.platform.team-d7000d0ab555c889dedc63e11d579171e6fcf5c0.zip
Externalized Strings
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/EditorsView.java2
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/TagetLocationSelectionDialog.java16
2 files changed, 9 insertions, 9 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/EditorsView.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/EditorsView.java
index f6a3c3742..3899f46c9 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/EditorsView.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/EditorsView.java
@@ -119,7 +119,7 @@ public class EditorsView extends ViewPart {
break;
}
// This method must not return null
- if (result == null) result = ""; //$NON-NLS-1
+ if (result == null) result = ""; //$NON-NLS-1$
return result;
}
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/TagetLocationSelectionDialog.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/TagetLocationSelectionDialog.java
index af5f9c686..bda489f08 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/TagetLocationSelectionDialog.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/TagetLocationSelectionDialog.java
@@ -119,7 +119,7 @@ public class TagetLocationSelectionDialog extends SelectionDialog {
// new project label
Label projectLabel = new Label(projectGroup,SWT.NONE);
- projectLabel.setText(Policy.bind("TargetLocationSelectionDialog.projectNameLabel"));
+ projectLabel.setText(Policy.bind("TargetLocationSelectionDialog.projectNameLabel")); //$NON-NLS-1$
// new project name entry field
projectNameField = new Text(projectGroup, SWT.BORDER);
@@ -181,7 +181,7 @@ public class TagetLocationSelectionDialog extends SelectionDialog {
}
if (location == null) {
targetLocation = null;
- locationPathField.setText("");
+ locationPathField.setText(""); //$NON-NLS-1$
} else {
if (isSingleCheckout()) {
targetLocation = location.toOSString();
@@ -241,9 +241,9 @@ public class TagetLocationSelectionDialog extends SelectionDialog {
// location label
locationLabel = new Label(projectGroup, SWT.NONE);
if (isSingleCheckout()) {
- locationLabel.setText(Policy.bind("TargetLocationSelectionDialog.locationLabel"));
+ locationLabel.setText(Policy.bind("TargetLocationSelectionDialog.locationLabel")); //$NON-NLS-1$
} else {
- locationLabel.setText(Policy.bind("TargetLocationSelectionDialog.parentDirectoryLabel"));
+ locationLabel.setText(Policy.bind("TargetLocationSelectionDialog.parentDirectoryLabel")); //$NON-NLS-1$
}
locationLabel.setEnabled(enabled);
@@ -256,7 +256,7 @@ public class TagetLocationSelectionDialog extends SelectionDialog {
// browse button
this.browseButton = new Button(projectGroup, SWT.PUSH);
- this.browseButton.setText(Policy.bind("TargetLocationSelectionDialog.browseLabel"));
+ this.browseButton.setText(Policy.bind("TargetLocationSelectionDialog.browseLabel")); //$NON-NLS-1$
this.browseButton.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent event) {
handleLocationBrowseButtonPressed();
@@ -279,9 +279,9 @@ public class TagetLocationSelectionDialog extends SelectionDialog {
private void handleLocationBrowseButtonPressed() {
DirectoryDialog dialog = new DirectoryDialog(locationPathField.getShell());
if (isSingleCheckout()) {
- dialog.setMessage(Policy.bind("TargetLocationSelectionDialog.messageForSingle", newProjectName));
+ dialog.setMessage(Policy.bind("TargetLocationSelectionDialog.messageForSingle", newProjectName)); //$NON-NLS-1$
} else {
- dialog.setMessage(Policy.bind("TargetLocationSelectionDialog.messageForMulti", new Integer(targetProjects.length).toString()));
+ dialog.setMessage(Policy.bind("TargetLocationSelectionDialog.messageForMulti", new Integer(targetProjects.length).toString())); //$NON-NLS-1$
}
String dirName = locationPathField.getText();
@@ -378,7 +378,7 @@ public class TagetLocationSelectionDialog extends SelectionDialog {
else{
IPath path = new Path("");//$NON-NLS-1$
if (!path.isValidPath(targetLocation)) {
- return Policy.bind("TagetLocationSelectionDialog.invalidLocation");
+ return Policy.bind("TagetLocationSelectionDialog.invalidLocation"); //$NON-NLS-1$
}
}

Back to the top