Bug 730606

Summary: The fuzzies entries from an imported PO file appear as translated in the zanata workspace
Product: [Retired] Zanata Reporter: Manuel Ospina <mospina>
Component: Component-PythonClientAssignee: James Ni <jni>
Status: CLOSED CURRENTRELEASE QA Contact: Ding-Yi Chen <dchen>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 1.3CC: ccheng, sflaniga, yshao, zanata-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 1.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-27 04:31:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Manuel Ospina 2011-08-15 04:43:49 UTC
Description of problem: 
The fuzzies entries from an imported PO file appear as translated in the zanata workspace. I used the python client

Version-Release number of selected component (if applicable): 1.3


How reproducible: Always


Steps to Reproduce:
1. Go to a project with existing PO files. The project should have some Fuzzy entries.
2. Run $zanata publish push --import-po
3. Go to project in the zanata instance
  
Actual results:
The entry that appear as fuzzy in the local PO file, now appear as translated in the zanata workspace!


Expected results:
It should appear as Fuzzy in the zanata workspace. The fuzzy should be kept.


Additional info:

Comment 1 James Ni 2011-08-15 05:36:40 UTC
I think this bug is same to "Bug 728821 - Fuzzy strings are not shown on web interface after uploading", sorry, it's my fault, when i parsing the po file to json, i didn't consider the fuzzy entry (processing "#, fuzzy" flag in each entry), i will add this processing and fix it in soon.

Comment 2 James Ni 2011-08-15 05:40:36 UTC
*** Bug 728821 has been marked as a duplicate of this bug. ***

Comment 3 James Ni 2011-08-16 08:58:18 UTC
I have modified source code of python client to fix this issue, changes in
commit 8f87e1. 
The fuzzy messages will be imported and displayed as Fuzzy in the zanata workspace. I have test and verify this on my locale machine.

There is one make me confused. I compare the status between zanata instance on
my locale machine with 'publican lang_stats', The number is different. I am not
sure which one is correct, or both is correct, just because using different
count method.

Comment 4 Ding-Yi Chen 2011-10-17 01:05:41 UTC
VERIFIED with zanata-python-client-1.3.1-1.el5

and Zanata version 1.4.2-SNAPSHOT (20111014-1722