Bug 697380

Summary: [l10n] Incomplete translation warnings are not very readable
Product: [Community] Publican Reporter: Ruediger Landmann <rlandman>
Component: publicanAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.5CC: hpeters, mhideo, mmcallis, publican-list
Target Milestone: 3.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 3.0.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-31 03:11:42 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:
Attachments:
Description Flags
Warnings on version 2.8
none
Warnings on version 3.0 none

Description Ruediger Landmann 2011-04-18 04:09:45 UTC
Warnings about fuzzy or incomplete strings while building translated content are overly long, reducing their readability and usefulness. These warnings really only need to help translators identify the string in the PO file, so truncating them should still provide enough context to help find them in a PO file.

Comment 1 Jeff Fearn 🐞 2011-04-18 05:33:25 UTC
Truncate msgid at 64 characters. Added the PO line number the entry starts on.

NOTE: the line number starts at the very first line of an entry, which is usually a comment of some sort.

Comment 2 Michael Hideo 2012-06-08 01:34:16 UTC
find a partially translated book, or break a translation. build book with publican 2.8 and build with 3.0 and compare output.

Comment 3 Hedda Peters 2012-06-14 01:04:34 UTC
Looks good, particularly PO line numbers should prove helpful.

Screenshots of output for 2.8 and 3.0 are attached for comparison if anyone's interested.

Comment 4 Hedda Peters 2012-06-14 01:05:24 UTC
Created attachment 591685 [details]
Warnings on version 2.8

Comment 5 Hedda Peters 2012-06-14 01:05:49 UTC
Created attachment 591686 [details]
Warnings on version 3.0