From 187ee8842b22fe71feb8677551029f660d0775b9 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Mon, 19 Sep 2011 20:26:25 +0200 Subject: "empty translation" does not mean "no translation" this makes QCoreApplication::translate() consistent with QTranslator::translate(), and is semantically cleaner. users wishing to shrink their QM files can do that properly by using lrelease -removeidentical. Change-Id: I2b367314cfb985c3d130c7c6347e2742311f497a Reviewed-on: http://codereview.qt-project.org/5165 Reviewed-by: Qt Sanity Bot Reviewed-by: hjk --- dist/changes-5.0.0 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dist') diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0 index 4b05a86d71..ca63359b54 100644 --- a/dist/changes-5.0.0 +++ b/dist/changes-5.0.0 @@ -28,6 +28,9 @@ information about a particular change. preprocessor #define has also been removed. The build-key is obsolete and is no longer necessary. +- QCoreApplication::translate() will no longer return the source text when + the translation is empty. Use lrelease -removeidentical for optimization. + **************************************************************************** * General * **************************************************************************** -- cgit v1.2.3