Bug 697380 - [l10n] Incomplete translation warnings are not very readable
Summary: [l10n] Incomplete translation warnings are not very readable
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 2.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 3.0
Assignee: Jeff Fearn 🐞
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-18 04:09 UTC by Ruediger Landmann
Modified: 2012-10-31 03:11 UTC (History)
4 users (show)

Fixed In Version: 3.0.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-31 03:11:42 UTC
Embargoed:


Attachments (Terms of Use)
Warnings on version 2.8 (148.38 KB, image/png)
2012-06-14 01:05 UTC, Hedda Peters
no flags Details
Warnings on version 3.0 (133.80 KB, image/png)
2012-06-14 01:05 UTC, Hedda Peters
no flags Details

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


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