75 Commits

Author SHA1 Message Date
HellAholic
0d5b57e261
Merge branch 'main' into CURA-7435_3DConnexion 2025-02-13 11:36:06 +01:00
Erwan MATHIEU
01fd82e8e5
Merge branch 'main' into fix_qml_py_re 2025-02-11 13:19:50 +01:00
Erwan MATHIEU
b2bb7c6c3e Allow giving a specific OS when looking for pip package
CURA-12404
2025-02-07 15:08:25 +01:00
c.lamboo
7a962216fb Merging CURA-7435_3DConnexionII 2025-01-24 13:20:41 +01:00
Erwan MATHIEU
8e25302753 Merge remote-tracking branch 'origin/main' into CURA-11622_conan_v2 2024-11-27 17:40:09 +01:00
Erwan MATHIEU
918fe92939 Remove lokalize useless comments 2024-10-14 09:30:31 +02:00
Erwan MATHIEU
88c846cbd4 Add script to gater hashes of Pypi packages 2024-09-23 12:42:48 +02:00
Erwan MATHIEU
ff6c8ee49a Add script to easily gather packages hashes 2024-09-20 17:00:06 +02:00
David Fries
6e3e3e6742 Use raw strings for regular expressions with invalid escape sequences
If "T(\d*)" was "T(\n*)" it would search for newlines.  There isn't
any such \d escape character.

It should be "T(\\d*)" or r"T(\d*)" going with the latter, to be
easier to read and be consistent with other Cura usage.

Start python with -Wd or for python 3.12 will raise a SyntaxWarning.
2024-08-31 12:11:59 -05:00
Erwan MATHIEU
c02c3500c6 Fix changelog extraction for minor releases 2024-06-05 14:15:40 +02:00
Erwan MATHIEU
b71662f4dd Add scripts for process automation 2024-06-05 09:19:10 +02:00
Erwan MATHIEU
c1d57d4b0d Avoid using a temporary file to extract the old translations 2024-03-21 14:01:40 +01:00
Saumya Jain
aaf7f0dc70 check_missing_translations for windows
fixing the paths to be used correctly

CURA-11732
2024-03-21 09:57:24 +01:00
Erwan MATHIEU
3f8dfa242f Use argparse to parse the script arguments 2024-03-21 08:48:15 +01:00
Erwan MATHIEU
39e2579153 Add script to check/fix missing translations 2024-03-20 09:59:48 +01:00
Dmitry Gribenchuk
8116df6c21
cleanup unused import and fix comment space 2023-12-13 20:10:28 +02:00
Jelle Spijker
01d22d1ad4
Also check on Uranium.pot
Contribute to CURA-10376
2023-04-05 12:35:23 +02:00
Jelle Spijker
1763b9bf9d
filter on relevant cura files
Contribute to CURA-10376
2023-04-04 15:47:56 +02:00
c.lamboo
af4efad1cf Don't capitalize "UltiMaker" for brand names
CURA-10376
2023-04-03 21:46:51 +02:00
c.lamboo
ef09fe640b Fix removing tu elements
CURA-10376
2023-04-03 21:46:24 +02:00
Jelle Spijker
19b3c93a0c
Hand-over
Contribute to CURA-10376
2023-04-03 13:51:03 +02:00
Jelle Spijker
0feda7fe08
Sanitize the fuzzy key string before match
Contribute to CURA-10376
2023-04-03 13:29:05 +02:00
Jelle Spijker
1792f80ac8
Sanitize the string before write
Contribute to CURA-10376
2023-04-03 13:12:23 +02:00
Jelle Spijker
95962b2914
Set fuzz_match_key
Contribute to CURA-10376
2023-04-03 12:42:04 +02:00
Jelle Spijker
f190b0395d
Added script to fix a tmx file with existing po files
Contribute to CURA-10376
2023-04-03 10:54:45 +02:00
jspijker
9bb1383da2 revert changes to tag script 2022-10-05 09:34:56 +02:00
Ghostkeeper
5b2a482916
Add quick script to rename Cura 1 tags
Reasons are documented in the file.
2022-06-21 14:51:09 +02:00
j.delarago
77f5c91b77
Update names of function calls
CURA-9141
2022-05-16 13:33:56 +02:00
j.delarago
63e6b7704c
Use startswith for more pythonic code.
Swap out while True with for line in f.readlines. This will now termitate without having to catch a StopIteration error.

CURA-9141
2022-05-16 13:33:56 +02:00
Joey de l'Arago
b04f3bd587
Code style and typing improvements
Co-authored-by: Jaime van Kessel <nallath@gmail.com>
2022-05-16 13:33:33 +02:00
j.delarago
fe261d31a2
Added my script for updating one of our po files with a po file from the community. This should save some time next time we get a scrambled po file.
CURA-9141
2022-05-16 13:33:18 +02:00
Ghostkeeper
06bbeff21a
Merge branch 'marketplace_redesign' 2022-02-02 15:39:21 +01:00
j.delarago
092dd8a918 Add imports for typing, add spacing
CURA-7541
2022-01-31 13:35:42 +01:00
Joey de l'Arago
736988da7c
Add space around operators
Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
2022-01-31 12:30:09 +00:00
Joey de l'Arago
8f58c786bb
Add Typing
Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
2022-01-31 12:29:49 +00:00
Joey de l'Arago
7dd4a3b8bd
Add typing
Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
2022-01-31 12:29:39 +00:00
Joey de l'Arago
7479aafe13
Fix incorrect comment
Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
2022-01-31 12:29:23 +00:00
j.delarago
31e11c415d Add obj_trimmer.py script for trimming obj files used for printer base plates.
CURA-7541
2022-01-31 09:20:53 +01:00
Remco Burema
b794ad6ed2
Delete old 'Toolbox' in favour of new Marketplace.
part of CURA-8588
2021-12-30 11:51:54 +01:00
luz paz
d68f375e38 Fix various typos
Found via `codespell -q 3 -S *.po,*.pot -L childs,initialy,lod,ned,te,slicable,sur,tutoriels,wont`
2021-09-07 11:33:54 -04:00
Ghostkeeper
e705bbea4b
Add usage instructions for the next time
We keep forgetting.

Contributes to issue CURA-8472.
2021-09-06 13:37:12 +02:00
Jaime van Kessel
e9d1e91ec2
Convert identation to spaces for line_length_checker script 2021-05-18 11:40:14 +02:00
Jaime van Kessel
0ddc6e1c58
Add line length checker script 2021-05-18 11:37:16 +02:00
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