Follow-up Comment #9, bug #23274 (project freeciv):

> I can't reproduce.
> I have TRANS: comments. 
Hadn't run configure since the patch, hence my problem.

> The translations/freeciv/Makefile has "--add-comment=TRANS:",
> as set by configure command "fc_default-4".
> sed-magic to do that last touched in patch #5401 (same patch
> where the Makefile.in.in string changed)

I don't like the hacky sed-magic, so I tried adding --add-comments="TRANS:" to
XGETTEXT_OPTIONS [1] at translations/freeciv/Makevars:10. It worked (with sed
disabled), so I think no magic is needed (at least with gettext >= 0.19.4).
As an alternative, one can use AM_XGETTEXT_OPTION in configure.ac [2].

[1] https://www.gnu.org/software/gettext/manual/gettext.html#po_002fMakevars
[2]
https://www.gnu.org/software/gettext/manual/gettext.html#AM_005fXGETTEXT_005fOPTION

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?23274>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to