Plural forms in the style KCM

Yuri Chornoivan yurchor at ukr.net
Wed Sep 2 06:51:23 BST 2026


Hi,

https://invent.kde.org/plasma/plasma-workspace/-/blob/master/kcms/style/
kcmstyle.cpp?ref_type=heads#L225:

            message = i18ncp("@info:status",
                             "Successfully uninstalled “%2” but could not 
uninstall others:\n",
                             "Successfully uninstalled %1 styles but could not 
uninstall others:\n",
                             uninstalled.size(),
                             uninstalled.first());

https://invent.kde.org/plasma/plasma-workspace/-/blob/master/kcms/style/
kcmstyle.cpp?ref_type=heads#L237:

i18ncp("@info:status", "Successfully uninstalled “%2”.", "Successfully 
uninstalled %1 styles.", uninstalled.size(), uninstalled.first()));

It seems that this will not work for the languages with more than 2 plural 
forms. Am I right?

Thanks in advance for your answers.

Best regards,
Yuri




More information about the kde-i18n-doc mailing list