Shift hierarchy namespace i18n key

This commit is contained in:
Damian Mooyman 2017-04-28 14:45:36 +12:00
parent 23710cf23e
commit 2fa7598261
2 changed files with 2 additions and 3 deletions

View File

@ -212,10 +212,9 @@ en:
other: '{count} years'
SilverStripe\ORM\FieldType\DBEnum:
ANY: Any
SilverStripe\ORM\Hierarchy:
LIMITED_TITLE: 'Too many children ({count}}'
SilverStripe\ORM\Hierarchy\Hierarchy:
InfiniteLoopNotAllowed: 'Infinite loop found within the "{type}" hierarchy. Please change the parent to resolve this'
LIMITED_TITLE: 'Too many children ({count}}'
SilverStripe\ORM\ValidationException:
DEFAULT_ERROR: 'Validation error'
SilverStripe\Security\BasicAuth:

View File

@ -1,7 +1,7 @@
<% if $children || $limited %>
<ul>
<% if $limited %>
<li><%t SilverStripe\\ORM\\Hierarchy.LIMITED_TITLE 'Too many children ({count}}' count=$count %></li>
<li><%t SilverStripe\\ORM\\Hierarchy\\Hierarchy.LIMITED_TITLE 'Too many children ({count}}' count=$count %></li>
<% else_if $children %>
<% loop $children %><li>$node.Title.XML $SubTree</li><% end_loop %>
<% end_if %>