Browse Source

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 )
6.0.7
Simon Richter 8 years ago
parent
commit
e64c58e540
  1. 2
      update-po-files.sh

2
update-po-files.sh

@ -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

Loading…
Cancel
Save