summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-01-26 14:59:24 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-01-27 15:12:31 (GMT)
commitd74f8fd8d7d378bbf23872ddc24ddfbfd948e295 (patch)
treeb3728092f2e3952c2ccd9c151dcb8cb5e08ae59b
parent7a2f867546ed8c40b77b533c0cd21d4f3d2e9cd5 (diff)
downloadQt-d74f8fd8d7d378bbf23872ddc24ddfbfd948e295.zip
Qt-d74f8fd8d7d378bbf23872ddc24ddfbfd948e295.tar.gz
Qt-d74f8fd8d7d378bbf23872ddc24ddfbfd948e295.tar.bz2
fix bogus warning message
-rw-r--r--tools/linguist/lrelease/main.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/linguist/lrelease/main.cpp b/tools/linguist/lrelease/main.cpp
index 7834b06..c418bcc 100644
--- a/tools/linguist/lrelease/main.cpp
+++ b/tools/linguist/lrelease/main.cpp
@@ -260,10 +260,7 @@ int main(int argc, char **argv)
return 1;
}
} else {
- qWarning("error: lrelease encountered project file functionality that is currently not supported.\n"
- "You might want to consider using TS files as input instead of a project file.\n"
- "Try the following syntax:\n"
- " lrelease [options] ts-files [-qm qm-file]\n");
+ qWarning("lrelease error: cannot read project file %s.", qPrintable(inputFile));
}
} else {
if (outputFile.isEmpty()) {