[recipes] Stop extracting help strings
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Stop extracting help strings
- Date: Sat, 25 Mar 2017 00:00:29 +0000 (UTC)
commit 346f9f64105c4a5861ac8164ba3b99bf2b13850a
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Mar 24 23:59:32 2017 +0000
Stop extracting help strings
This was only fixed on the 1.0 branch so far.
https://bugzilla.gnome.org/show_bug.cgi?id=780266
make-pot | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/make-pot b/make-pot
index 916d029..2501ffd 100755
--- a/make-pot
+++ b/make-pot
@@ -44,9 +44,6 @@ $SED -e 's/^\(.*\)$/ N_("\1"),/' $top_srcdir/data/ingredients.list > $top_sr
$SED -e 's/^\(.*\)$/ N_("no \1"),/' $top_srcdir/data/ingredients.list >
$top_srcdir/src/no-ingredients.inc
$SED -e 's/^\(.*\)$/ N_("\1"),/' $top_srcdir/data/segments.list > $top_srcdir/src/segments.inc
-# extract strings from help files
-itstool --out help.pot help/C/*.page
-
$XGETTEXT --default-domain="$GETTEXT_PACKAGE" \
--directory="$top_srcdir" \
--add-comments \
@@ -72,7 +69,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 \
- --files-from="$srcdir/POTFILES.in" help.pot \
+ --files-from="$srcdir/POTFILES.in" \
&& test ! -f "$GETTEXT_PACKAGE.po" \
|| ( rm -f "$srcdir/$GETTEXT_PACKAGE.pot" \
&& mv "$GETTEXT_PACKAGE.po" "$srcdir/$GETTEXT_PACKAGE.pot" )
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]