Данило Шеган created JENKINS-13695:
--------------------------------------
Summary: Serbian translation breaks Jenkins startpage
Key: JENKINS-13695
URL: https://issues.jenkins-ci.org/browse/JENKINS-13695
Project: Jenkins
Issue Type: Bug
Components: translation
Affects Versions: current
Environment: Irrelevant, but Ubuntu
Reporter: Данило Шеган
There is a problem with Serbian translation in jenkins: when one has Serbian
(sr) as the top language in Accept-Language header, jenkins errors out with a
traceback with latest releases (since at least 1.456) like this one:
http://paste.ubuntu.com/973181/
(when I try to go to the host/jenkins/ start page).
The problem is with the translation for "New {0}" message: it was translated as
"Novo {0)" (regular ending parentheses instead of the curly bracket) which
caused it to fail. I used the "translation assistance plugin" to fix the
translated message, and I checked the "contribute to jenkins" box so I hope the
fix will end up upstream as well.
If not, it would be good to get this fixed.
It would be even better to ensure no translations can bork up the entire
jenkins installation like this (i.e. ensure some validity checks are done, like
checking that {0}, {1} and similar markers are present in a translation when
English message has it).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira