Commit f9d7f331 authored by Guillaume Seguin's avatar Guillaume Seguin

Make error message translatable

parent f3b14c65
......@@ -589,7 +589,7 @@ class printcore():
self.writefailures = 0
except socket.error as e:
if e.errno is None:
self.logError("Can't write to printer (disconnected ?):" +
self.logError(_(u"Can't write to printer (disconnected ?):") +
"\n" + traceback.format_exc())
else:
self.logError(_(u"Can't write to printer (disconnected?) (Socket error {0}): {1}").format(e.errno, decode_utf8(e.strerror)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment