D25405: Fix Step infobrowser and examples localization
Luigi Toscano
noreply at phabricator.kde.org
Sun Nov 24 19:30:34 GMT 2019
ltoscano added a comment.
It's rare because people don't use it.
QString KLocalizedString::localizedFilePath ( const QString & filePath )
static
Find a path to the localized file for the given original path.
It means you don't need to iterate at all: you just say "give me the localized file path", one line instead of the cycle on lines 156-168.
But as it was said, the structure of the translated files needs to be changed (objinfo/<lang> -> objinfo/l10n/<lang>), which means that the cmake file should be adapted to follow that structure.
REPOSITORY
R341 Step
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D25405
To: yurchor, #kde_edu, #localization, cordlandwehr
Cc: ltoscano, pino, aacid, cordlandwehr, kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20191124/a1b94d87/attachment.html>
More information about the kde-edu
mailing list