Bug 730606 - The fuzzies entries from an imported PO file appear as translated in the zanata workspace
Summary: The fuzzies entries from an imported PO file appear as translated in the zana...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Component-PythonClient
Version: 1.3
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: ---
Assignee: James Ni
QA Contact: Ding-Yi Chen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-15 04:43 UTC by Manuel Ospina
Modified: 2015-11-10 00:10 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

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


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