Bug 812216

Summary: zanata_zanata_xml_make found wrong locale resource
Product: [Fedora] Fedora Reporter: Ding-Yi Chen <dchen>
Component: zanata-utilAssignee: Ding-Yi Chen <dchen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dchen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: zanata-util-0.2.7-1.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-08 04:15:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ding-Yi Chen 2012-04-13 06:35:11 UTC
Description of problem:
zanata_zanata_xml_make uses "<locale>.*" to find the locale.

However, for some package it will find wrong files/directory.

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

How reproducible:
Always


Steps to Reproduce:
0. Make sure zanata Server has locale "en-US"
1. Check out  project "Weld" (git://github.com/weld/core.git)
2. cd core/docs/reference/src/main/docbook
3. zanata_zanata_xml_make  --projectType "podir" --srcDir "pot" <ZANATA_SERVER>
  
Actual results:
In zanata.xml:
    <locale map-from="environments.po">en-US</locale>

Expected results:
In zanata.xml:
Either 
    <locale map-from="en-US">en-US</locale>
or 
    <locale>en-US</locale> if none suitable locale found.

Comment 1 Fedora Update System 2012-04-20 06:39:43 UTC
zanata-util-0.2.6-1.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/zanata-util-0.2.6-1.el5

Comment 2 Fedora Update System 2012-04-20 06:40:23 UTC
zanata-util-0.2.6-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/zanata-util-0.2.6-1.fc16

Comment 3 Fedora Update System 2012-04-20 06:40:40 UTC
zanata-util-0.2.6-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/zanata-util-0.2.6-1.fc17

Comment 4 Fedora Update System 2012-04-20 06:40:58 UTC
zanata-util-0.2.6-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/zanata-util-0.2.6-1.el6

Comment 5 Fedora Update System 2012-04-21 20:59:28 UTC
Package zanata-util-0.2.6-1.el5:
* should fix your issue,
* was pushed to the Fedora EPEL 5 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing zanata-util-0.2.6-1.el5'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-5626/zanata-util-0.2.6-1.el5
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-04-27 00:27:08 UTC
zanata-util-0.2.7-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/zanata-util-0.2.7-1.fc16

Comment 7 Fedora Update System 2012-04-27 00:27:27 UTC
zanata-util-0.2.7-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/zanata-util-0.2.7-1.el6

Comment 8 Fedora Update System 2012-04-27 00:27:46 UTC
zanata-util-0.2.7-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/zanata-util-0.2.7-1.fc17

Comment 9 Fedora Update System 2012-04-27 00:28:04 UTC
zanata-util-0.2.7-1.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/zanata-util-0.2.7-1.el5

Comment 10 Fedora Update System 2012-05-08 04:15:27 UTC
zanata-util-0.2.7-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2012-05-10 14:18:37 UTC
zanata-util-0.2.7-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2012-05-22 15:29:36 UTC
zanata-util-0.2.7-1.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2012-05-22 15:31:20 UTC
zanata-util-0.2.7-1.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.