Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/businessprocess/problems/ProblemFactory.java11
-rw-r--r--org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/i18n/messages.properties2
2 files changed, 8 insertions, 5 deletions
diff --git a/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/businessprocess/problems/ProblemFactory.java b/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/businessprocess/problems/ProblemFactory.java
index dd1cf54c2..fc5f81e05 100644
--- a/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/businessprocess/problems/ProblemFactory.java
+++ b/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/businessprocess/problems/ProblemFactory.java
@@ -65,12 +65,15 @@ public final class ProblemFactory {
*/
public static IProblem createIncompleteObjectMappingProblem(
IAUTMainPO aut) {
+ String autName = aut.getName();
return new Problem(NLS.bind(
Messages.ProblemIncompleteObjectMappingMarkerText,
- aut.getName()), new Status(IStatus.ERROR, Activator.PLUGIN_ID,
- Messages.ProblemIncompleteObjectMappingTooltip),
- aut.getName(),
- ProblemType.REASON_OM_INCOMPLETE);
+ autName), new Status(IStatus.ERROR, Activator.PLUGIN_ID,
+ NLS.bind(
+ Messages.
+ ProblemIncompleteObjectMappingTooltip,
+ autName)), autName,
+ ProblemType.REASON_OM_INCOMPLETE);
}
/**
diff --git a/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/i18n/messages.properties b/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/i18n/messages.properties
index 7e3db493a..fd087b13f 100644
--- a/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/i18n/messages.properties
+++ b/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/i18n/messages.properties
@@ -292,7 +292,7 @@ PluginConnectProgress=Please wait while connecting to Database...
PMExceptionWhileWritingUsedToolkitsInDB=PMException while writing UsedToolkits into DB\! Exception
PrematureEndOfInput=Premature end of input
ProblemIncompleteObjectMappingMarkerText=Incomplete Object Mapping for AUT "{0}".
-ProblemIncompleteObjectMappingTooltip=Object Mapping for this node is incomplete.
+ProblemIncompleteObjectMappingTooltip=Object Mapping in AUT "{0}" for this node is incomplete.
ProblemIncompleteTestDataMarkerText=Incomplete "{0}" Test Data for node "{1}".
ProblemIncompleteTestDataTooltip=Test Data for this node is incomplete.
ProblemInstallingDBScheme=There is a problem with installing the db scheme

Back to the top