Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-13695

Serbian translation breaks Jenkins startpage

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: translation-plugin
    • Labels:
      None
    • Environment:
      Irrelevant, but Ubuntu
    • Similar Issues:

      Description

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

        Attachments

          Issue Links

            Activity

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

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

            {) or (}

            .

            Show
            kukido Andrey Myatlyuk added a comment - I did check the entire Jenkins repo and that was the only case of unlatching brackets, whether {) or (} .
            Hide
            scm_issue_link 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]

            Show
            scm_issue_link 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]
            Hide
            scm_issue_link 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]

            Show
            scm_issue_link 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]

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: