Bug 749439
Summary: | Implement PO file download | ||
---|---|---|---|
Product: | [Retired] Zanata | Reporter: | Carlos Munoz <camunoz> |
Component: | Component-UI, Usability | Assignee: | Carlos Munoz <camunoz> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | David Mason <damason> |
Severity: | unspecified | Docs Contact: | |
Priority: | medium | ||
Version: | 1.4.1 | CC: | damason, sflaniga, zanata-bugs |
Target Milestone: | Sprint-29 | ||
Target Release: | 1.5 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | 5 | |
Clone Of: | Environment: | ||
Last Closed: | 2012-04-23 04:32:37 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: | 725319, 748696, 756230 |
Description
Carlos Munoz
2011-10-27 03:59:27 UTC
Added a "Files" section where individual files (po only at this time) can be downloaded. There's also an option to download all files for the iteration / language. Merged into 1.5.x tracking branch. Some po files appear to have the content type charset in the header set to "CHARSET", whereas others have the correct value "UTF8" The charset=CHARSET problem is fixed in bug 748727. There's a few more changes for this story in https://github.com/zanata/zanata/commit/a9ee3c796325c155070442de0450b2296071deca and https://github.com/zanata/zanata/commit/9032882c3f5f8f2f3c41c7202c762f12d3bdf976. But we do need a slight change to the algorithm which generates some of the PO headers: if you upload a PO, *don't* change anything via the webtrans editor, and then download the PO, you should get back the lastTranslator/date that was uploaded. The system will now check for the original (as in when pushed) PO-Revision-Date header value. If this date is more current than any of the 'Last Changed' dates in any of the translations, the PO files produced will keep the original values for PO-Revision-Date and Last-Translator header values. Otherwise, the system will generate values according to the internal data. For changes see: https://github.com/zanata/zanata/commit/8ab71d1a3b2b2d7d72d7cc195ac5ffa466372912 https://github.com/zanata/zanata/commit/8376864ffa0045e6f28027b069761d260fc6d3be Was reporting revision date and last translator based on last approved string in document, rather than most recent approved date. Fixed in https://github.com/zanata/zanata/commit/73449eed5cf276a2b4ac1b654563aaf443af5143 verified in 1.5 |