[zanata-bugs] [Bug 821800] "Server copy of previous translation(s) lost" when pushing updated pot to the server

bugzilla at redhat.com bugzilla at redhat.com
Wed May 16 08:24:26 UTC 2012


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


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

James Ni <jni at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |jni at redhat.com
         AssignedTo|runab at redhat.com            |jni at redhat.com

--- Comment #1 from James Ni <jni at redhat.com> 2012-05-16 04:24:25 EDT ---
Hi,
I just make some clarification here. 

I think users need to specify the path of pot folder with --srcdir option, so
the command will be 'zanata publican push --username --apikey --srcdir=./pot'.
If no --srcdir option, the command will presume source folder is current path.

The reason is:
If you don't specify the --srcdir, the command will presume that source folder
is current path. Since all the pot files are in pot/ folder under current path,
the command actually set the path to pot/. Then, Server can't find previous
translations from other versions correctly if documents in other versions are
pushed with --srcdir option, because server treat them as different documents
(path is different). 

Copy previous translation is the default action for python client, it doesn't
need user to specify this option in the python client. On the other side, if
you don't need to copy the previous translation from other versions, you can
use --no-copytrans in python client.

-- 
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