From e64c58e54099ce530bb909e46764235add64c41c Mon Sep 17 00:00:00 2001 From: Simon Richter Date: Thu, 21 Dec 2017 19:23:55 +0100 Subject: [PATCH] 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 ) --- update-po-files.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-po-files.sh b/update-po-files.sh index 8a5074c12b..f7ee059864 100755 --- a/update-po-files.sh +++ b/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