[Interest] Translating plural with is/are
Jason H
jhihn at gmx.com
Mon Mar 7 19:56:04 CET 2016
>
> If you provide a translation file, the message with %n will be translated
> according to the language's plural rules. For English, you'll have two
> translations for the same source message.
>
> "At least one upper case character is required" (a)
> "At least %n upper case characters are required" (b)
>
> QTranslator takes care to apply the correct selection based on the number that
> you passed.
Ok I'm getting there, but how do I specify this string (a) or that string (b)?
What's the qsTr() line look like?
qsTr( ? )
More information about the Interest
mailing list