ebrahimraeyat / SteelColumn

This is a workbench that execute in FreeCAD software. It gives column height and sections and draw those columns and can export to DXF.
GNU General Public License v3.0
7 stars 2 forks source link

Translate SteelColumn/momen Workbench #2

Open luzpaz opened 3 years ago

luzpaz commented 3 years ago

https://wiki.freecadweb.org/Translating_an_external_workbench
https://github.com/FreeCAD/FreeCAD-addons/issues/187

ebrahimraeyat commented 3 years ago

Hi @luzpaz. I started to prepare the files. but some question:

  1. lupdate command don't act recursively, even if I add recursive option.
  2. in this step: Send the .ts file to a translation platform, how can I automatically sync that with GitHub?

thanks.

luzpaz commented 3 years ago
  1. What do you mean? Can you show an example? Also what version of Qt are you running?
  2. We use crowdin scripts to automatically interact with crowdin and github
    See https://wiki.freecadweb.org/Crowdin_Scripts
    We should create a template for external workbench devs
luzpaz commented 1 week ago

bump @ebrahimraeyat

//cc @hasecilu @kaktusus

hasecilu commented 1 week ago

Hi, currently I got some errors at startup, maybe with an older AppImage I'm able to test it, I could start checking it like in 3 days

12:43:25  Init:      Initializing /home/uli/.local/share/FreeCAD/Mod/SteelColumn... failed
12:43:25  ----------------------------------------------------------------------------------------------------
12:43:25  Traceback (most recent call last):
  File "<string>", line 142, in RunInitGuiPy
  File "/home/uli/.local/share/FreeCAD/Mod/SteelColumn/InitGui.py", line 28, in <module>
    Gui.addWorkbench(SteelColumnWorkbench())
                     ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/uli/.local/share/FreeCAD/Mod/SteelColumn/InitGui.py", line 8, in __init__
    import section
  File "/home/uli/.local/share/FreeCAD/Mod/SteelColumn/section.py", line 12, in <module>
    from PySide2.QtGui import *
  File "/usr/lib/python3.12/site-packages/PySide2/__init__.py", line 107, in <module>
    _setupQtDirectories()
  File "/usr/lib/python3.12/site-packages/PySide2/__init__.py", line 58, in _setupQtDirectories
    import shiboken2
  File "/usr/lib/python3.12/site-packages/shiboken2/__init__.py", line 30, in <module>
    _init_pyside_extension()
    ^^^^^^^^^^^^^^^^^^^^^^
NameError: name '_init_pyside_extension' is not defined
12:43:25  ----------------------------------------------------------------------------------------------------
12:43:25  During initialization the error "name '_init_pyside_extension' is not defined" occurred in /home/uli/.local/share/FreeCAD/Mod/SteelColumn/InitGui.py
12:43:25  Please look into the log file for further information