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.
This commit is contained in:
Ghostkeeper 2020-07-20 13:36:49 +02:00
parent e6c305de40
commit db15bc84cf
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A
8 changed files with 24 additions and 17 deletions

View file

@ -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: <input gcode> [output gcode]")
print("Usage: <input g-code> [output g-code]")
sys.exit(1)
in_filename = sys.argv[1]
out_filename = None