[Openstack-i18n] am I getting it wrong?

Andreas Jaeger aj at suse.com
Wed Sep 16 07:52:49 UTC 2015


On 2015-09-16 09:46, Andreas Jaeger wrote:
> On 2015-09-16 04:08, Alex Eng wrote:
>> I can't see any different compare with the source file.
>>
>> https://github.com/openstack/nova/blob/master/nova/locale/nova-log-warning.pot
>>
>>
>> What's the expected string?
>>
>
>
> If you look at the source code, you'll see it does:
> logprefix = "%s[%s]: " % (file_opt.name, fpath)
>
> So, that includes the space,

Let's fix this properly - there's also a s missing in the second string.

I filled a bug and send a patch:
https://bugs.launchpad.net/nova/+bug/1496273
https://review.openstack.org/223955

Andreas

> Andreas
>
>> ---------------------------------------------
>>
>> Alex Eng
>> Globalisation Tools Engineering
>> DID:+61 3514 8262 <callto:+61+3514+8262>
>> Mobile:+614 2335 3457 <callto:+614+2335+3457>
>>
>> Red Hat, Asia-Pacific Pty Ltd
>> Level 1, 193 North Quay
>> Brisbane 4000
>> Office:+61 7 3514 8100 <callto:+61+7+3514+8100>
>> Fax:+61 7 3514 8199 <callto:+61+7+3514+8199>
>> Website:www.redhat.com <http://www.redhat.com/>
>>
>> On Wed, Sep 16, 2015 at 11:56 AM, ਅਨਪੜ੍ਹ ਜਿਮੀਂਦਾਰ <jimidar at gmail.com
>> <mailto:jimidar at gmail.com>> wrote:
>>
>>     check these strings in nova-log-warning please
>>
>>     1)
>>
>>       *
>>
>>         %(logprefix)sfiledoesnotexist
>>
>>       * Resource ID: 8b11140881a372e28617726d6551bf55
>>
>>
>>     2)
>>
>>       *
>>
>>         %(logprefix)unexpectedIOErrorwhenreading
>>
>>       * Resource ID: cb2f6d7cc64d66e928c3d4bfc62fc2f0
>>
>>
>>     3)
>>
>>       *
>>
>>         %(logprefix)sfailedtoloadjson
>>
>>       * Resource ID: 82759c0db94169cf8d6b3bf6d5bb28ae
>>
>>
>>     Am i getting these wrong or there are actually some blank spaces
>>     missing in the source strings?
>>     Sorry for spamming the mailing list :)
>>
>>     Amandeep Singh
>>
>>
>>
>>     _______________________________________________
>>     Openstack-i18n mailing list
>>     Openstack-i18n at lists.openstack.org
>>     <mailto:Openstack-i18n at lists.openstack.org>
>>     http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
>>
>>
>>
>>
>> _______________________________________________
>> Openstack-i18n mailing list
>> Openstack-i18n at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
>>
>
>


-- 
  Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
   SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
    GF: Felix Imendörffer, Jane Smithard, Graham Norton,
        HRB 21284 (AG Nürnberg)
     GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126




More information about the Openstack-i18n mailing list