aacid created this revision. Restricted Application added a project: Frameworks. Restricted Application added a subscriber: kde-frameworks-devel. aacid requested review of this revision.
REVISION SUMMARY We need to be compare the pointer passed to gettext with the one we get back. If it is the same it means no translation was found, if it is different then it means the translation was found. TEST PLAN Test now succeeds, without patch it fails REPOSITORY R249 KI18n BRANCH master REVISION DETAIL https://phabricator.kde.org/D14473 AFFECTED FILES autotests/klocalizedstringtest.cpp autotests/klocalizedstringtest.h autotests/po/ca/ki18n-test.po src/kcatalog.cpp To: aacid Cc: kde-frameworks-devel, michaelh, ngraham, bruns