Commit Graph

27293 Commits

Author SHA1 Message Date
Chris Hennes
c62dc32739 Addon Manager: Translation cleanup
pylupdate does not extract translations when f-strings are used for the
translated text, so all f-strings are migrated to calls to format().
Several other minor translation issues are also addressed.

NOTE: This code has been run through the Black reformatter, which adds
trailing commas in many places that the stock Qt 5.x pylupdate does not
recognize. This code must be processed with the corrected pylupdate to
generate the correct translations.
2022-01-27 23:11:31 -06:00
Mateusz Skowroński
d1f30a9d9b Qt::TextColorRole is obsolete. Use ForegroundRole instead. 2022-01-27 14:37:50 -06:00
0penBrain
9f43830c10 [TD] Prevent crash when snapping leader line 2022-01-27 15:13:03 -05:00
sliptonic
ce2f7254f0 Merge pull request #5442 from sliptonic/bug/translationAreaOp
[PATH] Bug/translation cleanup (surface, waterline, propertybag, area ops)
2022-01-27 11:39:44 -06:00
Chris Hennes
e71c9a91af AddonManager: Correct bug with older Qt data 2022-01-27 10:48:25 -06:00
Chris Hennes
77be240b68 Addon Manager: Eliminate use of QDeadlineTimer
This class is apparently missing in some installs of Qt 5.11.3, so
remove the use of it.
2022-01-26 23:14:00 -06:00
benj5378
256acd4aa9 Black 2022-01-27 09:44:44 -05:00
benj5378
e8d7973982 Remove unused modules and variables 2022-01-27 09:44:44 -05:00
benj5378
e7378a9179 Refactor counting for moved views 2022-01-27 09:44:17 -05:00
benj5378
d2fff3465f Black 2022-01-27 09:44:17 -05:00
benj5378
b64b5f78b0 Remove unused modules 2022-01-27 09:44:17 -05:00
Wanderer Fan
959061720f [TD]Allow override of dimension line angles 2022-01-27 09:42:49 -05:00
wmayer
96aa87a45f Fem: fix possible crash when loading a VTK file 2022-01-27 10:37:16 +01:00
Chris Hennes
bfcf054284 Addon Manager: Refactor to eliminate extra event loop 2022-01-26 22:02:08 -06:00
Uwe
cd9310a4fc don't force CRC
Forcing CRC (cyclic redundancy check) is the safest method but when installing silently
one gets a shop popup about the ongoing CRC and this was reported as bug.

As solution just turn CRC on and users of the silent installer mode can omit the CRC
by setting a flag.
2022-01-27 03:57:40 +01:00
Chris Hennes
8809ed4253 Addon Manager: Improve startup speed 2022-01-26 18:41:14 -06:00
sliptonic
23057dc4ba PropertyBag translation cleanup 2022-01-26 18:36:58 -06:00
sliptonic
69e7a2e9fd surface and waterline translation 2022-01-26 18:36:06 -06:00
sliptonic
bb1cde0c3a remove items from comboboxes 2022-01-26 18:36:06 -06:00
sliptonic
9dc338d8f1 surface translation cleanup 2022-01-26 18:36:06 -06:00
sliptonic
23f9eb7bed translation cleanup circularholebase 2022-01-26 18:36:06 -06:00
sliptonic
c46f12ec9e AreaOp translation cleanup 2022-01-26 18:36:06 -06:00
sliptonic
151288f678 Black
Black (surface)

waterline black

