[openstack-dev] [all][i18n] do we need translation mark for strings in tests?

Matt Riedemann mriedem at linux.vnet.ibm.com
Sat Oct 1 22:51:03 UTC 2016


On 10/1/2016 5:49 PM, Matt Riedemann wrote:
>
> No you shouldn't need to mark strings for translation in test code. I
> believe we have a hacking rule for marking LOG.info/warning/error
> messages for translation but it should skip test directories.
>

Ah I guess the hacking rule is nova-specific:

https://github.com/openstack/nova/blob/2851ceaed3010c19f42e308be637b952edab092a/nova/hacking/checks.py#L342

-- 

Thanks,

Matt Riedemann




More information about the OpenStack-dev mailing list