hig a string
This commit is contained in:
parent
8e609b36de
commit
d549183d4e
|
@ -128,7 +128,8 @@ class VcardWindow:
|
||||||
if file:
|
if file:
|
||||||
filesize = os.path.getsize(file) # in bytes
|
filesize = os.path.getsize(file) # in bytes
|
||||||
if filesize > 8192:
|
if filesize > 8192:
|
||||||
dialogs.ErrorDialog(_('The filesize of image "%s" is too large') % file, _('The file must not be more than 8 kilobytes')).get_response()
|
dialogs.ErrorDialog(_('The filesize of image "%s" is too large') % file,
|
||||||
|
_('The file must not be more than 8 kilobytes.')).get_response()
|
||||||
return
|
return
|
||||||
fd = open(file)
|
fd = open(file)
|
||||||
data = fd.read()
|
data = fd.read()
|
||||||
|
|
Loading…
Reference in New Issue