Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Critical
-
Resolution: Fixed
-
Component/s: blueocean-plugin, core
-
Labels:
-
Similar Issues:
-
Epic Link:
-
Sprint:pacific, atlantic, 1.0-b05/b-06, indian
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
- Looks like react-intl is the way things are done in React apps today. Here's a video from React.js conf 2015
Attachments
Issue Links
- duplicates
-
JENKINS-35270 /i18n/resourceBundle does not load bundles from plugins
-
- Resolved
-
- is blocked by
-
JENKINS-39604 ResourceBundleUtil#getBundle() should not report missing resources on the WARNING level
-
- Resolved
-
- is blocking
-
JENKINS-39345 Use js-modules to coordinate async loading of i18n translation bundles as part of dependant JavaScript bundle
-
- Resolved
-
- is duplicated by
-
JENKINS-35904 Provide internationalization framework for components
-
- Closed
-
- relates to
-
JENKINS-36610 [Blue Ocean] Remove hard coded link to new job from blue ocean header
-
- Closed
-
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)
Signed-off-by: Thorsten Scherler <scherler@gmail.com>
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-35845Fix test since we return now a 404JENKINS-35845add test for getting locale from plugin. fix comments from oleg.JENKINS-35845Fix descriptionJENKINS-35845Update PR with comments from OlegJENKINS-35845Add feedback from tomJENKINS-35845remove code concerning 404 response. Fix resourceBundle test by prevent NPE to happenJENKINS-35845Link to issue on which we introduced the test(cherry picked from commit ab16e52519260c0e9398f15256ed8061a4c00bf0)