Skip to content

Fix group create message hardcode

What does this MR do and why?

Fix hardcode string message when group create.

Bug: The message is not translated when user create group.

Bug Reason: Group creation message is hardcode string.

Solution: Use i18n instead of hardcoding group creation message.

Related JH's issue: https://jihulab.com/gitlab-cn/gitlab/-/issues/1603

Why add a test case for create group with chat team:

The creating group with chat team message lacks test coverage, adding i18n to it will cause the test coverage job to fail.

So, this MR has added test case for create group with chat team for create group.

Screenshots or screen recordings

image

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.

@prajnamas @mtan-gitlab @WilsonDuanWei

Edited by qt

Merge request reports

Loading