Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arch → Arch menu → Reinforcement tools #224

Closed
kaktusus opened this issue May 20, 2023 · 23 comments
Closed

Arch → Arch menu → Reinforcement tools #224

kaktusus opened this issue May 20, 2023 · 23 comments

Comments

@kaktusus
Copy link
Contributor

OS: Debian GNU/Linux 12 (bookworm) (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.21.0.33110 (Git) AppImage
Build type: Release
Branch: master
Hash: 18e40941ceb36c52701a7c74ea26043ef3385701
Python 3.11.3, Qt 5.15.8, Coin 4.0.0, Vtk 9.2.2, OCC 7.7.1
Locale: Polish/Poland (pl_PL)
Installed mods: 
  * Curves 0.5.0
  * sheetmetal 0.2.56
  * Reinforcement

Tool labels are not translated.

obraz

  1. Straight Rebar
  2. U-Shape Rebar
  3. L-Shape Rebar
  4. Stirrup
  5. Bent Shape Rebar
  6. Helical Rebar
  7. Column Reinforcement
  8. Beam Reinforcement
  9. Slab Reinforcement
  10. Footing Reinforcement

all of these strings do not found in Crowdin (FreeCAD, not freecad-addons)
eg: https://crowdin.com/translate/freecad/all/en-pl?filter=basic&value=0#q=Beam%20Reinforcement

I also noticed an anomaly. I also noticed an anomaly. When I installed the BIM 2021.12.0 add-on, the labels of these tools show up as translated but only after switching to BIM workbench and then back to Arch workbench again.

In BIM, on the other hand, there is an untranslated sub-menu name Reinforcement tools - no string in Crowdin.
To be funny in Arch workbench this string is translated but I could not find it in Crowdin. 😱

Should I create a separate ticket for BIM wb? There is another lack of translation in addition to the one mentioned.

@kaktusus kaktusus changed the title Arch → Arch menu → Rebar tools Arch → Arch menu → Reinforcement tools May 20, 2023
@chennes
Copy link
Member

chennes commented May 21, 2023

@yorikvanhavre where are these strings coming from?

@yorikvanhavre
Copy link
Member

From the Reinforcement workbench at https://github.com/amrit3701/FreeCAD-Reinforcement
That addon is in https://crowdin.com/project/freecad-addons/sources/files bht the translations have not been updated recently. Maybe @amrit3701 can have a look?

@amrit3701
Copy link
Member

@yorikvanhavre @kaktusus yes, reinforcement translations are lit bit old but I will update the translations in Crowdin and let you know asap. thanks.

@kaktusus
Copy link
Contributor Author

We also have two old tickets that have not been resolved so far.

  1. [FreeCAD-addons] Reinforcement → RebarCommands (toolbar) #135

  2. [FreeCAD-addons] Reinforcement → Edit → Preferences ... → Reinforcement / BillOfMaterial #136

@amrit3701
Copy link
Member

@kaktusus

I apologise for keeping you waiting so long, but it appears that all of the reinforcement translations are available.

The problem is that if I access the Arch workbench without first opening the 'Reinforcement' workbench, the rebar tools are not translated.

image

If I opened the Reinforcement workbench once, then opened the Arch workbench, the problem automatically disappeared.

image

@yorikvanhavre Do you have any idea to load Reinforcement translation along with Arch workbench.

@kaktusus
Copy link
Contributor Author

yes I noticed that.
And I informed you about it at the beginning of the notification.

@yorikvanhavre
Copy link
Member

yorikvanhavre commented Jun 12, 2023

@yorikvanhavre Do you have any idea to load Reinforcement translation along with Arch workbench.

Are they inside a RC file? I would maybe add it here next to the Arch one, inside a try: statement:
https://github.com/FreeCAD/FreeCAD/blob/master/src/Mod/Arch/InitGui.py#L54

@kaktusus
Copy link
Contributor Author

kaktusus commented Jul 8, 2023

obraz

It is interesting that one item is displayed correctly,
after starting the program I activate Arch wb.

@amrit3701
Copy link
Member

It is interesting that one item is displayed correctly,
after starting the program I activate Arch wb.

Because Custom Rebar is the part of Arch wb and all other rebars are defined in Reinforcement wb.

@amrit3701
Copy link
Member

@kaktusus Here is PR: FreeCAD/FreeCAD#9889

We can close this ticket after the PR is merged into master.

@kaktusus
Copy link
Contributor Author

kaktusus commented Jul 8, 2023

Well,
thank you for the information.
I will close this ticket when I see a working translation in the GUI 😉

@kaktusus
Copy link
Contributor Author

kaktusus commented Jul 8, 2023

Thank you for your efforts.

@kaktusus
Copy link
Contributor Author

Fixed

OS: Debian GNU/Linux trixie/sid (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.21.0.33631 (Git) AppImage
Build type: Release
Branch: master
Hash: 2167fb6f7ec6ac5c2f6365d4c3035d2db6879b1e
Python 3.10.12, Qt 5.15.8, Coin 4.0.0, Vtk 9.2.5, OCC 7.6.3
Locale: Polish/Poland (pl_PL)
Installed mods: 
  * Curves 0.5.0
  * sheetmetal 0.2.56
  * Reinforcement
  * BIM 2021.12.0
  * Rocket 3.1.0
  * kicadStepUpMod 10.19.4
  * fasteners 0.4.56
  * Alternate_OpenSCAD 1.0.0
  * Render 2023.2.6

image

@kaktusus
Copy link
Contributor Author

kaktusus commented Jul 25, 2023

overall, no
the error persists
I forgot that I previously activated BIM wb.

image

@kaktusus kaktusus reopened this Jul 25, 2023
@kaktusus
Copy link
Contributor Author

kaktusus commented Jul 26, 2023

Today I performed another test.

I loaded the workbench Arch
- there was a lack of translation of reinforcement tools
I loaded the BIM workbench.
Once again loaded the Arch workbench
- this time the names of all rebar tools were displayed as translated.

@luzpaz
Copy link
Collaborator

luzpaz commented Jul 26, 2023

@amrit3701 👆

@amrit3701
Copy link
Member

amrit3701 commented Jul 30, 2023

overall, no the error persists I forgot that I previously activated BIM wb.

@kaktusus Have you clone the latest code of Reinforcement WB from Addon manager?

https://github.com/amrit3701/FreeCAD-Reinforcement

@kaktusus
Copy link
Contributor Author

Yes I have updated this add-on.

obraz

@amrit3701
Copy link
Member

From screenshot it looks like you are using v0.3.0. Please clone latest master branch code (latest commit: ade0085b3b1dac99afc353d246b903d814240315).

image

BTW, I am also planning to release v0.4 with all translation fix but it will take time.

@kaktusus
Copy link
Contributor Author

well
I will test the new version.

Will you be doing a string import into Crowdin?

@kaktusus
Copy link
Contributor Author

At a glance:

  1. downloaded the master version you indicated
  2. installed manually by extracting the archive to the mod directory
  3. launched the add-on manager to register the changes, performed FreeCAD restart
  4. activated the Arch workbench
  5. I opened the menu Arch -> Rebar tools

I did not notice any changes.

Peek 2023-07-30 21-41

@luzpaz
Copy link
Collaborator

luzpaz commented Aug 6, 2023

Will you be doing a string import into Crowdin?

@amrit3701 this is a key step, was this done for the Reinforcement WB ?

@kaktusus kaktusus closed this as completed Mar 5, 2024
@kaktusus
Copy link
Contributor Author

kaktusus commented Mar 5, 2024

fixed
pre-release translation 😉

obraz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants