i18n_noop

Carl Schwan carl at carlschwan.eu
Tue Oct 15 09:23:05 BST 2024


See https://invent.kde.org/office/calligra/-/blob/master/libs/widgets/KoZoomMode.cpp?ref_type=heads#L11  on how I ported this code for Calligra :)

On Tue, Oct 15, 2024, at 9:46 AM, Halla Rempt wrote:
> Hi,
> 
> I'm porting Krita to KF6 now, and I'm running into an issue: i18n_noop no longer exists. Both in Calligra and Krita, we have
> 
> const char* KoZoomMode::modes[] =
> {
>     I18N_NOOP("%1%"),
>     I18N_NOOP("Fit Page Width"),
>     I18N_NOOP("Fit Page"),
>     0,
>     I18N_NOOP("Actual Pixels")
> };
> 
> in KoZoomMode.cpp -- but I18N_NOOP no longer exists. What should we use instead? Is there something that builds with both kf5 and kf6 or does it need ifdeffery?
> 
> Halla
> 
> 
> 


More information about the kde-devel mailing list