Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Kinzler2010-05-28 11:14:44 +0000
committerMathias Kinzler2010-05-28 11:14:44 +0000
commit8dcf9d3a2bd2d43f0b2a12cbf72d3f16c42b797a (patch)
tree4d7b47339ba34a40f27d50bd580cf5d6364c2006
parent3fe5ae1c5ae3168f553303ad02aa25d1f60c6064 (diff)
downloadegit-8dcf9d3a2bd2d43f0b2a12cbf72d3f16c42b797a.tar.gz
egit-8dcf9d3a2bd2d43f0b2a12cbf72d3f16c42b797a.tar.xz
egit-8dcf9d3a2bd2d43f0b2a12cbf72d3f16c42b797a.zip
RepositorySearchDialog: String Externalization
Signed-off-by: Mathias Kinzler <mathias.kinzler@sap.com>
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/UIText.java3
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositorySearchDialog.java3
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/uitext.properties1
3 files changed, 6 insertions, 1 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/UIText.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/UIText.java
index 8c5c3324bb..6cb32614d1 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/UIText.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/UIText.java
@@ -316,6 +316,9 @@ public class UIText extends NLS {
public static String RepositorySearchDialog_SelectAll_button;
/** */
+ public static String RepositorySearchDialog_SomeDirectoriesHiddenMessage;
+
+ /** */
public static String CompareWithIndexAction_FileNotInIndex;
/** */
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositorySearchDialog.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositorySearchDialog.java
index 693dd5f4b3..7820d32628 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositorySearchDialog.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositorySearchDialog.java
@@ -472,7 +472,8 @@ public class RepositorySearchDialog extends TitleAreaDialog {
if (foundOld > 0) {
String message = NLS
.bind(
- "{0} directories are hidden as they have alredy been added", Integer.valueOf(foundOld)); //$NON-NLS-1$
+ UIText.RepositorySearchDialog_SomeDirectoriesHiddenMessage,
+ Integer.valueOf(foundOld));
setMessage(message, IMessageProvider.WARNING);
} else
setMessage(null);
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/uitext.properties b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/uitext.properties
index 83246baaeb..e999ce7093 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/uitext.properties
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/uitext.properties
@@ -119,6 +119,7 @@ RepositorySearchDialog_DeepSearch_button=Look for nested repositories
RepositorySearchDialog_RepositoriesFound_message={0} Git repositories found...
RepositorySearchDialog_ScanningForRepositories_message=Scanning for GIT repositories...
RepositorySearchDialog_SelectAll_button=Select All
+RepositorySearchDialog_SomeDirectoriesHiddenMessage={0} directories are hidden as they have alredy been added
RepositorySearchDialog_DeselectAll_button=Deselect All
RepositorySearchDialog_browse=Browse...
RepositorySearchDialog_directory=Directory:

Back to the top