-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Weblate doesn't show the "other"/"others" categories as translatable strings #814
Comments
Ah yeah my bad ... I thought that the |
May be we can use https://babel.pocoo.org/en/latest/messages.html#writing-extraction-methods I got this tip from python-babel/babel#807 (comment) |
Closes: searxng#814 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Closes: searxng#814 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Closes: searxng#814 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
@MarcAbonce I fixed this issue in PR #859 .. if you have time for, would like to have a look at this PR? / thanks! |
Version of SearXNG, commit number if you are using on master branch and stipulate if you forked SearXNG
61853aa (current master)
What happened?
Weblate doesn't show the "other"/"others" categories as translatable strings. They do not show up in any of the messages.po files either, even though all the other new subcategories already appear in there.
How To Reproduce
Expected behavior
Additional context
I think that the script used to generate the messages.po files wasn't able to pick up those strings because they are defined outside the gettext, see: https://github.com/searxng/searxng/blob/master/searx/webapp.py#L189-L190
The text was updated successfully, but these errors were encountered: