ahmadsamir added a comment.
About the unit test, I couldn't think of a way to test it, unless I use a snippet to check the regex (like you did in D26332 <https://phabricator.kde.org/D26332>), which doesn't seem to fit in a unit test for KLocalizedString... REPOSITORY R249 KI18n REVISION DETAIL https://phabricator.kde.org/D26366 To: ahmadsamir, #frameworks, ilic, dfaure, mlaurent, aacid Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns