diff options
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks')
3 files changed, 7 insertions, 6 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/Messages.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/Messages.java index 95c19289c..71a4e454b 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/Messages.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/Messages.java @@ -43,6 +43,8 @@ public class Messages extends NLS { public static String MoveToCategoryMenuContributor_Move_to; + public static String MoveToCategoryMenuContributor_Set_Category_Menu_Item; + public static String OpenRepositoryTaskJob_Could_not_find_repository_configuration_for_X; public static String OpenRepositoryTaskJob_Opening_Remote_Task; diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/MoveToCategoryMenuContributor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/MoveToCategoryMenuContributor.java index d7043ad9f..d10c298f2 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/MoveToCategoryMenuContributor.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/MoveToCategoryMenuContributor.java @@ -37,7 +37,7 @@ import org.eclipse.mylyn.tasks.ui.TasksUiImages; public class MoveToCategoryMenuContributor implements IDynamicSubMenuContributor { public MenuManager getSubMenuManager(final List<IRepositoryElement> selectedElements) { - final MenuManager subMenuManager = new MenuManager(Messages.MoveToCategoryMenuContributor_Move_to); + final MenuManager subMenuManager = new MenuManager(Messages.MoveToCategoryMenuContributor_Set_Category_Menu_Item); // Compute selected tasks List<AbstractTask> selectedTasks = new ArrayList<AbstractTask>(selectedElements.size()); @@ -86,11 +86,9 @@ public class MoveToCategoryMenuContributor implements IDynamicSubMenuContributor } /** - * public for testing - * - * Deals with text where user has entered a '@' or tab character but which are not meant to be accelerators. from: - * Action#setText: Note that if you want to insert a '@' character into the text (but no accelerator, you can simply - * insert a '@' or a tab at the end of the text. see Action#setText + * public for testing Deals with text where user has entered a '@' or tab character but which are not meant to be + * accelerators. from: Action#setText: Note that if you want to insert a '@' character into the text (but no + * accelerator, you can simply insert a '@' or a tab at the end of the text. see Action#setText */ public String handleAcceleratorKeys(String text) { if (text == null) { diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/messages.properties b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/messages.properties index 104ea35bc..297f19c4d 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/messages.properties +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/messages.properties @@ -24,6 +24,7 @@ DownloadAndOpenTaskAttachmentJob_editorTooltip=Attachment from {0}, {1} DownloadAndOpenTaskAttachmentJob_failedToDownloadAttachment=Failed to download attachment MoveToCategoryMenuContributor_Move_to=Move to +MoveToCategoryMenuContributor_Set_Category_Menu_Item=Set Category OpenRepositoryTaskJob_Could_not_find_repository_configuration_for_X=Could not find repository configuration for {0}. OpenRepositoryTaskJob_Opening_Remote_Task=Opening Remote Task |