diff --git a/src/redturtle/volto/locales/redturtle.volto.pot b/src/redturtle/volto/locales/redturtle.volto.pot index 73bd3df..a33cfec 100644 --- a/src/redturtle/volto/locales/redturtle.volto.pot +++ b/src/redturtle/volto/locales/redturtle.volto.pot @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2024-03-28 10:20+0000\n" +"POT-Creation-Date: 2024-03-28 12:42+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/src/redturtle/volto/tests/test_namechooser_customization.py b/src/redturtle/volto/tests/test_namechooser_customization.py index 790fa0d..1f5a628 100644 --- a/src/redturtle/volto/tests/test_namechooser_customization.py +++ b/src/redturtle/volto/tests/test_namechooser_customization.py @@ -137,7 +137,7 @@ def test_name_chooser_raise_badrequest_on_site_root(self): chooser.chooseName("foo", fake_obj) self.assertEqual( - 'The id "foo" is invalid because there is already an alias for that path. Search "/foo" in aliases management to manage it.', + 'The id "foo" is invalid because there is already an alias for that path. Change its id or ask site administrators to remove "/foo" in aliases management.', str(cm.exception), ) @@ -180,7 +180,7 @@ def test_if_enabled_name_chooser_raise_badrequest_on_folderish_container(self): chooser.chooseName("aaa", fake_obj) self.assertEqual( - 'The id "aaa" is invalid because there is already an alias for that path. Search "/container/aaa" in aliases management to manage it.', + 'The id "aaa" is invalid because there is already an alias for that path. Change its id or ask site administrators to remove "/container/aaa" in aliases management.', str(cm.exception), ) @@ -196,7 +196,7 @@ def test_api_rename_raise_exception_if_name_is_alias(self): api.content.rename(obj=item, new_id="foo", safe_id=True) self.assertEqual( - 'The id "foo" is invalid because there is already an alias for that path. Search "/foo" in aliases management to manage it.', + 'The id "foo" is invalid because there is already an alias for that path. Change its id or ask site administrators to remove "/foo" in aliases management.', str(cm.exception), )