Bug 53019 - Question about converting line feeds is (probably) incorrectly formatted
Summary: Question about converting line feeds is (probably) incorrectly formatted
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: printconf
Version: 7.3
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2001-09-01 21:45 UTC by Göran Uddeborg
Modified: 2007-04-18 16:36 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2002-01-10 16:26:28 UTC

Attachments (Terms of Use)

Description Göran Uddeborg 2001-09-01 21:45:30 UTC
In the message catalog for printconf there is a message

#. ../gui/printconf-gui.glade:1570 ../gui/printconf-gui.glade:3545
#: ../gui/printconf-gui.glade.str:243
msgid ""
"Translate \n"
" => \r\n"
msgstr ""
"Vversdtt \n"
" => \r\n"

(I'm using the Swedish translation for illustration, but that's not
important.)  This first makes sense when looking at it in the message
catalog file.  But these strings are interpreted as in C code, so the \n
and \r will be translated to the corresponding control characters.  That's
probably not intended.  There is another message in the same file:

#: ../util/printconf_tui.py:1205
msgid "Translate \\n->\\r\\n"
msgstr "Vversdtt \\n->\\r\\n"

I believe the first message should have looked this way too.

Disclaimer:  I can't install and verify this on any machine right now.  But
since this might be urgent, with the lead time necessary for translations,
I didn't want to delay reporting it until I could verify it.  I apologise
if my assumptions are wrong and this report is incorrect.

Comment 1 Tim Waugh 2002-01-10 16:26:23 UTC
Yes, that does look wrong.

Comment 2 Tim Waugh 2002-03-06 13:43:10 UTC
All occurrances of this are now fixed.  Thanks.

Note You need to log in before you can comment on or make changes to this bug.