all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* prevent inserting \n symbol in the end of lines in emacs po-mode
@ 2019-04-13 16:45 znavko
  2019-04-13 17:53 ` pelzflorian (Florian Pelz)
  2019-04-16 18:38 ` znavko
  0 siblings, 2 replies; 4+ messages in thread
From: znavko @ 2019-04-13 16:45 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 1050 bytes --]

When editing .po file in emacs po-mode and inserting two lines into msgstr, emacs adds "n" symbol.
And it breaks the logic here:

#. type: Plain text
#: doc/contributing.texi:141
msgid ""
"@dots{} and for a REPL (@pxref{Using Guile Interactively,,, guile, Guile "
"Reference Manual}):"
msgstr ""
"@dots{} и для REPL (@pxref{Using Guile Interactively,,, guile, Guilen"
"Reference Manual}):"

http://0x0.st/zNAS.png (http://0x0.st/zNAS.png)

I think link to Guile Reference manual will not work with n in the middle of it.

I've enabled long-line-mode as described here https://www.emacswiki.org/emacs/PoMode (https://www.emacswiki.org/emacs/PoMode) (and including longlines.el into .emacs)
So I can create long-long lines and they are displaying convenient way. And I've compared french translation does not follow the same line length rule as in original po file: http://0x0.st/zNmQ.png

But nevertheless is it necessary to insert translation messages strings with line breaks but without emacs insert 'n' in the end of line?

[-- Attachment #2: Type: text/html, Size: 1685 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-04-16 19:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-13 16:45 prevent inserting \n symbol in the end of lines in emacs po-mode znavko
2019-04-13 17:53 ` pelzflorian (Florian Pelz)
2019-04-16 18:38 ` znavko
2019-04-16 19:18   ` pelzflorian (Florian Pelz)

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.