Either intltool or xgettext does not recognise P_ for extraction, although using:
ngettext = gettext.ngettext
ngettext("Ubuntu One finished updating %(total)d ...
or directly using gettext.ngettext("Ubuntu One finished updating %(total)d ... both seem to work (i.e. strings are extracted and put into the template).
The problems seems to be here:
P_ = gettext.ngettext
Either intltool or xgettext does not recognise P_ for extraction, although using:
ngettext = gettext.ngettext
ngettext("Ubuntu One finished updating %(total)d ...
or directly using gettext. ngettext( "Ubuntu One finished updating %(total)d ... both seem to work (i.e. strings are extracted and put into the template).