diff options
| author | Adrian Goerler | 2011-07-01 11:59:59 +0000 |
|---|---|---|
| committer | Adrian Goerler | 2011-07-01 11:59:59 +0000 |
| commit | 3c8a0b052aa47526ca8cd8c8332e1d08a49614b2 (patch) | |
| tree | bc6f8ea850aa0a4bc310a7ed6b0aabb99b449c09 | |
| parent | bb1dc5c2a21999c5d0190a4a907b64db0de09556 (diff) | |
| download | egit-3c8a0b052aa47526ca8cd8c8332e1d08a49614b2.tar.gz egit-3c8a0b052aa47526ca8cd8c8332e1d08a49614b2.tar.xz egit-3c8a0b052aa47526ca8cd8c8332e1d08a49614b2.zip | |
Clarify difference btw. remove and delete repository
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.java | 9 | ||||
| -rw-r--r-- | org.eclipse.egit.ui/plugin.properties | 4 |
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 011e77b195..432bfe4afe 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 6dc6c0111d..f3e40929c1 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 |
