Commit 03e3c425 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Merge branch 'jprovazn-projectns-exclude-transfer' into 'master'

Update wording for group transfer path error

See merge request gitlab-org/gitlab!72863
parents c7bb8070 0d62f390
...@@ -191,7 +191,7 @@ module Groups ...@@ -191,7 +191,7 @@ module Groups
def localized_error_messages def localized_error_messages
{ {
database_not_supported: s_('TransferGroup|Database is not supported.'), database_not_supported: s_('TransferGroup|Database is not supported.'),
namespace_with_same_path: s_('TransferGroup|The parent group already has a subgroup with the same path.'), namespace_with_same_path: s_('TransferGroup|The parent group already has a subgroup or a project with the same path.'),
group_is_already_root: s_('TransferGroup|Group is already a root group.'), group_is_already_root: s_('TransferGroup|Group is already a root group.'),
same_parent_as_current: s_('TransferGroup|Group is already associated to the parent group.'), same_parent_as_current: s_('TransferGroup|Group is already associated to the parent group.'),
invalid_policies: s_("TransferGroup|You don't have enough permissions."), invalid_policies: s_("TransferGroup|You don't have enough permissions."),
......
...@@ -35924,7 +35924,7 @@ msgstr "" ...@@ -35924,7 +35924,7 @@ msgstr ""
msgid "TransferGroup|Group is already associated to the parent group." msgid "TransferGroup|Group is already associated to the parent group."
msgstr "" msgstr ""
msgid "TransferGroup|The parent group already has a subgroup with the same path." msgid "TransferGroup|The parent group already has a subgroup or a project with the same path."
msgstr "" msgstr ""
msgid "TransferGroup|Transfer failed: %{error_message}" msgid "TransferGroup|Transfer failed: %{error_message}"
......
...@@ -153,7 +153,7 @@ RSpec.describe Groups::TransferService do ...@@ -153,7 +153,7 @@ RSpec.describe Groups::TransferService do
it 'adds an error on group' do it 'adds an error on group' do
transfer_service.execute(nil) transfer_service.execute(nil)
expect(transfer_service.error).to eq('Transfer failed: The parent group already has a subgroup with the same path.') expect(transfer_service.error).to eq('Transfer failed: The parent group already has a subgroup or a project with the same path.')
end end
end end
...@@ -241,7 +241,7 @@ RSpec.describe Groups::TransferService do ...@@ -241,7 +241,7 @@ RSpec.describe Groups::TransferService do
it 'adds an error on group' do it 'adds an error on group' do
transfer_service.execute(new_parent_group) transfer_service.execute(new_parent_group)
expect(transfer_service.error).to eq('Transfer failed: The parent group already has a subgroup with the same path.') expect(transfer_service.error).to eq('Transfer failed: The parent group already has a subgroup or a project with the same path.')
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment