unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Dmitry Dzhus <dima@sphinx.net.ru>
To: help-gnu-emacs@gnu.org
Cc: turakas@gmail.com
Subject: Re: Emacs po-mode
Date: Wed, 13 Aug 2008 01:43:26 +0400	[thread overview]
Message-ID: <87fxp9gb9d.fsf@sphinx.net.ru> (raw)
In-Reply-To: 141cdeb7-4d8c-44e8-a404-59eeb69f5c9b@c65g2000hsa.googlegroups.com

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	other threads:[~2008-08-12 21:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-12 20:44 Emacs po-mode turakas
2008-08-12 21:43 ` Dmitry Dzhus [this message]
2008-08-13 17:51   ` turakas
2008-08-14  1:39     ` Kevin Rodgers
     [not found]     ` <mailman.16646.1218677956.18990.help-gnu-emacs@gnu.org>
2008-08-14  3:26       ` turakas
2008-08-14 13:25     ` Dmitry Dzhus
2008-08-14 15:15       ` turakas
  -- strict thread matches above, loose matches on Subject: below --
2008-08-12  8:03 mihkel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fxp9gb9d.fsf@sphinx.net.ru \
    --to=dima@sphinx.net.ru \
    --cc=help-gnu-emacs@gnu.org \
    --cc=turakas@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).