Re: all _() defines for i18n
- From: Christopher James Lahey <clahey ximian com>
- To: Gediminas Paulauskas <menesis delfi lt>
- Cc: Keld Jørn Simonsen <keld dkuug dk>, gnome-i18n gnome org, gnome-hackers gnome org, gtk-devel-list gnome org, gtk-i18n-list gnome org
- Subject: Re: all _() defines for i18n
- Date: 22 Apr 2001 02:30:46 -0400
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]