Bug 812216 - zanata_zanata_xml_make found wrong locale resource
Summary: zanata_zanata_xml_make found wrong locale resource
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: zanata-util
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ding-Yi Chen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-13 06:35 UTC by Ding-Yi Chen
Modified: 2012-05-22 15:31 UTC (History)
1 user (show)

Fixed In Version: zanata-util-0.2.7-1.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-08 04:15:27 UTC
Type: Bug


Attachments (Terms of Use)

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.


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