FreeCAD / FreeCAD-translations

Repository tracking localization issues and progress
5 stars 3 forks source link

Sketcher → Create sketch (tool) → Sketch attachment #157

Closed kaktusus closed 1 year ago

kaktusus commented 2 years ago
OS: Debian GNU/Linux bookworm/sid (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.28929 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 6f24fd3)
Hash: 6f24fd3053a89a5fb12ab765f9df93ec04deeac1
Python 3.9.12, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: Polish/Poland (pl_PL)
Installed mods: 
...

Some labels have no translation in the GUI.

obraz

  1. Deactivated - string is present in Crowdin but does not match this occurrence. https://crowdin.com/translate/freecad/all/en-pl?filter=basic&value=0#q=Deactivated
  2. ObjectXY - no string in Crowdin. https://crowdin.com/translate/freecad/all/en-pl?filter=basic&value=0#q=ObjectXY
  3. ObjectXZ - no string in Crowdin. https://crowdin.com/translate/freecad/all/en-pl?filter=basic&value=0#q=ObjectXZ
  4. ObjectYZ - no string in Crowdin. https://crowdin.com/translate/freecad/all/en-pl?filter=basic&value=0#q=ObjectYZ
  5. InertialCS - no string in Crowdin. InertialCS Inertial CS
Kuzma30 commented 2 years ago

Strings defined here, https://github.com/FreeCAD/FreeCAD/blob/30f8015e7111a192db55ab66b9c8a5b02d935ef0/src/Mod/Part/App/Attacher.cpp#L75-L134 To translate we need completely rewrite this code https://github.com/FreeCAD/FreeCAD/blob/30f8015e7111a192db55ab66b9c8a5b02d935ef0/src/Mod/Part/App/Attacher.cpp#L625-L630

Edit. Found that there is AttacherTexts.cpp where this strings translated. Need more research... src/Mod/Sketcer/Gui/Command.cpp 175

kaktusus commented 2 years ago

This function is called in many instances and the same problem occurs e.g. #73

chennes commented 1 year ago

Can you check this one again now?

kaktusus commented 1 year ago
OS: Debian GNU/Linux 12 (bookworm) (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.21.0.32929 (Git) AppImage
Build type: Release
Branch: master
Hash: 1dcc58c4b1c51c50215639ca58326f6b69867743
Python 3.10.10, Qt 5.15.8, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: Polish/Poland (pl_PL)
Installed mods: 
  * Curves 0.5.0
  * sheetmetal 0.2.56
  * Reinforcement

After selecting NewSkertch, I now have this window:

image

kaktusus commented 1 year ago

OK, just now I used the wrong option, now better do not see any changes ...

image

chennes commented 1 year ago

Ah! This window is created in two different places ☹️ . I'll get the second one now...