Re: gnumeric: Note to translators



On Mon, 12 Feb 2001, Pablo Saratxaga wrote:

> > But it's probably just as good and easier to just use the comments that
> > work today
> >
> > /* Math */
> > _("Mean")
>
> The problem is when a string may appear in different context in the same
> program, requiring different translations.

Which you also have to hunt down and change to

/* leave the word and colon in front of the translation */
_("math:Mean")+5

_("evil:Mean")+7

Or probably have the word and colon comment as a global comment and only
put comments if you really want a string with colon to be translated.

The +<num> can of course be change to some function that strips the first
part, and that are also built into a macro like _().

--
/Dennis





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]