Diffusion KI18n 34a22e5ee5d4

Fix KCatalog::translate when translation is same as original text

Authored by aacid on Jul 30 2018, 11:26 PM.

Description

Fix KCatalog::translate when translation is same as original text

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

Reviewers: ilic

Reviewed By: ilic

Subscribers: ilic, kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D14473

Details

Committed
aacidJul 30 2018, 11:26 PM
Reviewer
ilic
Differential Revision
D14473: Fix KCatalog::translate when translation is same as original text
Parents
R249:296ee789c773: a file has been renamed
Branches
Unknown
Tags
Unknown