yorikvanhavre / BIM_Workbench

A BIM Workbench for FreeCAD
363 stars 77 forks source link

BIM Workbench clashe after open Configuration BIM dialog #91

Closed angayap closed 2 years ago

angayap commented 2 years ago

Hello, on fresh install freeCAD an BIM WB: Language : French

13:12:24 Running the Python command 'BIM_Setup' failed: Traceback (most recent call last): File "E:\FreeCAD\FreeCAD_weekly-builds-27809\Mod\BIM.\BimSetup.py", line 241, in Activated statuswidget.nudge.setText(FreeCAD.Units.Quantity(statuswidget.nudge.text().replace("&","")).UserString)

After investigate:

there is translation error in BIM_fr.ts: https://github.com/yorikvanhavre/BIM_Workbench/blob/1c29852efcda484ac4dfe52602be936b3f602b96/translations/BIM_fr.ts#L166-L169 ` Auto

Plan de travail
</message>`     

must be ` Auto

**Auto**
</message>`

Auto is Auto in French

Version info : OS: Windows 10 (10.0) Word size of FreeCAD: 64-bit Version: 0.20.27809 (Git) Build type: Release Python 3.8.12, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3 Locale: French/France (fr_FR) Installed mods:

yorikvanhavre commented 2 years ago

Thanks for reporting! Fixed now, plus another annoying bug that opened the set style dialog...

angayap commented 2 years ago

Hello, no work. the error is language translation Bim_fr.ts https://github.com/yorikvanhavre/BIM_Workbench/blob/707213979c4394beac82068390229a4326d3c987/translations/BIM_fr.ts#L168

must be <translation>Auto</translation>