Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfbecker2011-03-06 08:22:10 +0000
committerfbecker2011-03-06 08:22:10 +0000
commitace953b18313e81afcab42311884473d0d10944c (patch)
tree650ae86b2f4dc86da23ff6a3aba9695e65e90e5d /org.eclipse.mylyn.bugzilla.core
parent500ecebf57b8a5d4dec98ac8f1fc516b7611b643 (diff)
downloadorg.eclipse.mylyn.tasks-ace953b18313e81afcab42311884473d0d10944c.tar.gz
org.eclipse.mylyn.tasks-ace953b18313e81afcab42311884473d0d10944c.tar.xz
org.eclipse.mylyn.tasks-ace953b18313e81afcab42311884473d0d10944c.zip
ASSIGNED - bug 339007: externalize strings for 3.5
https://bugs.eclipse.org/bugs/show_bug.cgi?id=339007
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.core')
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClientManager.java4
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/CustomTransitionManager.java2
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/Messages.java4
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/messages.properties2
4 files changed, 9 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClientManager.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClientManager.java
index 39f9ef804..2dadb20ed 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClientManager.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClientManager.java
@@ -105,13 +105,13 @@ public class BugzillaClientManager implements IRepositoryListener, IRepositoryCh
if (IBugzillaConstants.BUGZILLA_USE_XMLRPC.equals(key)
|| IBugzillaConstants.BUGZILLA_DESCRIPTOR_FILE.equals(key)) {
final TaskRepository repository = event.getRepository();
- TaskJob updateJob = new TaskJob("Refreshing repository configuration") {
+ TaskJob updateJob = new TaskJob(Messages.BugzillaClientManager_Refreshing_repository_configuration) {
private IStatus error;
@Override
protected IStatus run(IProgressMonitor monitor) {
monitor = SubMonitor.convert(monitor);
- monitor.beginTask("Receiving_configuration", IProgressMonitor.UNKNOWN);
+ monitor.beginTask(Messages.BugzillaClientManager_Receiving_configuration, IProgressMonitor.UNKNOWN);
try {
try {
connector.updateRepositoryConfiguration(repository, null, monitor);
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/CustomTransitionManager.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/CustomTransitionManager.java
index d4af3e7e8..ddd34110e 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/CustomTransitionManager.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/CustomTransitionManager.java
@@ -362,7 +362,7 @@ public class CustomTransitionManager implements Serializable {
setValid(true);
} catch (XmlRpcException e) {
setValid(false);
- String message = e.linkedException == null ? e.getMessage() : e.getMessage() + ">"
+ String message = e.linkedException == null ? e.getMessage() : e.getMessage() + ">" //$NON-NLS-1$
+ e.linkedException.getMessage();
throw new CoreException(new Status(IStatus.ERROR, BugzillaCorePlugin.ID_PLUGIN, 1,
"Error parsing xmlrpc response.\n\n" + message, e)); //$NON-NLS-1$
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/Messages.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/Messages.java
index 2444ed807..ef8bd9a3f 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/Messages.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/Messages.java
@@ -213,6 +213,10 @@ public class Messages extends NLS {
public static String BugzillaClient_Unable_to_retrieve_new_task;
+ public static String BugzillaClientManager_Receiving_configuration;
+
+ public static String BugzillaClientManager_Refreshing_repository_configuration;
+
public static String BugzillaOperation_Accept_to_ASSIGNED;
public static String BugzillaOperation_confirmed;
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/messages.properties b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/messages.properties
index 600dfc7ff..85da7929a 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/messages.properties
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/messages.properties
@@ -104,6 +104,8 @@ BugzillaClient_anonymous_user_not_allowed=Anonymous user not allowed for this op
BugzillaClient_could_not_post_form_null_returned=Could not post form, client returned null method.
BugzillaClient_description_required_when_submitting_attachments=A description is required when submitting attachments.
BugzillaClient_Unable_to_retrieve_new_task=Unable to retrieve new task.
+BugzillaClientManager_Receiving_configuration=Receiving configuration
+BugzillaClientManager_Refreshing_repository_configuration=Refreshing repository configuration
BugzillaOperation_Accept_to_ASSIGNED=Accept (change status to ASSIGNED)
BugzillaOperation_confirmed=confirm

Back to the top