-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Spanish translation: fix bad substitution templates #8943
Conversation
More info follows. The build log is this:
Basically the It's the double Disclaimer: I'm not used to the build system so I didn't yet succeed in installing my updated translation and verifying that it works. |
I succeeded now in verifying that this fix works. |
Thanks! |
Note: I merged this into transifex manually. |
i18n: Fix wrong substitution message catalog for el and hr (refs: #8943)
Subject: Fix crash when building in Spanish locale
Feature or Bugfix
Purpose
This PR fixes the Spanish translation so it will not crash sphinx-build.
Detail
There are two translatable strings which are formatted in a way which prevents
msgfmt
from detecting a bad variable name in a string template, hence crashing at runtime when the error could have been found at translation compile time.Aside from this immediate fix, I offer to submit a new PR which changes those strings so errors will be detected at compile time in the future.
Relates
This will fix #8930 (which is currently closed due to missing info).