Fixed an inverted logic condition that prevented the bug
authorDan Fandrich <dan@coneharvesters.com>
Wed, 14 Oct 2009 05:58:35 +0000 (22:58 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Wed, 14 Oct 2009 05:58:35 +0000 (22:58 -0700)
report address from appearing in the .pot file

ChangeLog
m4m/gp-gettext-hack.m4

index 0bf2f67..79adf5f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
 
        * po/sv.po: Updated Swedish translation by Daniel Nylander
        * po/vi.po: Updated Vietnamese translation by Clytie Siddall
+       * Fixed an inverted logic condition that prevented the bug
+         report address from appearing in the .pot file
 
 2009-10-09  Dan Fandrich <dan@coneharvesters.com>
 
index 439822b..0c6635a 100644 (file)
@@ -31,6 +31,8 @@ AC_SUBST([GETTEXT_PACKAGE])
 sed_cmds="s|^DOMAIN.*|DOMAIN = ${GETTEXT_PACKAGE}|"
 m4_if([$2],[],[],[sed_cmds="${sed_cmds};s|^COPYRIGHT_HOLDER.*|COPYRIGHT_HOLDER = $2|"])
 m4_ifval([$3],[
+sed_mb="$3"
+],[
 if test -n "$PACKAGE_BUGREPORT"; then
    sed_mb="${PACKAGE_BUGREPORT}"
 else
@@ -41,8 +43,6 @@ else
 ***
 ])
 fi
-],[
-sed_mb="$3"
 ])
 sed_cmds="${sed_cmds};s|^MSGID_BUGS_ADDRESS.*|MSGID_BUGS_ADDRESS = ${sed_mb}|"
 # Not so sure whether this hack is all *that* evil...