summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorAdrian Goerler2011-07-01 07:59:59 (EDT)
committer Adrian Goerler2011-07-01 07:59:59 (EDT)
commit3c8a0b052aa47526ca8cd8c8332e1d08a49614b2 (patch)
treebc6f8ea850aa0a4bc310a7ed6b0aabb99b449c09
parentbb1dc5c2a21999c5d0190a4a907b64db0de09556 (diff)
downloadegit-3c8a0b052aa47526ca8cd8c8332e1d08a49614b2.zip
egit-3c8a0b052aa47526ca8cd8c8332e1d08a49614b2.tar.gz
egit-3c8a0b052aa47526ca8cd8c8332e1d08a49614b2.tar.bz2
Clarify difference btw. remove and delete repositoryrefs/changes/05/3805/4
Bug: 347073 Change-Id: Ic9ccd5c9f827a84c6a434c6a07bf5fbdeede7f46 Signed-off-by: Adrian Goerler <adrian.goerler@sap.com>
-rw-r--r--org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewRepoHandlingTest.java9
-rw-r--r--org.eclipse.egit.ui/plugin.properties4
2 files changed, 7 insertions, 6 deletions
diff --git a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewRepoHandlingTest.java b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewRepoHandlingTest.java
index 011e77b..432bfe4 100644
--- a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewRepoHandlingTest.java
+++ b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewRepoHandlingTest.java
@@ -48,6 +48,7 @@ import org.junit.runner.RunWith;
public class GitRepositoriesViewRepoHandlingTest extends
GitRepositoriesViewTestBase {
+ private static final String REMOVE_REPOSITORY_CONTEXT_MENU_LABEL = "RepoViewRemove.label";
private static File repositoryFile;
@BeforeClass
@@ -131,7 +132,7 @@ public class GitRepositoriesViewRepoHandlingTest extends
SWTBotTree tree = getOrOpenView().bot().tree();
tree.getAllItems()[0].select();
ContextMenuHelper.clickContextMenu(tree, myUtil
- .getPluginLocalizedValue("RemoveRepositoryCommand"));
+ .getPluginLocalizedValue(REMOVE_REPOSITORY_CONTEXT_MENU_LABEL));
refreshAndWait();
assertEmpty();
}
@@ -150,7 +151,7 @@ public class GitRepositoriesViewRepoHandlingTest extends
SWTBotTree tree = getOrOpenView().bot().tree();
tree.getAllItems()[0].select();
ContextMenuHelper.clickContextMenu(tree, myUtil
- .getPluginLocalizedValue("RemoveRepositoryCommand"));
+ .getPluginLocalizedValue(REMOVE_REPOSITORY_CONTEXT_MENU_LABEL));
SWTBotShell shell = bot
.shell(UIText.RepositoriesView_ConfirmProjectDeletion_WindowTitle);
shell.activate();
@@ -175,7 +176,7 @@ public class GitRepositoriesViewRepoHandlingTest extends
SWTBotTree tree = getOrOpenView().bot().tree();
tree.getAllItems()[0].select();
ContextMenuHelper.clickContextMenu(tree, myUtil
- .getPluginLocalizedValue("RemoveRepositoryCommand"));
+ .getPluginLocalizedValue(REMOVE_REPOSITORY_CONTEXT_MENU_LABEL));
SWTBotShell shell = bot
.shell(UIText.RepositoriesView_ConfirmProjectDeletion_WindowTitle);
shell.activate();
@@ -199,7 +200,7 @@ public class GitRepositoriesViewRepoHandlingTest extends
SWTBotTree tree = getOrOpenView().bot().tree();
tree.getAllItems()[0].select();
ContextMenuHelper.clickContextMenu(tree, myUtil
- .getPluginLocalizedValue("RemoveRepositoryCommand"));
+ .getPluginLocalizedValue(REMOVE_REPOSITORY_CONTEXT_MENU_LABEL));
SWTBotShell shell = bot
.shell(UIText.RepositoriesView_ConfirmProjectDeletion_WindowTitle);
shell.activate();
diff --git a/org.eclipse.egit.ui/plugin.properties b/org.eclipse.egit.ui/plugin.properties
index 6dc6c01..f3e4092 100644
--- a/org.eclipse.egit.ui/plugin.properties
+++ b/org.eclipse.egit.ui/plugin.properties
@@ -176,7 +176,7 @@ RepoViewFetchSimple.label = &Fetch
RepoViewPushSimpleLabel = &Push
RepoViewChangeCredentialsLabel = Change Credentials...
RepoViewClearCredentialsLabel = Clear Credentials
-RepoViewRemove.label = &Remove Repository
+RepoViewRemove.label = &Remove Repository from View
RepoViewCreateBranch.label = Create &Branch...
RepoViewCreateTag.label = Create &Tag...
RepoViewMerge.label = &Merge...
@@ -282,7 +282,7 @@ ConfigurePushToUpstreamCommand.label = Configure P&ush to Upstream...
CommitMessageProviderExtension-point.name = CommitMessageProvider
FetchFromGerritCommand.name = Fetch From Gerrit
-FetchFromGerritCommand.label = Fetch From &Gerrit...
+FetchFromGerritCommand.label = Fetch from &Gerrit...
RepositoriesViewContext.name= In Git Repositories View