Skip to content

Fix: locale on issuable title

What does this MR do and why?

The current title composer is composing the title with some unlocalized texts in this case issuable.type, in this MR, I listed the types of issuable and mapped them with a localized value, for keys that do not match, it fallbacks to the previous way by using titleize instead of capitalize.

/cc @prajnamas @orozot @qk44077907 @lxwan

Update: Makes use of the integration_issue_type helper to determine the correct capitalization

Describe in detail what your merge request does and why.

Screenshots or screen recordings

before after
CleanShot_2022-11-09_at_17.18.29_2x CleanShot_2022-11-09_at_17.17.38_2x

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Ezekiel Kigbo

Merge request reports