This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Making platform specific help translatable.
Philipp Thomas <pthomas@suse.de> writes:
|> * Martin v. Loewis (martin@loewis.home.cs.tu-berlin.de) [20000531 19:54]:
|>
|> > > marking them with N_(). It seems like xgettext does not recognize the
|> > > strings inside the definition of the TARGET_SWITCHES macro:
|> >
|> > Did you try adding -k N_?
|>
|> That's already done by default, as you can see from po/Makefile.in.in:
|>
|> $(srcdir)/$(PACKAGE).pot: $(POTFILES)
|> $(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \
|> --add-comments --keyword=_ --keyword=N_ \
|> --files-from=$(srcdir)/POTFILES.in \
|> && test ! -f $(PACKAGE).po \
|> || ( rm -f $(srcdir)/$(PACKAGE).pot \
|> && mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot )
|>
|> So it really seems as if xgettext fails to recognize it inside of
|> TARGET_SWITCHES.
Note that xgettext deliberately does not try to parse macro bodies.
Andreas.
--
Andreas Schwab "And now for something
SuSE Labs completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg