Commit Graph

83 Commits

Author SHA1 Message Date
Chris Hennes
ce1151609e Tools: Add Surface to translations 2025-12-25 19:06:55 +01:00
Chris Hennes
c2205e8009 Tools: Small improvements to translation extraction
1) Block a problematic BIM file from extraction
2) Implement advanced scanning system to better report problems
3) Limit number of jobs in CrowdIn push to prevent 403 errors
2025-08-25 17:39:40 +02:00
mosfet80
8ba6d38bdd [Mod] Drawing remove (#20419)
* [Mod] Draw remove

removed deprecated drawing module

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-05-12 17:43:25 +02:00
Chris Hennes
7640e8ddd1 Addon Manager: Move to git submodule (#20672) 2025-04-08 16:40:31 +02:00
hasecilu
00d5866be1 Measure: add translation source file for uploading to Crowdin 2025-03-13 10:21:10 -06:00
Andrea
cca14cf164 Remove old qt code
new round of removal following the report of @benj5378  .

.
2025-03-05 09:46:35 +01:00
David Carter
43337a9045 Material: Update translation paths
Correct issue where the translations were being generated from the
wrong source. All translatable files were moved to the MatGui library.
2024-07-15 20:59:10 -05:00
Chris Hennes
73ae4102e6 Update translations
Arch->BIM is a WIP
2024-05-25 19:11:51 -05:00
Chris Hennes
a5d8aaa21c Update translations
Also removes Web from translation scripts.
2024-05-06 18:17:53 +02:00
Chris Hennes
32a957bd07 Translation update: move Path to CAM 2024-03-25 17:32:59 -05:00
Chris Hennes
3acc72a901 Tools: Path -> CAM 2024-03-13 14:04:20 -05:00
PaddleStroke
b85e672226 Assembly fixes 2024-02-13 08:26:54 +01:00
mos
4ce1d9d11c removed pylupdate4 used in qt4 2023-11-06 11:18:07 -06:00
Yorik van Havre
31b0896cf0 Merging the Help module (#11008)
* Adding the Help module - fixes 10527, fixes #10512

* Aded Help to pre-commit

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-10-16 11:17:06 -05:00
Chris Hennes
b2042f36c6 Tools: Fix Start translation TS file name 2023-09-07 23:05:25 +02:00
Chris Hennes
58cf9f3212 Update translations
Adds the ten units strings from Base as well.
2023-08-16 22:50:39 -05:00
Chris Hennes
be890eb29f Tools: Add exclusion list to lupdate calls 2023-05-05 18:41:51 -05:00
Chris Hennes
0a1b703b5a Mods: Remove Raytracing
Deprecated. Replaced by 3rd party addon 'Render'.
2023-05-02 12:49:54 -05:00
Chris Hennes
99cd277a93 Tools: Apply pre-commit autoformatting 2023-04-22 13:07:06 -05:00
Yorik van Havre
12b106b347 [Tools] fixed encoding error in updatets script 2023-04-20 13:53:21 +02:00
Chris Hennes
2dabffbf6c Tools: Apply Black formatter to updatets.py 2023-04-16 20:54:32 -05:00
Chris Hennes
e363a27c97 Tools/updatets.py: clean up file formatting issues. 2023-04-16 20:54:22 -05:00
ronnystandtke
144b2158dd Removed Image workbench from directories list (#9275) 2023-04-15 15:06:05 -05:00
mosfet80
bed7b76524 remove Python2 code 2023-03-04 17:51:43 -06:00
luzpaz
79e150a81b Fix trailing whitespace, typos, headers
Fix trailing whitespace, typos, and header uniformity.
2023-01-23 00:34:37 +01:00
Yorik van Havre
c29d2faf52 Tools: Fixed updatets script not picking py files 2022-12-22 13:34:31 +01:00
Yorik van Havre
635a1a1f47 Tools: Fixed minor bug in updatets 2022-12-22 10:34:34 +01:00
Kuzemko Alexsandr
2eb55d48c7 [App] Fix of untranslated first document's name (#7156)
* Change no need function newDocument("Unnamed") call to variant without parameter. "Unnamed" set in App newDocument function instead.
* Refactor New Document command to run without parameter.
* Translate new document's userName. Internal name = "Unnamed".
* Crowdin Add to updatets.py App.ts. Create new file App.ts
* Fix error where document name is set with one function parameter. In this situation set internal and user name to string variable. For default function call (without parameter) set internal name to Unnamed, userName = translate ("Unnamed")
2022-10-20 21:35:09 -05:00
Yorik van Havre
8558d27776 Tools: Added support for pylupdate6 in translation handling scripts 2022-10-06 12:16:14 +02:00
Kuzemko Alexsandr
bd7d4273f3 Crowdin Add Material to updatets.py script and create new Material.ts 2022-06-21 17:45:25 +03:00
Kuzemko Alexsandr
648b97e283 Crowdin Add no-sort option to lupdate. 2022-06-21 17:29:22 +03:00
Kuzemko Alexsandr
a858de0046 Crowdin Add Inspection WB to updatets.py script 2022-06-21 17:28:40 +03:00
Kuzemko Alexsandr
3457b974d9 Crowdin Add full Part directory back to search path. 2022-06-04 15:09:19 -04:00
Chris Hennes
f966861a80 Tools: Manually search for translatable files 2022-06-02 14:58:44 -05:00
Chris Hennes
8f38236c49 Tools: Fix issues with updatets.py 2022-06-02 13:37:28 -05:00
Chris Hennes
54ffceea51 Tools: Add Windows and Qt6 support to updatets.py 2022-06-01 21:30:27 -05:00
Yorik van Havre
4244f0cb49 Tools: Favor the use of pylupdate5 over pyside2-lupdate in translation scripts (pyside2-lupdate doesn't encode properly). 2022-05-05 14:17:27 +02:00
Chris Hennes
e7e0dc292b Tools: Fix translation extraction bug 2022-04-21 10:55:45 -05:00
Yorik van Havre
53e9356521 Tools: Removed Assembly from updatets script 2022-03-23 10:24:43 +01:00
wmayer
859a9ce75c Tools: lgtm: removes unused imports in Python scripts 2022-03-20 21:41:30 +01:00
andrea reale
83d3a916c0 remove QT4 references 2022-03-19 23:07:38 +01:00
Yorik van Havre
85e833399b Tools: Allow to treat one single module with updatets script 2022-02-17 13:35:47 +01:00
Yorik van Havre
9c735c7d20 Tools: Using recursive option in lupdate script 2022-01-26 13:59:19 +01:00
Chris Hennes
be11d40603 Tools: Add workaround for lupdate missing source
lupdate requires at least one C++ source file to be present in order
to process the project file. In cases where a workbench is Python-only,
this resulted in incorrect or missing extraction of strings in ui files.
Those files should have been processed by lupdate, but were not.
pyludate was not configured to process them. To work around this, the
updatets.py script is modified to create a dummy *.cpp file before
running qmake.
2022-01-01 15:20:43 -06:00
Chris Hennes
0b8e3948a3 [Tools] Strip translations from base TS files 2021-09-30 15:13:26 -05:00
Chris Hennes
986a52c96f [Tools] Refactor updatets to support two-lang mods 2021-09-17 10:22:35 -05:00
Yorik van Havre
3d8e471599 Tools: Removed Plot from translation scripts 2021-08-26 14:50:36 +02:00
Yorik van Havre
cc17c23e75 Merge pull request #4900 from sanguinariojoe/del_ship
Ship: Remove Ship module
2021-08-16 17:30:43 +02:00
Chris Hennes
ae4711cd89 Add PartDesign Python commands for translation (#4961)
Fixes #4583
2021-08-11 14:51:18 -05:00
Jose Luis Cercos-Pita
ecdd01dd7d Remove Ship module 2021-07-05 09:24:21 +02:00