From: Matthias Clasen Date: Tue, 1 Nov 2022 11:07:51 +0000 (-0400) Subject: Add new printf patterns to make-pot X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~9^2~115^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=baac6ef871b7a365b89ea8485ffd89f4226d6929;p=gtk4.git Add new printf patterns to make-pot This script is used to extract our strings for translators on damn lines, and passing these flags to xgettext makes it put a hint into the pot file about strings that are used as printf format strings. --- diff --git a/make-pot b/make-pot index b860a349cb..2c8cd5f2e7 100755 --- a/make-pot +++ b/make-pot @@ -60,6 +60,7 @@ $XGETTEXT --default-domain="$GETTEXT_PACKAGE" \ --flag=gtk_message_dialog_format_secondary_text:2:c-format \ --flag=gtk_message_dialog_new:5:c-format \ --flag=gtk_message_dialog_new_with_markup:5:c-format \ + --flag=gtk_alert_dialog_new:1:c-format \ --files-from="$srcdir/POTFILES.in" \ && test ! -f "$GETTEXT_PACKAGE.po" \ || ( rm -f "$srcdir/$GETTEXT_PACKAGE.pot" \