propertybag black
2022-01-26 18:36:06 -06:00
sliptonic
a770c1c1b9 Merge pull request #5446 from sliptonic/bug/marlinpost
[Path] fix default unit string for mm/min
2022-01-26 18:32:10 -06:00
luz paz
88e5de6f43 Fix typos [skip ci]
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,anormal,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childrens,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,itsel,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oce,oder,ontop,orgin,orginx,orginy,ot,pard,parm,parms,pres,programm,que,rady,recurrance,ro,rougly,seperator,serie,sinc,strack,substraction,te,technic,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml,./src/Base/StackWalker.cpp,./build/doc/SourceDocu`
2022-01-27 00:29:50 +01:00
wmayer
674871a393 Base: implement some convenience methods to get/set rows/columns of a matrix 2022-01-27 00:24:44 +01:00
wmayer
f0f115cbf9 zipios++: modernize C++11
* use nullptr
* replace deprecated headers
2022-01-26 21:54:52 +01:00
wmayer
2f5e499868 kdtree++: modernize C++11 2022-01-26 21:54:29 +01:00
wmayer
59e605e6b8 Mesh: modernize C++11
* remove redundant void-arg
* use nullptr
* replace deprecated headers
2022-01-26 18:05:02 +01:00
wmayer
213311524e Image: modernize C++11
* remove redundant void-arg
* use nullptr
* replace deprecated headers
2022-01-26 17:55:10 +01:00
wmayer
cdf755ec71 Points: modernize C++11
* remove redundant void-arg
* use nullptr
2022-01-26 17:53:41 +01:00
wmayer
bfc6ffe455 Sandbox: modernize C++11 2022-01-26 17:47:25 +01:00
sliptonic
1f715ac80e fix default unit string for mm/min 2022-01-26 10:46:05 -06:00
wmayer
60d32ee475 Test: modernize C++11
* remove redundant void-arg
* use nullptr
2022-01-26 17:46:02 +01:00
sliptonic
ccb63a8dbe Merge pull request #5436 from sliptonic/bug/translationJob
[PATH] More translation cleanup (job, profile, dressups)
2022-01-26 09:36:11 -06:00
Roy-043
e72537ae5b Update CommandExtensionPack.cpp
Added the missing bracket!
2022-01-26 08:48:42 -05:00
Roy-043
0a23730be9 Update CommandExtensionPack.cpp
Delta Distance was added to the dialog box.
2022-01-26 08:48:42 -05:00
Roy-043
8c062b9f06 Update CommandExtensionPack.cpp
Modifications as suggested by Edi.
2022-01-26 08:48:42 -05:00
Roy-043
af7d7f6b40 Update CommandExtensionDims.cpp
Modifications as suggested by Edi.
2022-01-26 08:48:42 -05:00
Roy-043
5f8445a5a3 Update Workbench.cpp
I did no realize that there is a `ToolBars` section and a `CommandBars` section in the file. In the previous version I did not edit the ToolBars section. Both sections now match. Sorry for the confusion.

Are `CommandBars` still used? I seem to remember that they are obsolete.
2022-01-26 08:48:42 -05:00
Roy-043
4ae9d0db73 Update Workbench.cpp
I had to rebase this file, and forgot one diff. Should be fixed now.
2022-01-26 08:48:42 -05:00
Roy
b974da4ea6 TechDraw: Ext. Tools: Improve menu texts and tooltips 2022-01-26 08:48:42 -05:00
wmayer
a87e33258d Gui: remove support of using deprecated Qt OpenGL API 2022-01-26 14:46:41 +01:00
Yorik van Havre
233182dcd6 Merged crowdin translations 2022-01-26 14:15:14 +01:00
Yorik van Havre
094036c3c7 Regenerated ts files 2022-01-26 13:59:39 +01:00
Yorik van Havre
9c735c7d20 Tools: Using recursive option in lupdate script 2022-01-26 13:59:19 +01:00
wmayer
cf8eaccc79 MeshPart: raise runtime error in meshFromShape() if smesh was built without netgen support 2022-01-26 11:56:23 +01:00
marioalexis
0a6a0dd499 Gui: Add functionality to enable/disable block shape cursor in text editor and console 2022-01-26 11:53:29 +01:00
howetuft
8e87eca83c Set App::Part Material property type to App::PropertyLink
App::Part Material property type is currently App::PropertyMap, but to
be consistent with other domains using materials (like Arch, especially), it
should rather be App::PropertyLink, in order to link to a Material
card.
2022-01-25 23:20:46 +01:00
Chris Hennes
f9d69a1464 Addon Manager: Confirm delete 2022-01-25 13:32:02 -06:00