32 Commits

Author SHA1 Message Date
Ghostkeeper
db15bc84cf
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.
2020-07-20 13:36:49 +02:00
Nino van Hooff
89f0970a88 Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
Nino van Hooff
fe779d9501 Convert doxygen to rst for Cura scripts 2020-05-28 16:25:26 +02:00
Ghostkeeper
a314c4943b
Fix import script if Uranium is not on your PYTHONPATH
It was doing an os.path.exists on the relative path which has no context of where we're looking from. So make it absolute first and then check for the existence of the file. Also take the correct parent folder then and improve debug output.
2020-04-15 18:08:04 +02:00
Nino van Hooff
2e20bf6a98 Update invalid imports checker documentation
Makes it consistent with other checkers we already have
2020-01-20 16:35:32 +01:00
Nino van Hooff
b830a6faa3 Rewrite invalid imports checker to Python
Makes it consistent with other checkers we already have
2020-01-20 16:24:26 +01:00
Remco Burema
0b27119001 Fix encoding/decoding issues (Windows) for i18n import script.
part of CURA-6663
2019-08-08 15:47:05 +02:00
Ghostkeeper
b1cbaaef72
Fix warning message appearing for plural forms
There is no msgstr then so it thinks it's empty.

Contributes to issue CURA-6663.
2019-07-26 15:53:42 +02:00
Ghostkeeper
79d57ec10a
Fix comparisons when source is single-line but dest is multi-line
Or vice-versa. It's now agnostic to number of lines.

Contributes to issue CURA-6663.
2019-07-26 15:43:19 +02:00
Ghostkeeper
9e059b7a1a
Fix writing files with plural forms
Contributes to issue CURA-6663.
2019-07-26 15:31:42 +02:00
Ghostkeeper
23826d3404
Write resulting file
It seems to fail now for plurals. I didn't think of that yet.

Contributes to issue CURA-6663.
2019-07-26 15:07:26 +02:00
Ghostkeeper
58c32f97a1
Add documentation
Contributes to issue CURA-6663.
2019-07-26 14:23:04 +02:00
Ghostkeeper
a3611404d6
Find translations in source file
So it can add the translations to the destination file.

Contributes to issue CURA-6663.
2019-07-26 14:20:06 +02:00
Ghostkeeper
3f7bd2ac23
Handle iterating over source files and finding correct destination file
Contributes to issue CURA-6663.
2019-07-26 13:48:10 +02:00
Ghostkeeper
5a03ace239
Also discover Uranium translation directory
Contributes to issue CURA-6663.
2019-07-26 13:18:47 +02:00
Ghostkeeper
d1c4b63971
Add empty script to perform imports from Lionbridge
I want to automate this or it'll be a lot of work.

Contributes to issue CURA-6663.
2019-07-26 13:18:47 +02:00
Jaime van Kessel
fe9db9a260 Removed the old setting check script
CURA-5734
2018-10-01 14:51:11 +02:00
Lipu Fei
0bc91132ed Fix check_setting_visibility return value 2018-09-20 15:18:58 +02:00
Lipu Fei
72b3f9eb2a Remove debugging lines 2018-09-20 15:12:54 +02:00
Lipu Fei
2c571d5886 Rework check_setting_visibility.py 2018-09-20 15:11:41 +02:00
Lipu Fei
eb114a8529 chmod a+x check_setting_visibility.py 2018-09-20 13:50:06 +02:00
Aleksei S
cb49ffa2d2 Updated the script according to the requested changes
CURA-5734
2018-09-18 17:42:01 +02:00
Aleksei S
c764b31e06 Update unit test for 'visibilit_settings' and removed unused settings from expert.cfv
CURA-5734
2018-09-18 11:10:24 +02:00
Aleksei S
261600121a Created Cura setting visibility test 2018-09-17 15:29:02 +02:00
Jaime van Kessel
757c8754b1 Merge branch '3.5' of github.com:Ultimaker/Cura 2018-09-13 16:23:55 +02:00
Lipu Fei
7a3e61e8f1 chmod a+x check_shortcut_keys.py
CURA-5642
2018-09-13 10:56:31 +02:00
Lipu Fei
e629ea89ff Improve shortcut check script
CURA-5642

More information in the output.
2018-09-13 10:55:37 +02:00
Ghostkeeper
d7649f9ee4
Print buffer filling rate rather than time frame
The filling rate is more interesting. It's our input.
2018-09-12 11:54:35 +02:00
Lipu Fei
784f7cca76 Move shortcut key check into a separate script 2018-09-06 16:06:45 +02:00
Lipu Fei
0b6574e715 Rename script to check_gcode_buffer.py
CURA-5561
2018-09-06 15:36:13 +02:00
Lipu Fei
32a49bf8fa Make annotated output gcode optional 2018-09-06 14:39:52 +02:00
Lipu Fei
bb578be066 Move the script to scripts dir 2018-09-06 14:22:36 +02:00