Re: [PATCH 2/2] tr.po: Specify arguments order in a format string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/11/2015 12:57 PM, Cole Robinson wrote:
> On 02/11/2015 12:04 PM, Masatake YAMATO wrote:
>> Signed-off-by: Masatake YAMATO <yamato@xxxxxxxxxx>
>> ---
>>  po/tr.po | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/po/tr.po b/po/tr.po
>> index 41e6745..3331610 100644
>> --- a/po/tr.po
>> +++ b/po/tr.po
>> @@ -1300,7 +1300,7 @@ msgstr "USB yönlendirme hatası"
>>  #: ../virtManager/console.py:816
>>  #, python-format
>>  msgid "%s %s %s at %d-%d"
>> -msgstr "%d-%d deki %s %s %s  "
>> +msgstr "%4$d-%5$d deki %1$s %2$s %3$s  "
>>  
>>  #: ../virtManager/console.py:965
>>  msgid "Leave fullscreen"
>>
> 
> Thanks, merged with latest transifex sources and pushed these now
> 

Hmm, the upload to transifex complained:

Error uploading file: There is a syntax error in your file.
Line 1318: 'msgstr' is not a valid Python format string, unlike 'msgid'.
Reason: In the directive number 1, the character '$' is not a valid conversion
specifier.

Looking at the source string, we are actually needlessly duplicating the
default string that spice-gtk already uses for USB devices, and which
spice-gtk is responsible for translating. So I removed that string and it
should fix the root problem

Thanks,
Cole



_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list





[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux