[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: i18n problems with comments from multiple files
From: |
Bruno Haible |
Subject: |
Re: i18n problems with comments from multiple files |
Date: |
Thu, 6 Nov 2003 16:46:53 +0100 |
User-agent: |
KMail/1.5 |
Christian Neumair wrote:
> Over at AbiWord we have some serious problems:
> Comments are enourmous important for us since they contain keywords for
> our i18n mechanism that e.g. influence our i18n statistics.
> Today I tracked down a problem:
> If multiple files contain a comment that affects the same string,
> xgettext only writes the first file's comment into the resulting file,
> which means
> test1.h:
> /* first comment */
> N_("some string");
>
> test2.h:
> /* second comment */
> N_("some string");
> being in POTFILES.in will result in a POT file containing only "first
> comment" as some string's comment.
> Is this supposed to be a bug or am I doing something wrong?
Hi,
It was supposed to work like it does, to avoid problems when the same
comment occurs in front of each occurrence of the string. But since you say
that it is a serious problem for you, I can change xgettext so that it
extracts the second comment as well if it is not identical to the first
comment.
Bruno