mirror of
https://github.com/NaitLee/Cat-Printer.git
synced 2025-05-16 07:10:30 -07:00
begin localising the IM error
This commit is contained in:
parent
dbe18dd89e
commit
d53bbef482
@ -593,7 +593,7 @@ def fallback_program(*programs):
|
||||
|
||||
_MagickExe = fallback_program('magick', 'magick.exe', 'convert', 'convert.exe')
|
||||
if _MagickExe is None:
|
||||
error('ImageMagic not found. Please install and configure as per readme.')
|
||||
error(i18n("imagemagick-not-found"))
|
||||
|
||||
def magick_text(stdin, image_width, font_size, font_family):
|
||||
'Pipe an io to ImageMagick for processing text to image, return output io'
|
||||
|
@ -159,5 +159,7 @@
|
||||
"test-unknown-device": "Test Unknown Device",
|
||||
"scan": "Scan",
|
||||
"now-will-scan-for-all-bluetooth-devices-nearby": "Scan set to search for all bluetooth devides nearby.",
|
||||
"pf2-font-not-found-or-broken-0": "PF2 font not found or broken: '{0}'"
|
||||
"pf2-font-not-found-or-broken-0": "PF2 font not found or broken: '{0}'",
|
||||
"imagemagick-not-found": "ImageMagick not found, please install it before trying any command line hackery."
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user