easyw / kicadStepUpMod

kicadStepUp: ECAD to MCAD FreeCAD WorkBench
484 stars 61 forks source link

Continue translation support #211

Closed hasecilu closed 7 months ago

hasecilu commented 7 months ago

On top on previous work made by @Kuzma30 here are some advancements.

I think the progress made until now is enough for a first attempt to translate the workbench.

There are hundreds of more strings that could be also translated but since all of them are sparsed around the code would be very hard to catch'em all any time soon.

Meanwhile @kaktusus and me tested the translations on Crowdin, so officially supporting it would be very beneficial because in case of minor changes, typo fixes, etc, we can reuse strings and more fellow translators can start testing.

https://forum.freecad.org/viewtopic.php?t=85949

Related #142 Close #173

easyw commented 7 months ago

@hasecilu please check this error:

Running the Python command 'ksuToolsConstrainator' failed:
Traceback (most recent call last):
  File "C:\Users\userC\AppData\Roaming\FreeCAD\Mod\kicadStepUpModTranslationTest\.\kicadStepUpCMD.py", line 2018, in Activated
    ui.setupUi(CDialog)
  File "C:\Users\userC\AppData\Roaming\FreeCAD\Mod\kicadStepUpModTranslationTest\.\kicadStepUpCMD.py", line 736, in setupUi
    self.Label_howto.setToolTip(translate("Ui_CDialog", "Select a Sketch and Parameters\n"

name 'translate' is not defined

and

Running the Python command 'ksuToolsMoveSketch' failed:
Traceback (most recent call last):
  File "C:\Users\userC\AppData\Roaming\FreeCAD\Mod\kicadStepUpModTranslationTest\.\kicadStepUpCMD.py", line 1032, in Activated
    ui.setupUi(offsetDlg)
  File "C:\Users\userC\AppData\Roaming\FreeCAD\Mod\kicadStepUpModTranslationTest\.\kicadStepUpCMD.py", line 656, in setupUi
    Offset_value.setWindowTitle(translate("Ui_Offset_value", "Offset value"))

name 'translate' is not defined:43  Running the Python command 'ksuToolsMoveSketch' failed:
Traceback (most recent call last):
  File "C:\Users\userC\AppData\Roaming\FreeCAD\Mod\kicadStepUpModTranslationTest\.\kicadStepUpCMD.py", line 1032, in Activated
    ui.setupUi(offsetDlg)
  File "C:\Users\userC\AppData\Roaming\FreeCAD\Mod\kicadStepUpModTranslationTest\.\kicadStepUpCMD.py", line 656, in setupUi
    Offset_value.setWindowTitle(translate("Ui_Offset_value", "Offset value"))

name 'translate' is not defined
hasecilu commented 7 months ago

Ooops, it seems I forget to include it.

Also I removed ksu_prefs-v1.ui , ksu_prefs-v2b.ui , offset_selection.ui , offset_selection-v2.ui, layer-selection-out.ui & layer-selection.ui files from script. Could you check again.

easyw commented 7 months ago

thank you all for this great contribution 😄

hasecilu commented 6 months ago

Now to continue the translation efforts to more languages would you like KiCadStepUp WB to be added to Crowdin platform? where 5 other WB have been added very recently and waiting for a few more

luzpaz commented 3 weeks ago

@easyw are you open to uploading translations to crowdin ? (per https://github.com/easyw/kicadStepUpMod/pull/211#issuecomment-1991762153)

hasecilu commented 3 weeks ago

@easyw are you open to uploading translations to crowdin ? (per #211 (comment))

Already is on CrowdIn, we talked about it on the forum: https://forum.freecad.org/viewtopic.php?t=85949&start=10

kaktusus commented 3 weeks ago

I've been thinking lately about whether to update all those cool worbenches at Crowdin...

hasecilu commented 3 weeks ago

At least wait a little bit for Reinforcement's Spanish translation, still testing it.