cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kelceydamage@bbits" <kel...@bbits.ca>
Subject Re: Review Request: Utility for generating the .tx/config file
Date Mon, 03 Dec 2012 08:47:53 GMT
I was unaware of the transifex tool.

I can switch to .slice, can you provide me an example .ent file?

Sent from my iPhone

On Dec 3, 2012, at 12:29 AM, Sebastien Goasguen <runseb@gmail.com> wrote:

> Doesn't transifex client create the tx config file automatically based on the op/pot
files created by publican ?
> 
> something like this:
> tx set --auto-local -r project.$resource "<lang>/$resource.po" --source-language=en
--source-file "pot/$resource.pot" --execute
> 
> http://help.transifex.com/features/client/
> 
> 
> On Dec 3, 2012, at 9:24 AM, "David Nalley" <david@gnsa.us> wrote:
> 
>> 
>> -----------------------------------------------------------
>> This is an automatically generated e-mail. To reply, visit:
>> https://reviews.apache.org/r/8307/#review13963
>> -----------------------------------------------------------
>> 
>> 
>> I tested this and see at least one problem. 
>> It's looking for a '.' as a delimiter - which means files like 
>> 
>> docs/en-US/added-API-commands-4.0.xml generate the below - which is problematic.

>> Perhaps instead of using .split on line 37 you can slice instead (which assumes only
.xml files (which need to be tested for as there are also .ent files in that directory that
should not be included)) 
>> 
>> [ACS_DOCS.added-API-commands-4]
>> file_filter = <lang>/added-API-commands-4.po
>> source_file = pot/added-API-commands-4.pot
>> source_lang = en
>> type = PO
>> 
>> 
>> - David Nalley
>> 
>> 
>> On Dec. 2, 2012, 1:29 a.m., Kelcey Jamison-Damage wrote:
>>> 
>>> -----------------------------------------------------------
>>> This is an automatically generated e-mail. To reply, visit:
>>> https://reviews.apache.org/r/8307/
>>> -----------------------------------------------------------
>>> 
>>> (Updated Dec. 2, 2012, 1:29 a.m.)
>>> 
>>> 
>>> Review request for cloudstack.
>>> 
>>> 
>>> Description
>>> -------
>>> 
>>> Utility for generating the .tx/config file
>>> 
>>> Long names are truncated and suffixed with -long, and duplicates are numerically
tagged.
>>> 
>>> 
>>> Diffs
>>> -----
>>> 
>>> docs/doc-config-gen.py PRE-CREATION 
>>> 
>>> Diff: https://reviews.apache.org/r/8307/diff/
>>> 
>>> 
>>> Testing
>>> -------
>>> 
>>> tested against dupes and long names in en-US. uses relative paths so must be
executed from /docs
>>> 
>>> 
>>> Thanks,
>>> 
>>> Kelcey Jamison-Damage
>>> 
>>> 
>> 
> 

Mime
View raw message