From db15bc84cf32a6f454e7a4a2fcc362fa5d7640b3 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Mon, 20 Jul 2020 13:36:49 +0200 Subject: Correct and consistent spelling of g-code This spelling is in Ultimaker's style guide. We use g-code, and capitalise the G if it's at the start of a sentence or header. Pretty good score, considering there are literally thousands of user- or log-visible strings mentioning g-code across Cura. --- scripts/check_gcode_buffer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/check_gcode_buffer.py b/scripts/check_gcode_buffer.py index 321b2439c0..ed093089e4 100755 --- a/scripts/check_gcode_buffer.py +++ b/scripts/check_gcode_buffer.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2018 Ultimaker B.V. +# Copyright (c) 2020 Ultimaker B.V. # Cura is released under the terms of the LGPLv3 or higher. import copy @@ -522,7 +522,7 @@ class CommandBuffer: if __name__ == "__main__": if len(sys.argv) < 2 or 3 < len(sys.argv): - print("Usage: [output gcode]") + print("Usage: [output g-code]") sys.exit(1) in_filename = sys.argv[1] out_filename = None -- cgit v1.2.3