Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2002:
[Freeciv-Dev] Re: PATCH: make gettext shut up about character constant
Home

[Freeciv-Dev] Re: PATCH: make gettext shut up about character constant

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Erik Sigra <sigra@xxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: PATCH: make gettext shut up about character constant
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 30 Jan 2002 17:45:14 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Wed, Jan 30, 2002 at 05:23:18PM +0100, Erik Sigra wrote:
> Egbert Hinzen requested a fix for this:
> 
> /usr/local/bin/xgettext --default-domain=freeciv --directory=.. \
>   --add-comments="TRANS:" --escape --keyword=_ --keyword=N_ --keyword=Q_
> --keyword=PL_ \
>   --language=C --files-from=./POTFILES.in \
> && test ! -f freeciv.po \
>    || ( rm -f ./freeciv.pot \
>         && mv freeciv.po ./freeciv.pot )
> data/nation/swedish.ruleset:60: Warnung: Zeichenkonstante nicht korrekt
> beendet
> data/nation/swedish.ruleset:61: Warnung: Zeichenkonstante nicht korrekt
> beendet
> data/nation/swedish.ruleset:72: Warnung: Zeichenkonstante nicht korrekt
> beendet
> data/nation/swedish.ruleset:73: Warnung: Zeichenkonstante nicht korrekt
> beendet
> 
> I made a patch for him. He tested it and wanted it to also be applied to cvs.

What about enclosing it in /* ... */? Like in data/default/buildings.ruleset?

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "How about the new language C&? No, that's not 'c ampersand', 'c reference', 
  'reference to c' or 'c and'. It's pronounced 'campersand', to confuse the 
  hell out of people who are unfamiliar with it, and it will, of course, 
  have no pointers."
    -- Xazziri in comp.lang.c++ about C#


[Prev in Thread] Current Thread [Next in Thread]