-
Notifications
You must be signed in to change notification settings - Fork 18
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
base: master
Are you sure you want to change the base?
Conversation
@EdgarJRobles does the translation work correctly ? |
translations/Update code.txt
Outdated
@@ -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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It comes from Pyqt5
There was a problem hiding this comment.
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
Same here, translation working as expected, there are still some strings on dialogs missing like @oddtopus We would love your feedback to make translation support happen. |
7b74519
to
9889fd2
Compare
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
STATS:
|
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
-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
To have same style on the WB
* 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
Preparations to 1.1.0
Menu bar were translated.
object name were translated.