Bug 749386

Summary: Typo in POT file "^A" char instead of "\1"
Product: [Fedora] Fedora Reporter: Cyril François <cyril.francois.87>
Component: libreportAssignee: Denys Vlasenko <dvlasenk>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dvlasenk, jmoskovc, kklic, mlichvar, mmilata, mtoman, npajkovs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-28 13:19:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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 ***