kbwbe / A2plus

Another assembly workbench for FreeCAD, following and extending Hamish's Assembly 2 workbench
GNU Lesser General Public License v2.1
168 stars 69 forks source link

Change pathOfModule() #584

Closed PushKK closed 1 year ago

PushKK commented 1 year ago

pathOfModule() not work in FreeCAD 0.19 and 0.21 both. What I did:

  1. Change pathOfModule() for work in both FreeCAD versions,
  2. Change getLanguagePath(),
  3. Rename pathOfModule() to get_module_path() in all .py files.

I test it in Linux 64-bit. I test it in Windows 10 64-bit too.

kbwbe commented 1 year ago

Thanks a lot @PushKK . This is the first time that translations really work on my system. ( Linux Mint 20.3 Cinnamon, FC 0.19.2 )