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

Correct translation placeholder functions #1

Open
wants to merge 1 commit into
base: designation_str
Choose a base branch
from

Conversation

hasecilu
Copy link

Is not possible to use tr() to mark strings for translation on Python because pylupdate is looking for instances of translate(context, string).

No known Python trick works to use tr().

Read:
https://freecad.github.io/DevelopersHandbook/technical/translation.html#python

Is not possible to use `tr()` to mark strings for translation on Python
because pylupdate is looking for instances of `translate(context, string)`.

No known Python trick works to use `tr()`.

Read:
https://freecad.github.io/DevelopersHandbook/technical/translation.html#python
@hasecilu hasecilu closed this Feb 25, 2024
@hasecilu
Copy link
Author

Hehe, I just read that Shaise is going to make some changes.

@hasecilu
Copy link
Author

I saw BillOfMaterials was not included in the recent changes so this is relevant again.

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