help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Emacs po-mode


From: Dmitry Dzhus
Subject: Re: Emacs po-mode
Date: Wed, 13 Aug 2008 01:43:26 +0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

turakas@gmail.com wrote:

> Notice those "\n"

This is an expected behaviour (see gettext manual, 8.3.4):

«Right now, in PO mode, strings are single line or multi-line. A string
 goes multi-line if and only if it has _embedded_ newlines…»

If you need to just _wrap_ long single-line `msgstr` contents, use
`po-wrap` function described here:
http://www.gnu.org/software/trans-coord/manual/gnun/html_node/New-Translation.html.
It has to process the whole file, though.

I've already pointed out in `gnu.utils.bug` that `po-wrap` function is
worth including in po-mode (at least until normalization issues stated
in gettext manual are resolved).
-- 
Happy Hacking.

http://sphinx.net.ru

reply via email to

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