bug-mailutils
[Top][All Lists]
Advanced

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

Re: [bug-mailutils] NLS status


From: Sergey Poznyakoff
Subject: Re: [bug-mailutils] NLS status
Date: Fri, 27 Dec 2002 21:20:49 +0200

> > Please wait a bit till I solve the '\v' problem. I guess I'll be
> > able to commit the changes tomorrow.
> 
> Maybe we should ask if it's a problem in gettext, and if it is, wait for
> gettext 0.11.6.

Well, it's not exactly a problem. Gettext analyzes strings in the
same way gcc does, i.e. upon encountering an escaped symbol, it
translates it into a corresponding ASCII character. It can't be
blamed for it. The ^K in .pot file is actually a single character
(ASCII 013). So, we have two possible solutions:

1) Leave things as they are and urge translators to retain ^K in their
translation *as a single character*.

2) Split the strings containing \v in the following manner:

N_("GNU dotlock -- lock mail spool files")
  "\v"
N_("Returns 0 on success, 3 if the locking the file fails because"
   " it's already locked, and 1 if some other kind of error
   occurred.");

Thus, the compiler will glue the three strings together, yet 
gettext will see two separate strings there.

Which one would you prefer? I'd vote for the latter.

Regards,
Sergey



reply via email to

[Prev in Thread] Current Thread [Next in Thread]