> [: Albert Astals Cid :] > I'm not sure which UI you use there but maybe using a > KIntSpinBox+setSuffix works?
In some languages also the first part of that sentence (the label in front
of the spinbox) needs to change according to the number. I have seen this
case handled before by updating both labels with i18ncp() on value change
signal. Something like:
void slotUpdateFooLabels (int value)
{
fooLabel1->setText(i18ncp("Part of 'Show last <N> messages' UI construct",
"Show last", "Show last", value));
fooLabel2->setText(i18ncp("Part of 'Show last <N> messages' UI construct",
"message", "messages", value));
}
Also comment="KDE::DoNotExtract" should be set to strings in the .ui file,
so that these never-used messages are not extracted for translation.
--
Chusslove Illich (Часлав Илић)
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ KDE-Telepathy mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-telepathy
