Support wxPLURAL( singular, plural, number )

This allows selecting the appropriate form for messages that use plural
forms that depend on the preceding number:

Old:

    _( "%d item(s)" )

New:

    wxPLURAL( "%d item", "%d items", num )
This commit is contained in:
Simon Richter 2017-12-21 19:23:55 +01:00
parent 63592ddf7a
commit e64c58e540
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ do
done
#Generate/update template pot file
xgettext -f $LOCALDIR/POTFILES -k_ -k_HKI --force-po --from-code utf-8 -o $LOCALDIR/kicad.pot
xgettext -f $LOCALDIR/POTFILES -k_ -k_HKI -kwxPLURAL:1,2 --force-po --from-code utf-8 -o $LOCALDIR/kicad.pot
rm $LOCALDIR/POTFILES