[pacman-dev] HELP! - plurals in translation files

Allan McRae allan at archlinux.org
Fri Mar 15 07:56:13 EDT 2013


On 15/03/13 21:27, Allan McRae wrote:
> It looks like "make update-po" is not adding the plural translations to
> the po files.  e.g. Looking at the removed strings that are stored at
> the bottom of theses files I see:
> 
> src/pacman/po/en_GB.po:
> 
> #~ msgid "%s: %jd total file, "
> #~ msgid_plural "%s: %jd total files, "
> #~ msgstr[0] "%s: %jd total file, "
> #~ msgstr[1] "%s: %jd total files, "
> 
> #~ msgid "%jd missing file\n"
> #~ msgid_plural "%jd missing files\n"
> #~ msgstr[0] "%jd missing file\n"
> #~ msgstr[1] "%jd missing files\n"
> 
> 
> Those strings are still needed (all the rest are genuinely removed).
> Does anyone have any idea why these are not being added to the
> translation files?
> 


Well...  poop...  I have figured this out.  Better now I suppose.

The POTFILES.in files were not updated, so a few files are not flagged
for translation.

Sigh - fixing.

Allan


More information about the pacman-dev mailing list