summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-01-26 14:59:24 (GMT)
committerJesper Thomschutz <jesper.thomschutz@nokia.com>2010-01-28 15:14:53 (GMT)
commit6bd4edc7d9ac205b67638bf8428ffa88e42dc01c (patch)
tree98491f767f74b36cc43aa499263216933ab746ce
parent2b40374427610d0ca1acb8503a5c5352889037df (diff)
downloadQt-6bd4edc7d9ac205b67638bf8428ffa88e42dc01c.zip
Qt-6bd4edc7d9ac205b67638bf8428ffa88e42dc01c.tar.gz
Qt-6bd4edc7d9ac205b67638bf8428ffa88e42dc01c.tar.bz2
fix bogus warning message
(cherry picked from commit d74f8fd8d7d378bbf23872ddc24ddfbfd948e295)
-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()) {