Review Request 117296: ecm_create_qm_from_po_files: do not replace "-" with "_" in .po files

Alex Merry alex.merry at kde.org
Tue Apr 1 13:18:44 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/117296/#review54776
-----------------------------------------------------------

Ship it!


Ship It!

- Alex Merry


On April 1, 2014, 1:16 p.m., Aurélien Gâteau wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/117296/
> -----------------------------------------------------------
> 
> (Updated April 1, 2014, 1:16 p.m.)
> 
> 
> Review request for Build System, Extra Cmake Modules and KDE Frameworks.
> 
> 
> Repository: extra-cmake-modules
> 
> 
> Description
> -------
> 
> Replacing '-' with "_" causes problem with .po files whose name contains "-". A nice side effect of this approach is we pass a QLocale to QTranslator, which means it will try to load translations for all "ui languages" [1] instead of just the one returned by QLocale::name().
> 
> [1]: http://doc-snapshot.qt-project.org/qt5-stable/qlocale.html#uiLanguages
> 
> 
> Diffs
> -----
> 
>   modules/ECMCreateQmFromPoFiles.cmake b383311 
>   modules/ECMQmLoader.cpp.in 92c0d07 
> 
> Diff: https://git.reviewboard.kde.org/r/117296/diff/
> 
> 
> Testing
> -------
> 
> Tested with kbookmarkdialogtest: translations are loaded as expected.
> 
> 
> Thanks,
> 
> Aurélien Gâteau
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20140401/db014173/attachment.html>


More information about the Kde-buildsystem mailing list