Hi Neil, since we just talked about the ngettext(3) messages, I checked these in en_GB.po. There's an error in one of them, but the other two are correct. Here's the error:
#. Translators: %d is the number of prices. This #. is a ngettext(3) message. #: ../src/gnome/dialog-price-edit-db.c:167 #, c-format msgid "Are you sure you want to delete the %d selected price?" msgid_plural "Are you sure you want to delete the %d selected prices?" msgstr[0] "Are you sure you want to delete the selected price?" msgstr[1] "Are you sure you want to delete the %d selected prices?" - the msgstr[0] doesn't contain the printf format argument. That is not correct. All msgstr's *must* contain the same printf arguments, regardless of whether you would considers this unnecessary for your translation. The translation is still passed to printf() and the rest of the arguments are unchanged, so the format arguments must stay the same. You already have it correct in the other messages: #. Translators: %i is the number of conflicts. This is a #. ngettext(3) message. #: ../src/gnome/druid-merge.c:334 #, c-format msgid "%i conflict needs to be resolved." msgid_plural "%i conflicts need to be resolved." msgstr[0] "%i conflict needs to be resolved." msgstr[1] "%i conflicts needs to be resolved." Christian Am Dienstag, 7. März 2006 22:29 schrieb Neil Williams: > Author: codehelp > Date: 2006-03-07 16:29:33 -0500 (Tue, 07 Mar 2006) > New Revision: 13522 > Trac: http://svn.gnucash.org/trac/changeset/13522 > > Modified: > gnucash/trunk/po/en_GB.po > Log: > updated en_GB translation, 3724 translated > > _______________________________________________ > gnucash-patches mailing list > [EMAIL PROTECTED] > https://lists.gnucash.org/mailman/listinfo/gnucash-patches _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
