Bug 1165909 - Word count for non-empty source string should NOT be zero, otherwise translation statistics would be inconsistent
Summary: Word count for non-empty source string should NOT be zero, otherwise translat...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Zanata
Classification: Retired
Component: Component-Logic
Version: 3.6
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Damian Jansen
QA Contact: Zanata-QA Mailling List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-20 02:41 UTC by Ding-Yi Chen
Modified: 2015-07-29 02:45 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-07-29 02:45:02 UTC
Embargoed:


Attachments (Terms of Use)
Exapmle source document that trigger the error (69 bytes, text/plain)
2014-11-20 03:54 UTC, Ding-Yi Chen
no flags Details

Description Ding-Yi Chen 2014-11-20 02:41:09 UTC
Description of problem:
Zanata does not count symbols as words. Usually it is expected behavior.

However, String#40 in GNU Tar 1.27.1 contains a standalone '`'.
This entry trigger the inconsistent among word-based and msg-based statistics.

If translator miss the string, she might still see the statistics is 100%, yet the project maintainer who use msg statistics see only 50% translated.

Version-Release number of selected component (if applicable):
Zanata 3.6.0-SNAPSHOT (git-jenkins-zanata-server-github-pull-requests-2317) 

How reproducible:
Always

Steps to Reproduce:
1. Create a project (symbol) and  version (master), project type gettext
2. Upload the attached symbol.pot
3. Go to the translation editor
4. Translate the second string "no symbol"

Actual results:
Word-based statistics: 100%
Msg-based statistics: 50%

Expected results:
Word-based statistics: 2/3
Msg-based statistics: 50%


Additional info:

Comment 1 Ding-Yi Chen 2014-11-20 03:54:54 UTC
Created attachment 959231 [details]
Exapmle source document that trigger the error

Comment 2 Ding-Yi Chen 2014-11-20 04:10:12 UTC
Yuko also reported that this symptom also happen when the source string is URL.

Comment 3 Zanata Migrator 2015-07-29 02:45:02 UTC
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-171


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