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 @@
# Copyright (c) 2017 Aleph Objects, Inc.
# Copyright (c) 2018 Ultimaker B.V.
# Copyright (c) 2020 Ultimaker B.V.
# Cura is released under the terms of the LGPLv3 or higher.
from typing import Optional, Union, List, TYPE_CHECKING
@ -32,7 +32,7 @@ class GCodeReader(MeshReader):
MimeTypeDatabase.addMimeType(
MimeType(
name = "application/x-cura-gcode-file",
comment = "Cura GCode File",
comment = "Cura G-code File",
suffixes = ["gcode"]
)
)