• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • translation-plugin
    • None
    • Irrelevant, but Ubuntu

      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).

          [JENKINS-13695] Serbian translation breaks Jenkins startpage

          Andrey Myatlyuk added a comment - https://github.com/jenkinsci/jenkins/pull/507

          I did check the entire Jenkins repo and that was the only case of unlatching brackets, whether

          {) or (}

          .

          Andrey Myatlyuk added a comment - I did check the entire Jenkins repo and that was the only case of unlatching brackets, whether {) or (} .

          Code changed in jenkins
          User: Andrey Myatlyuk
          Path:
          core/src/main/resources/hudson/model/View/sidepanel_sr.properties
          http://jenkins-ci.org/commit/jenkins/e2303ef454bc1a3af0b4ae6a13a88b99c9b8e94e
          Log:
          Updated Serbian translation with matching curly braces.
          [FIXED JENKINS-13695]

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrey Myatlyuk Path: core/src/main/resources/hudson/model/View/sidepanel_sr.properties http://jenkins-ci.org/commit/jenkins/e2303ef454bc1a3af0b4ae6a13a88b99c9b8e94e Log: Updated Serbian translation with matching curly braces. [FIXED JENKINS-13695]

          Code changed in jenkins
          User: Andrey Myatlyuk
          Path:
          changelog.html
          core/src/main/resources/hudson/model/View/sidepanel_sr.properties
          http://jenkins-ci.org/commit/jenkins/1e9c93a248cd2bfd92fb147d363f193c5dd341b0
          Log:
          Updated Serbian translation with matching curly braces.
          [FIXED JENKINS-13695]

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrey Myatlyuk Path: changelog.html core/src/main/resources/hudson/model/View/sidepanel_sr.properties http://jenkins-ci.org/commit/jenkins/1e9c93a248cd2bfd92fb147d363f193c5dd341b0 Log: Updated Serbian translation with matching curly braces. [FIXED JENKINS-13695]

            kukido Andrey Myatlyuk
            danilo Данило Шеган
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: