Skip to content

Commit

Permalink
Fixed an inverted logic condition that prevented the bug
Browse files Browse the repository at this point in the history
report address from appearing in the .pot file
  • Loading branch information
dfandrich committed Oct 14, 2009
1 parent 7491139 commit 2200ad5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
Expand Up @@ -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>

Expand Down
4 changes: 2 additions & 2 deletions m4m/gp-gettext-hack.m4
Expand Up @@ -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
Expand All @@ -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...
Expand Down

0 comments on commit 2200ad5

Please sign in to comment.