From baac6ef871b7a365b89ea8485ffd89f4226d6929 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 1 Nov 2022 07:07:51 -0400 Subject: [PATCH] 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. --- make-pot | 1 + 1 file changed, 1 insertion(+) 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" \