<div dir="ltr">Hi Daisy,<div><br></div><div style>2013/5/8 Ying Chun Guo <span dir="ltr"><<a href="mailto:guoyingc@cn.ibm.com" target="_blank">guoyingc@cn.ibm.com</a>></span><br></div><div class="gmail_extra"><div class="gmail_quote">
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="im"><br><tt><font>
> (2) Transifex cannot handle % character properly</font></tt><br>
<tt><font>> <br>
> Some sentences contains "%" character followed by a space and</font></tt><br>
<tt><font>> it seems Transifex recognizes the sequence as a conversion specifier<br>
> by mistake.</font></tt><br>
<tt><font>> <br>
> For example, "Once you have reproduced the issue (or are 100% <br>
> confident that this is indeed a valid bug) and have permissions to <br>
> do so, set:" contains "% c".</font></tt><br>
<tt><font>> When translating the sentence, Transifex warns us that there is no <br>
> "% c" in the translation</font></tt><br>
<tt><font>> and we cannot save the translated sentence. Now we insert a dummy <br>
> word such "%c_dummy" to avoid this issue.</font></tt><br>
<tt><font>> <br>
> Or should we escape % character by %%?</font></tt><br>
<tt><font>> By doing it we can avoid the above problem, but AFAIK such escape is<br>
> not done in other po related tools such as po4a.</font></tt><br>
<tt><font>> <br>
> Any suggestion?</font></tt><br>
<br>
</div><tt><font>It looks like a bug of Transifex.</font></tt><br>
<tt><font>David's solution may work.</font></tt><br>
<tt><font>We can change all "%" to "</font></tt><font size="3" face="serif">%</font><tt><font>" while converting to POT file, but it may affect</font></tt><br>
<tt><font>the </font></tt><tt><font>readability.</font></tt><br>
<tt><font>I see you reported a bug, and somebody suggested to use "</font></tt><tt><font>completely</font></tt><tt><font>" instead of "100%".</font></tt><br>
<tt><font>Can we do the same change in operation guide?</font></tt></div></blockquote><div><br></div><div style>'%' character appears in several places in the operations guide. "100%" is just an example.</div>
<div style>Replacing "80%" or "90%" with other words looks hard to me.<br></div><div style>It looks good to convert % to % though the readability may become a little worse.<br></div><div style>
<br></div><div style>By grepping the POT file, I got the following:<br></div><div style><br></div><div style><div>msgid "Nagios alerts you with a WARNING when any disk on the compute node is 80% full and CRITICAL when 90% is full."</div>
<div>msgid "By combining the resources used with the tenant's quota, you can figure out a usage percentage. For example, if this tenant is using 1 Floating IP out of 10, then they are using 10% of their Floating IP quota. You can take this procedure and turn it into a formatted report:"</div>
<div>msgid "Once you have reproduced the issue (or are 100% confident that this is indeed a valid bug) and have permissions to do so, set:"</div><div>msgid "All sites are based on Ubuntu 12.04 with KVM as the hypervisor. The OpenStack version in use is typically the current stable version, with 5 to 10% back ported code from trunk and modifications."<br>
</div><div>msgid "The CSAIL cloud is currently 64 physical nodes with a total of 768 physical cores and 3,456 GB of RAM. Persistent data storage is largely outside of the cloud on NFS with cloud resources focused on compute resources. There are 65 users in 23 projects with typical capacity utilization nearing 90% we are looking to expand."</div>
<div><br></div><div>Does anyone know where we can report a bug? There is a public discussion site available on Transifex, but it does not seem to be active...<br></div><div><br></div><div style>Akihiro</div></div></div></div>
</div>