Bug 702549

Summary: shouldn't add "#, fuzzy" to gettext header
Product: [Retired] Zanata Reporter: hding <hding>
Component: Component-LogicAssignee: Runa Bhattacharjee <runab>
Status: CLOSED CURRENTRELEASE QA Contact: Ding-Yi Chen <dchen>
Severity: low Docs Contact:
Priority: unspecified    
Version: 1.3CC: ankit, mkim, sflaniga, zanata-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 1.5-SNAPSHOT-20120217-1255 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-07 00:08: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:
Bug Depends On:    
Bug Blocks: 786670    
Attachments:
Description Flags
original PO
none
the PO file which is pulled from server none

Description hding 2011-05-06 06:22:20 UTC
Description of problem:
mvn client should preserve PO file Meta data correctly.

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

How reproducible:

Steps to Reproduce:
1.mvn zanata:publican-push -Dzanata.importPo
2.mvn zanata:publican-pull -Dzanata.dstDir=.

  
Actual results:
PO file Meta data changed

Expected results:
PO file Meta data preserved correctly


Additional info:
please see the attachments
One is original PO file
The other one is the PO file which is pulled from server.

Comment 1 hding 2011-05-06 06:23:08 UTC
Created attachment 497291 [details]
original PO

Comment 2 hding 2011-05-06 06:23:40 UTC
Created attachment 497292 [details]
the PO file which is pulled from server

Comment 3 Sean Flanigan 2011-05-06 06:38:55 UTC
If a text flow is exported, then imported with the same content, a new revision is being created, when in fact the revision shouldn't change.  The new revision has no translator credit because it was imported.

Comment 4 Sean Flanigan 2011-05-26 03:51:47 UTC
Dean, would you please see if you can reproduce this?

Comment 5 Sean Flanigan 2011-05-27 04:04:24 UTC
Having clarified with Helen, the specific bug being reported is:

1. "#, fuzzy" was added to header comment
2. "Test:Zanata" in the header was changed to "Test: Zanata\n"

1. is a mostly cosmetic bug which we should get around to fixing.
2. is okay, because Zanata normalises the name-value pairs in the header (space after colon, newline at end).

Also, we should avoid adding blank "#:" entries to messages.

Comment 6 Ding-Yi Chen 2011-07-12 00:41:04 UTC
Bug reproduced and confirmed with:

Zanata version 1.4-SNAPSHOT (20110712-0601). 

Client: maven client API timestamp is 20110623-1549

Comment 7 Sean Flanigan 2011-09-07 04:32:58 UTC
Assigning to Scrum product owner for prioritisation.

Comment 8 Ding-Yi Chen 2012-02-17 05:52:57 UTC
VERIFIED with Zanata maven  client API timestamp is 20120217-1255, but server API timestamp is 20120217-1456