From 7fb982e711f8b12afa585d19851b1bb0b7b081a4 Mon Sep 17 00:00:00 2001 From: Niels Weber Date: Tue, 12 Feb 2013 11:12:50 +0100 Subject: Unify some error strings. Change-Id: I3ce7d3f84c9654e5c457b9e5f6131ac931e8ba2f Reviewed-by: Karsten Heimrich --- src/libs/installer/createshortcutoperation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libs/installer/createshortcutoperation.cpp') diff --git a/src/libs/installer/createshortcutoperation.cpp b/src/libs/installer/createshortcutoperation.cpp index 6733773df..62f7cfa82 100644 --- a/src/libs/installer/createshortcutoperation.cpp +++ b/src/libs/installer/createshortcutoperation.cpp @@ -181,8 +181,8 @@ bool CreateShortcutOperation::performOperation() if (args.count() != 2 && args.count() != 3) { setError(InvalidArguments); - setErrorString(QObject::tr("Invalid arguments: %1 arguments given, 2 or 3 expected (optional: " - "\"workingDirectory=...\").").arg(args.count())); + setErrorString(tr("Invalid arguments in %0: %1 arguments given, %2 expected%3.") + .arg(name()).arg(arguments().count()).arg(tr("2 or 3"), tr(" (optional: 'workingDirectory=...')"))); return false; } -- cgit v1.2.3