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

Added Translation support and Spanish translation. #6

Open
wants to merge 108 commits into
base: master
Choose a base branch
from

Conversation

EdgarJRobles
Copy link

Menu bar were translated.
object name were translated.

@luzpaz
Copy link

luzpaz commented May 20, 2020

@EdgarJRobles does the translation work correctly ?

@@ -0,0 +1 @@
pylupdate5 ./../InitGui.py ./../fCmd.py ./../CPipe.py ./../CUtils.py ./../dodoDialogs.py ./../dodoPM.py ./../fForms.py ./../fObservers.py ./../CFrame.py ./../pFeatures.py ./../pCmd.py -ts ./dodo_es-ES.ts
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update code.txt ?
@EdgarJRobles Is this file name auto-generated or what you named it?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a comamnd that use to upgrade and generate TS file from python files.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It comes from Pyqt5

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update code.txt ?
@EdgarJRobles Is this file name auto-generated or what you named it?

It is not auto-generated, i do it manually

Added Pyside2 support translate dodo external workbench from FreeCAD.

Added Spanish translation.

Added TS and QM

spanish translation files

Added headers and more translation functions

Added QT_TRANSLATE_NOOP definition

Added addproperty translation

Minor  addproperty translations

Minor  addproperty translations

Adde more translated lines

Addobject name translated
Release last revision es-ES QM file

Fixed typo on addproperty

Wrong typo syntax

Added locale update function

Added locale update function

Fixed addObject translation / Erased context in ts file

-Fixed addObject translation.
-Erased not used context formats in TS file.

Translate Drop down headers

Translate drop down headers

Minor accent correction
@EdgarJRobles
Copy link
Author

EdgarJRobles commented Mar 14, 2024

I can confirm the translation works on FreeCAD 0.22.0, Libs: 0.22.0devR36338 @luzpaz @hasecilu
Screenshot_20240313_214213
Screenshot_20240313_215658

@hasecilu
Copy link

Same here, translation working as expected, there are still some strings on dialogs missing like self.labName = QtGui.QLabel("(seleziona un oggetto)", self).

@oddtopus We would love your feedback to make translation support happen.

@hasecilu hasecilu force-pushed the master branch 2 times, most recently from 7b74519 to 9889fd2 Compare March 14, 2024 21:37
It's needed for at the time of extracting the strings for translation
the strings are separated by context making easier translation process.
- makeHeader() MenuText & ToolTip
- Dialogs
- Transactions (undo/redo)
- Tree View Labels
- Observers messages
@hasecilu
Copy link

STATS:

  • 49 PrintMessage()
  • 19 PrintWarning()
  • 55 PrintError()
  • 51 openTransaction()
  • 129 setText()

EdgarJRobles and others added 15 commits March 16, 2024 21:15
Addobject name translated
Release last revision es-ES QM file
Wrong typo syntax
Added locale update function
Added Pyside2 support translate dodo external workbench from FreeCAD.

Added Spanish translation.

Added TS and QM

spanish translation files

Added headers and more translation functions

Added QT_TRANSLATE_NOOP definition

Added addproperty translation

Minor  addproperty translations

Minor  addproperty translations

Adde more translated lines

Addobject name translated
Release last revision es-ES QM file

Fixed typo on addproperty

Wrong typo syntax

Added locale update function

Added locale update function

Fixed addObject translation / Erased context in ts file

-Fixed addObject translation.
-Erased not used context formats in TS file.

Translate Drop down headers

Translate drop down headers

Minor accent correction
It's needed for at the time of extracting the strings for translation
the strings are separated by context making easier translation process.
- makeHeader() MenuText & ToolTip
- Dialogs
- Transactions (undo/redo)
- Tree View Labels
- Observers messages
hasecilu and others added 30 commits November 7, 2024 14:56
-Added round Beam profiles support
-Added extra fillet parameters to apply fillet on flanges
-Added piping flange location based on table flange type
Update due main folder rename
-Fix attachment support from pipe features
-Added Slip on flanges from ASME standart
-Added extra ASME pipe grades from 10 to 160
-Added tooltip for nozzle tank insert function due unknow behavior
Get better contrast on dark themes
- Include script to download translations via CrowdIn API
- Update bash script
- Bring new translations from CrowdIn
* attempt of quetzal, temporarely
Only translate the strings attached to `obj.Label`
Some icons were taken from:
https://forum.freecad.org/viewtopic.php?f=34&t=55223
and reworked a little bit.
- Move icons to FreeCAD's icon list to make them available for PieMenu
- Rename icons to prevent clash with other Wb's icons
- Some commands were renamed to be more explicit on what they do
Remove typos from user-facing strings
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

Successfully merging this pull request may close these issues.

7 participants