Re: all _() defines for i18n



On 21 Apr 2001 16:47:05 +0200, Gediminas Paulauskas wrote:

> What's left? Popular characters (like ':', '[', ']', '!') should not be
> used, because that can make bad things happen and prevents
> optimizations. Grepping through my CVS tree, I have not found a single
> po file which contained '|', so I assume this will never be used.

I like this concept in general, but two things.

Firstly, it seems that having the character at the beginning and end of the comment would allow the code to very quickly detect whether there's a comment.

Secondly, make sure that the character can be used if necessary.  Don't assume that just because it isn't used now doesn't mean that won't change.  Ignoring all comments after the first would be sufficient for this.

For example:

"|||asdf"   would be equivalent to the current "|asdf".

Thanks,
    Chris





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