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

Internationalisation for Blue Ocean and JDL

    XMLWordPrintable

    Details

    • Epic Link:
    • Sprint:
      pacific, atlantic, 1.0-b05/b-06, indian
    • Similar Issues:

      Description

      In Scope

      • All strings and formatting should be localisable
      • Short explanation on how we localise components and the app put in a README.md
      • Go through and extract all our current strings

      Notes

        Attachments

          Issue Links

            Activity

            Hide
            michaelneale Michael Neale added a comment -

            Closing this as this tracks the core improvement

            Show
            michaelneale Michael Neale added a comment - Closing this as this tracks the core improvement
            Hide
            michaelneale Michael Neale added a comment -

            Oleg Nenashev ok I made https://issues.jenkins-ci.org/browse/JENKINS-39225 to track the blue ocean side - you can take over this ticket if you like.

            Show
            michaelneale Michael Neale added a comment - Oleg Nenashev ok I made https://issues.jenkins-ci.org/browse/JENKINS-39225 to track the blue ocean side - you can take over this ticket if you like.
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Converted it to the bug, since Internalization support is an expected behavior for resource logic in Jenkins

            Show
            oleg_nenashev Oleg Nenashev added a comment - Converted it to the bug, since Internalization support is an expected behavior for resource logic in Jenkins
            Hide
            jglick Jesse Glick added a comment -

            This seems like a feature (a kind of API), not a bug. There is nothing broken in 2.19.3 without this IIUC—just some stuff Blue Ocean is not able to do.

            Show
            jglick Jesse Glick added a comment - This seems like a feature (a kind of API), not a bug. There is nothing broken in 2.19.3 without this IIUC—just some stuff Blue Ocean is not able to do.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Thorsten Scherler
            Path:
            core/src/main/java/hudson/util/HttpResponses.java
            core/src/main/java/jenkins/util/ResourceBundleUtil.java
            test/src/test/java/jenkins/I18nTest.java
            http://jenkins-ci.org/commit/jenkins/288a66dfabac0a31ce799cc3eaf285dc801cd668
            Log:
            [FIX JENKINS-35845] Internationalisation for Blue Ocean and JDL (#2586)

            • Load i18n resource bundles from plugins if not found in jenkins core

            Signed-off-by: Thorsten Scherler <scherler@gmail.com>

            • Issue 404 response for missing i18n resource bundles

            Currently issues a 200 with an "error" response payload. This change still issues the error response payload, but also sets the HTTP response.

            Signed-off-by: Thorsten Scherler <scherler@gmail.com>

            • JENKINS-35845 add test for getting locale from plugin. fix comments from oleg.
            • eslint - formating changes and fix offences
            • eslint - formating changes and fix offences
            • JENKINS-35845 remove code concerning 404 response. Fix resourceBundle test by prevent NPE to happen

            (cherry picked from commit ab16e52519260c0e9398f15256ed8061a4c00bf0)

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Thorsten Scherler Path: core/src/main/java/hudson/util/HttpResponses.java core/src/main/java/jenkins/util/ResourceBundleUtil.java test/src/test/java/jenkins/I18nTest.java http://jenkins-ci.org/commit/jenkins/288a66dfabac0a31ce799cc3eaf285dc801cd668 Log: [FIX JENKINS-35845] Internationalisation for Blue Ocean and JDL (#2586) Load i18n resource bundles from plugins if not found in jenkins core Signed-off-by: Thorsten Scherler <scherler@gmail.com> Issue 404 response for missing i18n resource bundles Currently issues a 200 with an "error" response payload. This change still issues the error response payload, but also sets the HTTP response. Signed-off-by: Thorsten Scherler <scherler@gmail.com> JENKINS-35845 Fix test since we return now a 404 JENKINS-35845 add test for getting locale from plugin. fix comments from oleg. JENKINS-35845 Fix description JENKINS-35845 Update PR with comments from Oleg JENKINS-35845 Add feedback from tom eslint - formating changes and fix offences eslint - formating changes and fix offences JENKINS-35845 remove code concerning 404 response. Fix resourceBundle test by prevent NPE to happen JENKINS-35845 Link to issue on which we introduced the test (cherry picked from commit ab16e52519260c0e9398f15256ed8061a4c00bf0)

              People

              • Assignee:
                tscherler Thorsten Scherler
                Reporter:
                jamesdumay James Dumay
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: