Skip to content

Commit

Permalink
add i18n-domain
Browse files Browse the repository at this point in the history
  • Loading branch information
pbauer committed Feb 12, 2014
1 parent de5e44d commit ad1235a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
@@ -1,4 +1,5 @@
<dl class="portalMessage alert-box secondary warning">
<dl class="portalMessage alert-box secondary warning"
i18n:domain="plone">
<dt i18n:translate="">Warning</dt>
<dd>
<tal:manager tal:condition="not:view/can_migrate">
Expand Down
2 changes: 1 addition & 1 deletion plone/app/contenttypes/browser/viewlets.py
Expand Up @@ -20,9 +20,9 @@ class ATWarningViewlet(ViewletBase):

def update(self):
self.available = False
self.context = aq_inner(self.context)
if not HAS_ARCHETYPES:
return
self.context = aq_inner(self.context)
if not IBaseObject.providedBy(self.context):
return
context_fti = self.context.getTypeInfo()
Expand Down

1 comment on commit ad1235a

@mister-roboto
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TESTS FAILED
Mr.Roboto url : http://jenkins.plone.org/roboto/get_info?push=8d914365d8fe45dfb29448dbac492f91
[SUCCESS] kgs-plone.app.contenttypes-plone-5.0-python-2.7 kgs
[FAILURE] kgs-plone.app.contenttypes-plone-4.3-python-2.6 kgs
[FAILURE] kgs-plone.app.contenttypes-plone-4.3-python-2.7 kgs

Please sign in to comment.