launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #29648
[Merge] ~cjwatson/launchpad:zcml-namespaces-menus into launchpad:master
Colin Watson has proposed merging ~cjwatson/launchpad:zcml-namespaces-menus into launchpad:master.
Commit message:
Move ZCML menus directive to lp namespace
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/437017
As with commit 57196c1d6a220f00039e027768cc05368135f556, it makes sense to move our local `menus` directive to our own namespace rather than poking it into the Zope browser namespace.
--
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/launchpad:zcml-namespaces-menus into launchpad:master.
diff --git a/lib/lp/answers/browser/configure.zcml b/lib/lp/answers/browser/configure.zcml
index abd9c42..1277689 100644
--- a/lib/lp/answers/browser/configure.zcml
+++ b/lib/lp/answers/browser/configure.zcml
@@ -111,15 +111,15 @@
class=".questiontarget.AskAQuestionButtonPortlet"
permission="zope.Public"
/>
- <browser:menus
+ <lp:menus
module=".questiontarget"
classes="QuestionCollectionAnswersMenu QuestionTargetAnswersMenu"
/>
- <browser:menus
+ <lp:menus
module="lp.answers.browser.faq"
classes="FAQNavigationMenu"
/>
- <browser:menus
+ <lp:menus
module="lp.answers.browser.question"
classes="
QuestionEditMenu
@@ -490,7 +490,7 @@
permission="zope.Public"
template="../templates/person-answer-contact-for.pt"
/>
- <browser:menus
+ <lp:menus
module="lp.answers.browser.person"
classes="PersonAnswersMenu"
/>
diff --git a/lib/lp/app/browser/configure.zcml b/lib/lp/app/browser/configure.zcml
index 8d8ff75..1e358ae 100644
--- a/lib/lp/app/browser/configure.zcml
+++ b/lib/lp/app/browser/configure.zcml
@@ -152,7 +152,7 @@
<facet facet="overview">
<!-- Common menus -->
- <browser:menus
+ <lp:menus
module="lp.app.browser.launchpad"
classes="LaunchpadRootFacets"
/>
diff --git a/lib/lp/app/doc/menus.rst b/lib/lp/app/doc/menus.rst
index 03ceb92..957fa55 100644
--- a/lib/lp/app/doc/menus.rst
+++ b/lib/lp/app/doc/menus.rst
@@ -619,9 +619,9 @@ facet name.
>>> zcmlcontext = xmlconfig.string(
... """
- ... <configure xmlns:browser="http://namespaces.zope.org/browser">
+ ... <configure xmlns:lp="http://namespaces.canonical.com/lp">
... <include file="lib/lp/services/webapp/meta.zcml" />
- ... <browser:menus
+ ... <lp:menus
... module="lp.app.cookingexample"
... classes="
... CookeryFacetMenu RecipeFacetMenu
diff --git a/lib/lp/blueprints/browser/configure.zcml b/lib/lp/blueprints/browser/configure.zcml
index 2393698..3a3869b 100644
--- a/lib/lp/blueprints/browser/configure.zcml
+++ b/lib/lp/blueprints/browser/configure.zcml
@@ -172,7 +172,7 @@
class="lp.blueprints.browser.sprint.SprintAttendeesCsvExportView"
permission="launchpad.AnyPerson"
attribute="__call__"/>
- <browser:menus
+ <lp:menus
classes="
SprintFacets
SprintOverviewMenu
@@ -235,7 +235,7 @@
class="lp.blueprints.browser.specificationbranch.SpecificationBranchStatusView"
permission="launchpad.AnyPerson"
template="../templates/specificationbranch-status.pt"/>
- <browser:menus
+ <lp:menus
module="lp.blueprints.browser.specification"
classes="
SpecificationActionMenu
@@ -620,7 +620,7 @@
permission="launchpad.AnyPerson"
template="../templates/addspec.pt" />
- <browser:menus
+ <lp:menus
module="lp.blueprints.browser.person"
classes="PersonSpecsMenu"/>
<browser:page
diff --git a/lib/lp/bugs/browser/configure.zcml b/lib/lp/bugs/browser/configure.zcml
index c21599c..1cb7408 100644
--- a/lib/lp/bugs/browser/configure.zcml
+++ b/lib/lp/bugs/browser/configure.zcml
@@ -227,7 +227,7 @@
title="Admin"
action="+admin"/>
</browser:menuItems>
- <browser:menus
+ <lp:menus
module="lp.bugs.browser.person"
classes="
PersonBugsMenu
@@ -251,7 +251,7 @@
permission="zope.Public"
name="+portlet-stats"
template="../templates/malone-portlet-stats.pt"/>
- <browser:menus
+ <lp:menus
classes="MaloneRelatedPages"
module="lp.bugs.browser.malone"/>
<browser:page
@@ -435,10 +435,10 @@
class="lp.bugs.browser.buglisting.BugNominationsView"
permission="zope.Public"
template="../templates/series-bug-nominations.pt"/>
- <browser:menus
+ <lp:menus
module="lp.bugs.browser.buglisting"
classes="BugTaskSearchListingMenu"/>
- <browser:menus
+ <lp:menus
module="lp.bugs.browser.bugtask"
classes="BugTaskContextMenu"/>
<browser:page
@@ -692,7 +692,7 @@
class="lp.bugs.browser.bugsupervisor.BugSupervisorEditView"
permission="launchpad.Edit"
template="../templates/edit-bug-supervisor.pt"/>
- <browser:menus
+ <lp:menus
module="lp.bugs.browser.bugtracker"
classes="
BugTrackerSetContextMenu
@@ -815,7 +815,7 @@
provides="zope.interface.Interface"
name="lazr.restful.EntryResource"
/>
- <browser:menus
+ <lp:menus
module="lp.bugs.browser.cve"
classes="
CveContextMenu
@@ -924,7 +924,7 @@
path_expression="string:+subscription/${person/name}"
attribute_to_parent="bug"
rootsite="bugs"/>
- <browser:menus
+ <lp:menus
module="lp.bugs.browser.bug"
classes="
BugContextMenu"/>
@@ -1019,7 +1019,7 @@
for="lp.bugs.interfaces.bug.IBugSet"
path_expression="string:bugs"
parent_utility="lp.bugs.interfaces.malone.IMaloneApplication"/>
- <browser:menus
+ <lp:menus
module="lp.bugs.browser.bugnomination"
classes="
BugNominationContextMenu"/>
diff --git a/lib/lp/buildmaster/browser/configure.zcml b/lib/lp/buildmaster/browser/configure.zcml
index 83626e1..15f0cde 100644
--- a/lib/lp/buildmaster/browser/configure.zcml
+++ b/lib/lp/buildmaster/browser/configure.zcml
@@ -95,10 +95,10 @@
class="lp.buildmaster.browser.builder.BuilderEditView"
permission="launchpad.Edit"
template="../templates/builder-edit.pt"/>
- <browser:menus
+ <lp:menus
classes="BuilderSetOverviewMenu"
module="lp.buildmaster.browser.builder"/>
- <browser:menus
+ <lp:menus
classes="BuilderOverviewMenu"
module="lp.buildmaster.browser.builder"/>
</configure>
diff --git a/lib/lp/charms/browser/configure.zcml b/lib/lp/charms/browser/configure.zcml
index db532de..655bb34 100644
--- a/lib/lp/charms/browser/configure.zcml
+++ b/lib/lp/charms/browser/configure.zcml
@@ -12,7 +12,7 @@
<lp:url
for="lp.charms.interfaces.charmrecipe.ICharmRecipe"
urldata="lp.charms.browser.charmrecipe.CharmRecipeURL" />
- <browser:menus
+ <lp:menus
module="lp.charms.browser.charmrecipe"
classes="
CharmRecipeNavigationMenu
@@ -92,7 +92,7 @@
for="lp.charms.interfaces.charmrecipebuild.ICharmRecipeBuild"
path_expression="string:+build/${id}"
attribute_to_parent="recipe" />
- <browser:menus
+ <lp:menus
module="lp.charms.browser.charmrecipebuild"
classes="CharmRecipeBuildContextMenu" />
<browser:navigation
diff --git a/lib/lp/code/browser/configure.zcml b/lib/lp/code/browser/configure.zcml
index 788c7f2..162b7c9 100644
--- a/lib/lp/code/browser/configure.zcml
+++ b/lib/lp/code/browser/configure.zcml
@@ -323,7 +323,7 @@
permission="zope.Public"
template="../templates/branchmergeproposal-macros.pt"
class="lp.app.browser.launchpad.Macro"/>
- <browser:menus
+ <lp:menus
classes="
BranchMergeProposalContextMenu
BranchMergeProposalEditMenu
@@ -547,7 +547,7 @@
name="+branch-listing"
template="../templates/branch-listing.pt"
permission="zope.Public"/>
- <browser:menus
+ <lp:menus
classes="
BranchContextMenu
BranchEditMenu"
@@ -618,7 +618,7 @@
class="lp.code.browser.codereviewcomment.CodeReviewCommentAddView"
permission="launchpad.AnyPerson"
template="../templates/codereviewcomment-reply.pt"/>
- <browser:menus
+ <lp:menus
classes="CodeReviewCommentContextMenu"
module="lp.code.browser.codereviewcomment"/>
<browser:page
@@ -731,7 +731,7 @@
name="+count-summary"
template="../templates/branch-count-summary.pt"/>
- <browser:menus
+ <lp:menus
module="lp.code.browser.branchlisting"
classes="
PersonBranchesMenu"/>
@@ -819,7 +819,7 @@
<browser:navigation
module="lp.code.browser.gitrepository"
classes="GitRepositoryNavigation"/>
- <browser:menus
+ <lp:menus
module="lp.code.browser.gitrepository"
classes="
GitRepositoryContextMenu
@@ -1042,7 +1042,7 @@
permission="zope.Public"
name="+dependent-merges"
template="../templates/branchmergeproposal-generic-listing.pt"/>
- <browser:menus
+ <lp:menus
classes="GitRefContextMenu"
module="lp.code.browser.gitref"/>
<adapter
@@ -1120,7 +1120,7 @@
template="../templates/gitrepository-listing.pt"
permission="zope.Public"/>
- <browser:menus
+ <lp:menus
classes="ProductBranchesMenu"
module="lp.code.browser.branchlisting"/>
@@ -1176,7 +1176,7 @@
permission="launchpad.View"
template="../templates/branchmergeproposal-diff.pt"/>
- <browser:menus
+ <lp:menus
module="lp.code.browser.branchlisting"
classes="PersonProductBranchesMenu"/>
@@ -1296,7 +1296,7 @@
attribute_to_parent="archive"
path_expression="string:+recipebuild/${id}"
/>
- <browser:menus
+ <lp:menus
classes="SourcePackageRecipeBuildContextMenu"
module="lp.code.browser.sourcepackagerecipebuild"/>
@@ -1352,7 +1352,7 @@
name="+rescore"
template="../../app/templates/generic-edit.pt"
permission="launchpad.Admin"/>
- <browser:menus
+ <lp:menus
classes="
SourcePackageRecipeNavigationMenu
SourcePackageRecipeContextMenu"
@@ -1430,7 +1430,7 @@
for="lp.code.interfaces.cibuild.ICIBuild"
path_expression="string:+build/${id}"
attribute_to_parent="git_repository"/>
- <browser:menus
+ <lp:menus
module="lp.code.browser.cibuild"
classes="CIBuildContextMenu" />
<browser:navigation
diff --git a/lib/lp/oci/browser/configure.zcml b/lib/lp/oci/browser/configure.zcml
index ce3c49a..92d1567 100644
--- a/lib/lp/oci/browser/configure.zcml
+++ b/lib/lp/oci/browser/configure.zcml
@@ -13,7 +13,7 @@
for="lp.oci.interfaces.ocirecipe.IOCIRecipe"
path_expression="string:${oci_project/pillar/name}/+oci/${oci_project/name}/+recipe/${name}"
attribute_to_parent="owner" />
- <browser:menus
+ <lp:menus
module="lp.oci.browser.ocirecipe"
classes="
OCIRecipeNavigationMenu
@@ -99,7 +99,7 @@
for="lp.oci.interfaces.ocirecipebuild.IOCIRecipeBuild"
path_expression="string:+build/${id}"
attribute_to_parent="recipe" />
- <browser:menus
+ <lp:menus
module="lp.oci.browser.ocirecipebuild"
classes="OCIRecipeBuildContextMenu" />
<browser:navigation
diff --git a/lib/lp/registry/browser/configure.zcml b/lib/lp/registry/browser/configure.zcml
index 2297a7f..25c217f 100644
--- a/lib/lp/registry/browser/configure.zcml
+++ b/lib/lp/registry/browser/configure.zcml
@@ -250,14 +250,14 @@
factory="lp.registry.browser.distroseriesdifference.CommentXHTMLRepresentation"
provides="zope.interface.Interface"
/>
- <browser:menus
+ <lp:menus
module="lp.registry.browser.distroseries"
classes="
DistroSeriesOverviewMenu
DistroSeriesBugsMenu
DistroSeriesSpecificationsMenu"
/>
- <browser:menus
+ <lp:menus
module="lp.registry.browser.codeofconduct"
classes="
CodeOfConductOverviewMenu
@@ -526,7 +526,7 @@
path_expression="string:+series/${name}"
attribute_to_parent="projectgroup"
/>
- <browser:menus
+ <lp:menus
module="lp.registry.browser.project"
classes="
ProjectActionMenu
@@ -588,7 +588,7 @@
permission="zope.Public"
template="../../answers/templates/sourcepackage-gethelp.pt"
/>
- <browser:menus
+ <lp:menus
module="lp.registry.browser.distributionsourcepackage"
classes="
DistributionSourcePackageActionMenu
@@ -640,7 +640,7 @@
permission="launchpad.Edit"
template="../../app/templates/generic-edit.pt"
/>
- <browser:menus
+ <lp:menus
module="lp.registry.browser.ociproject"
classes="
OCIProjectFacets
@@ -745,7 +745,7 @@
permission="zope.Public"
template="../templates/karmacontext-macros.pt"
/>
- <browser:menus
+ <lp:menus
module="lp.registry.browser.poll"
classes="
PollOverviewMenu
@@ -929,7 +929,7 @@
provides="lp.services.webapp.interfaces.IBreadcrumb"
permission="zope.Public"
/>
- <browser:menus
+ <lp:menus
module="lp.registry.browser.announcement"
classes="
AnnouncementCreateNavigationMenu
@@ -943,7 +943,7 @@
module="lp.registry.browser.team"
classes="TeamNavigation"
/>
- <browser:menus
+ <lp:menus
module="lp.registry.browser.person"
classes="
PersonEditNavigationMenu
@@ -955,13 +955,13 @@
PersonSetContextMenu
"
/>
- <browser:menus
+ <lp:menus
module="lp.registry.browser.menu"
classes="
RegistryCollectionNavigationMenu
"
/>
- <browser:menus
+ <lp:menus
module="lp.registry.browser.team"
classes="
TeamEditMenu
@@ -1629,7 +1629,7 @@
permission="zope.Public"
template="../templates/object-milestones.pt"
/>
- <browser:menus
+ <lp:menus
module="lp.registry.browser.milestone"
classes="
MilestoneContextMenu
@@ -1870,7 +1870,7 @@
module="lp.registry.browser.nameblocklist"
classes="NameBlocklistSetNavigation"
/>
- <browser:menus
+ <lp:menus
module="lp.registry.browser.nameblocklist"
classes="
NameBlocklistNavigationMenu
@@ -1937,7 +1937,7 @@
for="lp.registry.interfaces.product.IProductSet"
rootsite="mainsite"
/>
- <browser:menus
+ <lp:menus
module="lp.registry.browser.product"
classes="
ProductActionNavigationMenu
@@ -2099,7 +2099,7 @@
path_expression="string:series"
parent_utility="lp.code.interfaces.codehosting.IBazaarApplication"
/>
- <browser:menus
+ <lp:menus
module="lp.registry.browser.productseries"
classes="
ProductSeriesOverviewMenu
@@ -2383,7 +2383,7 @@
permission="launchpad.Admin"
template="../../app/templates/generic-edit.pt"
/>
- <browser:menus
+ <lp:menus
module="lp.registry.browser.distribution"
classes="
DistributionBugsMenu
@@ -2446,7 +2446,7 @@
permission="zope.Public"
template="../templates/sourcepackage-upstream-connections.pt"
/>
- <browser:menus
+ <lp:menus
module="lp.registry.browser.sourcepackage"
classes="
SourcePackageOverviewMenu"
@@ -2519,7 +2519,7 @@
permission="launchpad.Edit"
template="../templates/productrelease-edit.pt"
/>
- <browser:menus
+ <lp:menus
module="lp.registry.browser.productrelease"
classes="
ProductReleaseContextMenu"
@@ -2602,7 +2602,7 @@
permission="launchpad.Moderate"
template="../templates/distributionmirror-prober-logs.pt">
</browser:page>
- <browser:menus
+ <lp:menus
module="lp.registry.browser.distributionmirror"
classes="DistributionMirrorOverviewMenu"
/>
@@ -2642,7 +2642,7 @@
classes="
PersonDistributionSourcePackageNavigation"
/>
- <browser:menus
+ <lp:menus
module="lp.registry.browser.persondistributionsourcepackage"
classes="
PersonDistributionSourcePackageFacets"
@@ -2666,7 +2666,7 @@
classes="
PersonProductNavigation"
/>
- <browser:menus
+ <lp:menus
module="lp.registry.browser.personproduct"
classes="
PersonProductFacets"
diff --git a/lib/lp/services/webapp/doc/menus.rst b/lib/lp/services/webapp/doc/menus.rst
index 23358a0..9c9cfe3 100644
--- a/lib/lp/services/webapp/doc/menus.rst
+++ b/lib/lp/services/webapp/doc/menus.rst
@@ -671,9 +671,9 @@ Same for an IContextMenu adapter.
>>> from zope.configuration import xmlconfig
>>> zcmlcontext = xmlconfig.string(
... """
- ... <configure xmlns:browser="http://namespaces.zope.org/browser">
+ ... <configure xmlns:lp="http://namespaces.canonical.com/lp">
... <include file="lib/lp/services/webapp/meta.zcml" />
- ... <browser:menus
+ ... <lp:menus
... module="{module_name}"
... classes="FacetsForThing FooMenuForThing ContextMenuForThing"
... />
@@ -698,8 +698,7 @@ Same for an IContextMenu adapter.
>>> menu3.__class__ is ContextMenuForThing
True
-The browser:menus directive also makes security declarations for the
-adapters.
+The lp:menus directive also makes security declarations for the adapters.
Using menus in page templates
diff --git a/lib/lp/services/webapp/meta.zcml b/lib/lp/services/webapp/meta.zcml
index 8d59765..addb965 100644
--- a/lib/lp/services/webapp/meta.zcml
+++ b/lib/lp/services/webapp/meta.zcml
@@ -12,7 +12,7 @@
/>
<directive
- namespace="http://namespaces.zope.org/browser"
+ namespace="http://namespaces.canonical.com/lp"
name="menus"
schema="lp.services.webapp.metazcml.IMenusDirective"
handler="lp.services.webapp.metazcml.menus"
diff --git a/lib/lp/snappy/browser/configure.zcml b/lib/lp/snappy/browser/configure.zcml
index f2d8fa3..ee357f6 100644
--- a/lib/lp/snappy/browser/configure.zcml
+++ b/lib/lp/snappy/browser/configure.zcml
@@ -21,7 +21,7 @@
permission="launchpad.View"
name="+index"
template="../templates/snap-index.pt" />
- <browser:menus
+ <lp:menus
module="lp.snappy.browser.snap"
classes="
SnapNavigationMenu
@@ -139,7 +139,7 @@
for="lp.snappy.interfaces.snapbuild.ISnapBuild"
path_expression="string:+build/${id}"
attribute_to_parent="snap" />
- <browser:menus
+ <lp:menus
module="lp.snappy.browser.snapbuild"
classes="SnapBuildContextMenu" />
<browser:navigation
diff --git a/lib/lp/soyuz/browser/configure.zcml b/lib/lp/soyuz/browser/configure.zcml
index fa27b2a..aaba2f6 100644
--- a/lib/lp/soyuz/browser/configure.zcml
+++ b/lib/lp/soyuz/browser/configure.zcml
@@ -272,7 +272,7 @@
name="+subscriptions"
template="../templates/archive-subscribers.pt"/>
</browser:pages>
- <browser:menus
+ <lp:menus
classes="
ArchiveNavigationMenu
ArchiveIndexActionsMenu
@@ -330,7 +330,7 @@
name="+cancel"
template="../../app/templates/generic-edit.pt"/>
</browser:pages>
- <browser:menus
+ <lp:menus
classes="
BuildContextMenu"
module="lp.soyuz.browser.build"/>
@@ -454,7 +454,7 @@
<browser:defaultView
for="lp.soyuz.interfaces.distroarchseries.IDistroArchSeries"
name="+index"/>
- <browser:menus
+ <lp:menus
module="lp.soyuz.browser.distroarchseries"
classes="
DistroArchSeriesActionMenu"/>
@@ -708,7 +708,7 @@
name="+index"
template="../templates/livefs-index.pt"
/>
- <browser:menus
+ <lp:menus
module="lp.soyuz.browser.livefs"
classes="LiveFSNavigationMenu"
/>
@@ -757,7 +757,7 @@
path_expression="string:+build/${id}"
attribute_to_parent="livefs"
/>
- <browser:menus
+ <lp:menus
module="lp.soyuz.browser.livefsbuild"
classes="LiveFSBuildContextMenu"
/>
diff --git a/lib/lp/translations/browser/configure.zcml b/lib/lp/translations/browser/configure.zcml
index a96acd0..ec19525 100644
--- a/lib/lp/translations/browser/configure.zcml
+++ b/lib/lp/translations/browser/configure.zcml
@@ -161,7 +161,7 @@
path_expression="language/code"
attribute_to_parent="potemplate"
rootsite="translations"/>
- <browser:menus
+ <lp:menus
module="lp.translations.browser.pofile"
classes="POFileNavigationMenu"/>
<browser:defaultView
@@ -247,7 +247,7 @@
<browser:defaultView
for="lp.services.worlddata.interfaces.language.ILanguage"
name="+index"/>
- <browser:menus
+ <lp:menus
module="lp.translations.browser.language"
classes="
LanguageSetContextMenu
@@ -359,7 +359,7 @@
permission="launchpad.AnyPerson"
template="../templates/potemplate-export.pt"
class="lp.translations.browser.potemplate.POTemplateExportView"/>
- <browser:menus
+ <lp:menus
module="lp.translations.browser.potemplate"
classes="POTemplateMenu"/>
<lp:url
@@ -452,7 +452,7 @@
path_expression="string:${sequence}"
attribute_to_parent="browser_pofile"
rootsite="translations"/>
- <browser:menus
+ <lp:menus
module="lp.translations.browser.translationmessage"
classes="CurrentTranslationMessageMenu"/>
<browser:defaultView
@@ -494,7 +494,7 @@
for="lp.registry.interfaces.sourcepackage.ISourcePackage"
name="+translations"
layer="lp.translations.publisher.TranslationsLayer"/>
- <browser:menus
+ <lp:menus
classes="SourcePackageTranslationsMenu"
module="lp.translations.browser.sourcepackage"/>
@@ -540,7 +540,7 @@
for="lp.registry.interfaces.productseries.IProductSeries"
name="+translations"
layer="lp.translations.publisher.TranslationsLayer"/>
- <browser:menus
+ <lp:menus
classes="ProductSeriesTranslationsMenu"
module="lp.translations.browser.productseries"/>
<browser:pages
@@ -616,7 +616,7 @@
for="lp.registry.interfaces.person.IPerson"
name="+translations"
layer="lp.translations.publisher.TranslationsLayer"/>
- <browser:menus
+ <lp:menus
module="lp.translations.browser.person"
classes="
PersonTranslationsMenu"/>
@@ -665,7 +665,7 @@
for="lp.registry.interfaces.product.IProduct"
layer="lp.translations.publisher.TranslationsLayer"
name="+translations"/>
- <browser:menus
+ <lp:menus
classes="
ProductTranslationsMenu"
module="lp.translations.browser.product"/>
@@ -711,7 +711,7 @@
for="lp.registry.interfaces.projectgroup.IProjectGroup"
name="+translations"
layer="lp.translations.publisher.TranslationsLayer"/>
- <browser:menus
+ <lp:menus
classes="
ProjectTranslationsMenu"
module="lp.translations.browser.project"/>
@@ -734,7 +734,7 @@
for="lp.registry.interfaces.distribution.IDistribution"
name="+translations"
layer="lp.translations.publisher.TranslationsLayer"/>
- <browser:menus
+ <lp:menus
classes="
DistributionTranslationsMenu"
module="lp.translations.browser.distribution"/>
@@ -789,7 +789,7 @@
for="lp.registry.interfaces.distroseries.IDistroSeries"
name="+translations"
layer="lp.translations.publisher.TranslationsLayer"/>
- <browser:menus
+ <lp:menus
classes="
DistroSeriesTranslationsMenu"
module="lp.translations.browser.distroseries"/>