Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2009-03-02 16:28:07 -0500
committermkersten2009-03-02 16:28:07 -0500
commit6e8c84f182ebda660a630a3c8dbd0939e206f125 (patch)
tree328e5b02975c544ade84278ff0e97f5ee8f6e1b5
parent236ae0df6993ecfa2eb66ad75426b168912efcc8 (diff)
downloadorg.eclipse.mylyn.tasks-6e8c84f182ebda660a630a3c8dbd0939e206f125.tar.gz
org.eclipse.mylyn.tasks-6e8c84f182ebda660a630a3c8dbd0939e206f125.tar.xz
org.eclipse.mylyn.tasks-6e8c84f182ebda660a630a3c8dbd0939e206f125.zip
NEW - bug 165359: fix UI nits
https://bugs.eclipse.org/bugs/show_bug.cgi?id=165359
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/sync/SynchronizeQueriesJob.java4
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/sync/messages.properties4
2 files changed, 5 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/sync/SynchronizeQueriesJob.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/sync/SynchronizeQueriesJob.java
index 38baaf427..60c9f6a2d 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/sync/SynchronizeQueriesJob.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/sync/SynchronizeQueriesJob.java
@@ -49,6 +49,7 @@ import org.eclipse.mylyn.tasks.core.data.TaskDataCollector;
import org.eclipse.mylyn.tasks.core.data.TaskRelation;
import org.eclipse.mylyn.tasks.core.sync.ISynchronizationSession;
import org.eclipse.mylyn.tasks.core.sync.SynchronizationJob;
+import org.eclipse.osgi.util.NLS;
/**
* @author Mik Kersten
@@ -266,7 +267,8 @@ public class SynchronizeQueriesJob extends SynchronizationJob {
private boolean preSynchronization(ISynchronizationSession event, IProgressMonitor monitor) {
try {
Policy.checkCanceled(monitor);
- monitor.subTask(Messages.SynchronizeQueriesJob_Querying_repository);
+ String repositoryLabel = event.getTaskRepository().getRepositoryLabel();
+ monitor.subTask(NLS.bind(Messages.SynchronizeQueriesJob_Querying_repository, repositoryLabel));
if (!isUser()) {
monitor = Policy.backgroundMonitorFor(monitor);
}
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/sync/messages.properties b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/sync/messages.properties
index 490766015..f565d2956 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/sync/messages.properties
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/sync/messages.properties
@@ -10,8 +10,8 @@ SynchronizeQueriesJob_Max_allowed_number_of_hits_returned_exceeded=Max allowed n
SynchronizeQueriesJob_Processing=Processing
SynchronizeQueriesJob_Querying_repository=Querying repository
SynchronizeQueriesJob_Receiving_related_tasks=Receiving related tasks
-SynchronizeQueriesJob_Synchronizing_Queries=Synchronizing Queries
-SynchronizeQueriesJob_Synchronizing_query_X=Synchronizing query {0}
+SynchronizeQueriesJob_Synchronizing_Queries=Synchronizing queries: {0}
+SynchronizeQueriesJob_Synchronizing_query_X=Synchronizing query: {0}
SynchronizeQueriesJob_Updating_repository_state=Updating repository state
SynchronizeRepositoriesJob_Processing=Processing

Back to the top