Skip to content
代码片段 群组 项目
提交 9db3a0bd 编辑于 作者: Jacques Erasmus's avatar Jacques Erasmus
浏览文件

Merge branch 'eduardosanz/follow-up-custom-roles-text' into 'master'

No related branches found
No related tags found
无相关合并请求
...@@ -35,7 +35,7 @@ export const PERMISSIONS = Object.freeze({ ...@@ -35,7 +35,7 @@ export const PERMISSIONS = Object.freeze({
}, },
[ADMIN_VULNERABILITY]: { [ADMIN_VULNERABILITY]: {
help: s__( help: s__(
"MemberRoles|Allows admin access to the vulnerability reports. 'Read vulnerability' must be selected in order to take effect.", "MemberRoles|Allows admin access to the vulnerability reports. Select 'Read vulnerability' for this to take effect.",
), ),
text: s__('MemberRoles|Admin vulnerability'), text: s__('MemberRoles|Admin vulnerability'),
value: ADMIN_VULNERABILITY, value: ADMIN_VULNERABILITY,
...@@ -85,10 +85,11 @@ export const I18N_EMPTY_TEXT_SELF_MANAGED = s__( ...@@ -85,10 +85,11 @@ export const I18N_EMPTY_TEXT_SELF_MANAGED = s__(
); );
export const I18N_FETCH_ERROR = s__('MemberRoles|Failed to fetch roles.'); export const I18N_FETCH_ERROR = s__('MemberRoles|Failed to fetch roles.');
export const I18N_FIELD_FORM_ERROR = __('This field is required.'); export const I18N_FIELD_FORM_ERROR = __('This field is required.');
export const I18N_LICENSE_ERROR = s__('MemberRoles|Make sure the group has an Ultimate license.'); export const I18N_LICENSE_ERROR = s__('MemberRoles|Make sure the group is in the Ultimate tier.');
export const I18N_MODAL_TITLE = s__('MemberRoles|Are you sure you want to delete this role?'); export const I18N_MODAL_TITLE = s__('MemberRoles|Are you sure you want to delete this role?');
export const I18N_MODAL_WARNING = s__(`MemberRoles|Removing a custom role also removes all members with this custom role from the group. export const I18N_MODAL_WARNING = s__(
If you decide to delete a custom role, you must re-add these users to the group.`); `MemberRoles|To delete the custom role make sure no group member has this custom role`,
);
export const I18N_NEW_ROLE_BASE_ROLE_LABEL = s__('MemberRoles|Base role to use as template'); export const I18N_NEW_ROLE_BASE_ROLE_LABEL = s__('MemberRoles|Base role to use as template');
export const I18N_NEW_ROLE_BASE_ROLE_DESCRIPTION = s__( export const I18N_NEW_ROLE_BASE_ROLE_DESCRIPTION = s__(
'MemberRoles|Select a standard role to add permissions.', 'MemberRoles|Select a standard role to add permissions.',
......
...@@ -76,7 +76,7 @@ describe('CreateMemberRole', () => { ...@@ -76,7 +76,7 @@ describe('CreateMemberRole', () => {
expect(checkboxThreeText).toContain('Admin vulnerability'); expect(checkboxThreeText).toContain('Admin vulnerability');
expect(checkboxThreeText).toContain( expect(checkboxThreeText).toContain(
"Allows admin access to the vulnerability reports. 'Read vulnerability' must be selected in order to take effect.", "Allows admin access to the vulnerability reports. Select 'Read vulnerability' for this to take effect.",
); );
}); });
......
...@@ -29050,7 +29050,7 @@ msgstr "" ...@@ -29050,7 +29050,7 @@ msgstr ""
msgid "MemberRoles|Admin vulnerability" msgid "MemberRoles|Admin vulnerability"
msgstr "" msgstr ""
   
msgid "MemberRoles|Allows admin access to the vulnerability reports. 'Read vulnerability' must be selected in order to take effect." msgid "MemberRoles|Allows admin access to the vulnerability reports. Select 'Read vulnerability' for this to take effect."
msgstr "" msgstr ""
   
msgid "MemberRoles|Allows read-only access to the source code." msgid "MemberRoles|Allows read-only access to the source code."
...@@ -29098,7 +29098,7 @@ msgstr "" ...@@ -29098,7 +29098,7 @@ msgstr ""
msgid "MemberRoles|Incident manager" msgid "MemberRoles|Incident manager"
msgstr "" msgstr ""
   
msgid "MemberRoles|Make sure the group has an Ultimate license." msgid "MemberRoles|Make sure the group is in the Ultimate tier."
msgstr "" msgstr ""
   
msgid "MemberRoles|Name" msgid "MemberRoles|Name"
...@@ -29116,9 +29116,6 @@ msgstr "" ...@@ -29116,9 +29116,6 @@ msgstr ""
msgid "MemberRoles|Read vulnerability" msgid "MemberRoles|Read vulnerability"
msgstr "" msgstr ""
   
msgid "MemberRoles|Removing a custom role also removes all members with this custom role from the group. If you decide to delete a custom role, you must re-add these users to the group."
msgstr ""
msgid "MemberRoles|Role name" msgid "MemberRoles|Role name"
msgstr "" msgstr ""
   
...@@ -29137,6 +29134,9 @@ msgstr "" ...@@ -29137,6 +29134,9 @@ msgstr ""
msgid "MemberRoles|To add a new role select a group and then 'Add new role'." msgid "MemberRoles|To add a new role select a group and then 'Add new role'."
msgstr "" msgstr ""
   
msgid "MemberRoles|To delete the custom role make sure no group member has this custom role"
msgstr ""
msgid "MemberRole|%{requirement} has to be enabled in order to enable %{permission}." msgid "MemberRole|%{requirement} has to be enabled in order to enable %{permission}."
msgstr "" msgstr ""
   
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册