Fix: localize text one MR commit template
What does this MR do and why?
Wrapping template text with Gettext translation method, so it can be translated into different languages.
Screenshots or screen recordings
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
- Goto a project
- Create a new merge request without any commits
- Scroll to the bottom
- You should see the text "There are no commits yet."
- Open a new tab and goto preferences page
- Change your preferred language into Chinese Simplified
- switch back to that MR page
- Refresh that page
- You should see that text is translated into Chinese.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
/cc @prajnamas
Edited by ARCHIVED - Martin Tan