i18n: translate UI messages

Signed-off-by: Pino Toscano <ptoscano@redhat.com>
This commit is contained in:
Pino Toscano 2020-09-17 08:44:03 +02:00 committed by Cole Robinson
parent 76593f8a08
commit fb8a31ba76
1 changed files with 3 additions and 2 deletions

View File

@ -56,8 +56,9 @@ def check_cdrom_option_error(options):
if options.cdrom_short:
if "://" in options.cdrom_short:
fail("-c specified with what looks like a libvirt URI. "
"Did you mean to use --connect? If not, use --cdrom instead")
fail(_("-c specified with what looks like a libvirt URI. "
"Did you mean to use --connect? If not, use --cdrom "
"instead"))
options.cdrom = options.cdrom_short