[virt-tools-list] [PATCH 2/2] tr.po: Specify arguments order in a format string
Cole Robinson
crobinso at redhat.com
Wed Feb 11 18:29:22 UTC 2015
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 at redhat.com>
>> ---
>> 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
More information about the virt-tools-list
mailing list