[virt-tools-list] [PATCH virt-manager] translation: fix wrong usage of _() function

Pavel Hrdina phrdina at redhat.com
Sat Jun 6 08:11:56 UTC 2015


On Fri, Jun 05, 2015 at 04:41:46PM -0400, Cole Robinson wrote:
> On 06/02/2015 08:21 AM, Pavel Hrdina wrote:
> > All the strings have to be at first translated and then we can fill the
> > formated and translated string.
> > 
> > Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> > ---
> >  virt-install               |  2 +-
> >  virt-xml                   |  4 ++--
> >  virtManager/addhardware.py |  2 +-
> >  virtManager/createnet.py   |  2 +-
> >  virtManager/details.py     |  4 ++--
> >  virtManager/engine.py      |  2 +-
> >  virtManager/migrate.py     |  2 +-
> >  virtManager/snapshots.py   |  2 +-
> >  virtconv/ovf.py            |  2 +-
> >  virtinst/cli.py            |  6 +++---
> >  virtinst/interface.py      |  4 ++--
> >  virtinst/storage.py        | 10 +++++-----
> >  12 files changed, 21 insertions(+), 21 deletions(-)
> 
> Thanks, pushed now.
> 
> Did some piece of the translation infrastructure warn about this, or did you
> grep for it?
> 
> - Cole
> 

I've just used grep for it, and I'm not sure, whether I've fixed all the wrong
usage.  There could be some multi-lines calls that I haven't fixed.

Pavel




More information about the virt-tools-list mailing list