Bug 749386 - Typo in POT file "^A" char instead of "\1"
Summary: Typo in POT file "^A" char instead of "\1"
Keywords:
Status: CLOSED DUPLICATE of bug 749365
Alias: None
Product: Fedora
Classification: Fedora
Component: libreport
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Denys Vlasenko
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-26 21:33 UTC by Cyril François
Modified: 2011-10-28 13:19 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-28 13:19:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 749365 0 unspecified CLOSED Typo in POT file "^A" char instead of "\1" 2021-02-22 00:41:40 UTC

Description Cyril François 2011-10-26 21:33:15 UTC
Description of problem:

In the POT uploaded file "libreport_master_en.po" on transifex.net, each "\1" string is written "^A".

Example extracted from libreport_master_en.po :

#: ../src/cli/cli.c:48
msgid ""
" [-vsp] -L[PREFIX] [DUMP_DIR]\n"
"   or:  [-vsp] -e EVENT DUMP_DIR\n"
"   or:  [-vsp] -a[y] DUMP_DIR\n"
"   or:  [-vsp] -c[y] DUMP_DIR\n"
"   or:  [-vsp] -r[y|o|d] DUMP_DIR"

Same string part in cli.c :

"\1 [-vsp] -L[PREFIX] [DUMP_DIR]\n"
"   or: \1 [-vsp] -e EVENT DUMP_DIR\n"
"   or: \1 [-vsp] -a[y] DUMP_DIR\n"
"   or: \1 [-vsp] -c[y] DUMP_DIR\n"
"   or: \1 [-vsp] -r[y|o|d] DUMP_DIR"

Comment 1 Cyril François 2011-10-26 21:40:24 UTC
Similar bug with abrt "PO". See 749365 bug.

Comment 2 Denys Vlasenko 2011-10-27 12:47:47 UTC
Fixed in git:

commit e89b742e95bbfb1171a0916bb01d917dfd9fb685
Author: Denys Vlasenko <dvlasenk>
Date:   Thu Oct 27 14:30:05 2011 +0200

    replace \1 (program name substitute char) with & in help texts

commit 037d1bb75784ea529310da9c29ec3d09f4066718
Author: Denys Vlasenko <dvlasenk>
Date:   Thu Oct 27 14:40:48 2011 +0200

    replace \1 (program name substitute char) with & in help texts


With the above changes, "&<whitespace>" is replaced by PROGNAME<whitespace>. All other instances of & are not replaced.

Comment 3 Cyril François 2011-10-28 13:19:08 UTC

*** This bug has been marked as a duplicate of bug 749365 ***


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