Re: ki18n_wrap_ui and libraries

2014-04-29 Thread Martin Graesslin
On Tuesday 29 April 2014 21:27:29 Chusslove Illich wrote: > > [: Martin Gräßlin :] > > If my understanding is correct one needs to define TRANSLATION_DOMAIN > > before including KLocalizedString for library code. But the CMake macro > > ki18n_wrap_ui does not allow to define the TRANSLATION_DOMAIN.

Re: ki18n_wrap_ui and libraries

2014-04-29 Thread Chusslove Illich
> [: Martin Gräßlin :] > If my understanding is correct one needs to define TRANSLATION_DOMAIN > before including KLocalizedString for library code. But the CMake macro > ki18n_wrap_ui does not allow to define the TRANSLATION_DOMAIN. > > Is there something I have overseen or is that indeed missing

ki18n_wrap_ui and libraries

2014-04-28 Thread Martin Gräßlin
Hi all, I just tried to fix i18n for KWin/5 and stumbled over a problem with ui files and libraries. If my understanding is correct one needs to define TRANSLATION_DOMAIN before including KLocalizedString for library code. But the CMake macro ki18n_wrap_ui does not allow to define the TRANSLAT