i18n_noop

Halla Rempt halla at valdyas.org
Tue Oct 15 08:46:53 BST 2024


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