Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Keppler2017-07-09 13:50:17 -0400
committerMichael Keppler2017-07-09 13:50:17 -0400
commit5b861662af95a9af4fada46992cead2186793c31 (patch)
treeb25f2a514b3dc03c122557d1e7af4583ae0877ee
parentaa5d7a8ec1b68d2be7b7a7fa47b04759d05b3d39 (diff)
downloadegit-github-5b861662af95a9af4fada46992cead2186793c31.tar.gz
egit-github-5b861662af95a9af4fada46992cead2186793c31.tar.xz
egit-github-5b861662af95a9af4fada46992cead2186793c31.zip
Have non empty title for all wizards
The GitHub related wizards did not set a window title, which at least on Windows looks not so nice. The usage of the Messages class had to be fully qualified in one wizard, because it already used another unrelated Messages class for creating a login form. Change-Id: I5e21dd33d57407555d0abf8cc4f95cf5831b6069 Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
-rw-r--r--org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/Messages.java3
-rwxr-xr-xorg.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/RepositoryImportWizard.java1
-rw-r--r--org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/TaskRepositoryImportWizard.java3
-rw-r--r--org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/messages.properties5
4 files changed, 9 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/Messages.java b/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/Messages.java
index 6cf86027..24ee89d7 100644
--- a/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/Messages.java
+++ b/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/Messages.java
@@ -118,6 +118,9 @@ public class Messages extends NLS {
/** */
public static String RepositorySelectionWizardPage_TooltipUncheckAll;
+ /** */
+ public static String TaskRepositoryImportWizard_Title;
+
static {
// initialize resource bundle
NLS.initializeMessages(BUNDLE_NAME, Messages.class);
diff --git a/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/RepositoryImportWizard.java b/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/RepositoryImportWizard.java
index 9290b636..af6f4e20 100755
--- a/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/RepositoryImportWizard.java
+++ b/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/RepositoryImportWizard.java
@@ -57,6 +57,7 @@ public class RepositoryImportWizard extends Wizard implements IImportWizard {
setNeedsProgressMonitor(true);
setDefaultPageImageDescriptor(WorkbenchImages
.getImageDescriptor(IWorkbenchGraphicConstants.IMG_WIZBAN_IMPORT_WIZ));
+ setWindowTitle(Messages.RepositorySearchWizardPage_Title);
}
/**
diff --git a/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/TaskRepositoryImportWizard.java b/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/TaskRepositoryImportWizard.java
index 6028f2d6..3bdff129 100644
--- a/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/TaskRepositoryImportWizard.java
+++ b/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/TaskRepositoryImportWizard.java
@@ -32,7 +32,7 @@ import org.eclipse.ui.internal.WorkbenchImages;
/**
* Import repositories wizard class.
- *
+ *
* @author Kevin Sawicki (kevin@github.com)
*/
public class TaskRepositoryImportWizard extends Wizard implements IImportWizard {
@@ -48,6 +48,7 @@ public class TaskRepositoryImportWizard extends Wizard implements IImportWizard
setNeedsProgressMonitor(true);
setDefaultPageImageDescriptor(WorkbenchImages
.getImageDescriptor(IWorkbenchGraphicConstants.IMG_WIZBAN_IMPORT_WIZ));
+ setWindowTitle(org.eclipse.mylyn.internal.github.ui.Messages.TaskRepositoryImportWizard_Title);
}
/**
diff --git a/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/messages.properties b/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/messages.properties
index c66f3167..2bf5fdcb 100644
--- a/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/messages.properties
+++ b/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/messages.properties
@@ -13,8 +13,8 @@ RepositorySearchWizardPage_Found=Found {0} repositories
RepositorySearchWizardPage_Error=Error searching repositories: {0}
RepositorySearchWizardPage_AnyLanguage=Any Language
RepositorySearchWizardPage_Description=Search for repositories to clone
-RepositorySearchWizardPage_Fork=\ (1 fork,
-RepositorySearchWizardPage_Forks=\ ({0} forks,
+RepositorySearchWizardPage_Fork=\ (1 fork,
+RepositorySearchWizardPage_Forks=\ ({0} forks,
RepositorySearchWizardPage_SearchButton=&Search
RepositorySearchWizardPage_SearchForRepositories=Search for repositories written in
RepositorySearchWizardPage_Searching=Searching for ''{0}''
@@ -31,3 +31,4 @@ RepositorySelectionWizardPage_TaskFetchingRepositories=Getting your repositories
RepositorySelectionWizardPage_Title=Select Repositories
RepositorySelectionWizardPage_TooltipCheckAll=Check all
RepositorySelectionWizardPage_TooltipUncheckAll=Uncheck all
+TaskRepositoryImportWizard_Title=Import GitHub Task Repositories \ No newline at end of file

Back to the top