Commit 8b49127a authored by Guillaume Seguin's avatar Guillaume Seguin

Remove translatable string from gcoder to remove i18n

parent 0a7f2335
...@@ -21,9 +21,6 @@ import datetime ...@@ -21,9 +21,6 @@ import datetime
import logging import logging
from array import array from array import array
from .utils import install_locale
install_locale('pronterface')
gcode_parsed_args = ["x", "y", "e", "f", "z", "i", "j"] gcode_parsed_args = ["x", "y", "e", "f", "z", "i", "j"]
gcode_parsed_nonargs = ["g", "t", "m", "n"] gcode_parsed_nonargs = ["g", "t", "m", "n"]
to_parse = "".join(gcode_parsed_args + gcode_parsed_nonargs) to_parse = "".join(gcode_parsed_args + gcode_parsed_nonargs)
...@@ -70,7 +67,7 @@ def split(line): ...@@ -70,7 +67,7 @@ def split(line):
if not split_raw: if not split_raw:
line.command = line.raw line.command = line.raw
line.is_move = False line.is_move = False
logging.warning(_("raw G-Code line \"%s\" could not be parsed") % line.raw) logging.warning("raw G-Code line \"%s\" could not be parsed" % line.raw)
return [line.raw] return [line.raw]
command = split_raw[0] if split_raw[0][0] != "n" else split_raw[1] command = split_raw[0] if split_raw[0][0] != "n" else split_raw[1]
line.command = command[0].upper() + command[1] line.command = command[0].upper() + command[1]
......
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