Em segunda-feira, 7 de março de 2016, às 20:16:48 PST, Jason H escreveu: > Please provide the tr line as even after re-reading I don't think it (is/are > selection) can be done, and please reference where the docs cover that > syntax. > > To put it in s more documentation example way: > Example: tr("%n message(s) saved", "", n) ) > What I want: tr("%n messages(s) [were|was] saved)", "", n) <- what do I need > to modify here to get was/were resolving correctly?
You've got the example. Why do you need more examples from us? You don't need to modify anything. > The page on http://doc.qt.io/qt-5/i18n-plural-rules.html does not seem to be > of help. It only tells me the rules Qt uses internally for determining > pluralization. I do not see how I can supply a plural and non-plural > string, or a string that works in both contexts and included is/are or > was/were, respectively. You supply it in your translation file, not in the source code. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest