Ubuntu touch: Change: %s

Hannie Dumoleyn lafeber-dumoleyn2 at zonnet.nl
Fri Aug 29 11:09:35 UTC 2014


Thanks, David. It certainly helped.
Hannie

Op 29-08-14 om 12:23 schreef David Callé:
>
>
> On 29/08/2014 12:16, Hannie Dumoleyn wrote:
>>
>> Could anyone tell me what is meant by the word "Change" in 
>> ubuntu-rest-scopes #220 and #221?
>> Change: %s
>
> Hello,
>
> sorry for the lack of clarity on this, this code could probably use a 
> translator comment...
>
> This is the value change and percentage change for stock quotes. ex : 
> https://finance.yahoo.com/market-overview/
>
> I hope that helped.
>
> Cheers,
> David
>
>> Located in
>>     src/scopes/yahoofinance.py:257
>> %% Change: %s
>>
>> I found this in the code:
>> # Content for the text widget
>>             text_for_values  =  []
>>             text_for_values.append(
>>                 translator('Price:%s'  %  result['value'], locale))
>>             text_for_values.append(
>>                 translator('Change:%s'  %  result['change_v'], locale))
>>             text_for_values.append(
>>                 translator('%%  Change:%s'  % result['change_p'],  
>> locale))
>>
>> Thanks for helping me on this,
>> Hannie
>>
>>
>
>





More information about the ubuntu-translators mailing list