[zanata-bugs] [Bug 730200] New: Python client: --transdir mistakenly appends "po" after the given path.

bugzilla at redhat.com bugzilla at redhat.com
Fri Aug 12 06:32:09 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: Python client: --transdir mistakenly appends "po" after the given path.

https://bugzilla.redhat.com/show_bug.cgi?id=730200

           Summary: Python client: --transdir mistakenly appends "po"
                    after the given path.
           Product: Zanata
           Version: 1.4-RC
          Platform: Unspecified
        OS/Version: Unspecified
            Status: ASSIGNED
          Severity: medium
          Priority: high
         Component: Component-PythonClient
        AssignedTo: jni at redhat.com
        ReportedBy: dchen at redhat.com
         QAContact: dchen at redhat.com
                CC: zanata-bugs at redhat.com, zanata-dev-internal at redhat.com
   Estimated Hours: 0.0
    Classification: Community
      Story Points: ---
              Type: ---


Description of problem:
--transdir in zanata-python-client-1.2.6 does not actually search the given 
directory, but the subdirectory of the given directory.

For example, given: --transdir=.
./*.po files won't be looked, but
po/*.po files.

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

How reproducible:
Always

Steps to Reproduce:
1. git-clone git://github.com/definite/ibus-chewing.git
2. cd ibus-chewing/po
3. zanata po push --transdir=. --srcdir=. --import-po

Actual results:
error: Can not find the zh_TW translation for ibus-chewing                      
error: Can not find the zh_CN translation for ibus-chewing

Expected results:
Successfully pushed.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the zanata-bugs mailing list