Erwan MATHIEU
918fe92939
Remove lokalize useless comments
2024-10-14 09:30:31 +02: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
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