MINOR: Fix brackets

This commit is contained in:
Mike Cochrane 2017-05-08 16:06:13 +12:00 committed by Mike Cochrane
parent d2c6c539d2
commit efd1a32a5d
3 changed files with 4 additions and 4 deletions

View File

@ -231,10 +231,10 @@ en:
SilverStripe\ORM\FieldType\DBEnum:
ANY: Any
SilverStripe\ORM\Hierarchy:
LIMITED_TITLE: 'Too many children ({count}}'
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}}'
LIMITED_TITLE: 'Too many children ({count})'
SilverStripe\ORM\ValidationException:
DEFAULT_ERROR: 'Validation error'
SilverStripe\Security\BasicAuth:

View File

@ -7,7 +7,7 @@
<% end_if %>
<% if $limited %>
<li><%t SilverStripe\\ORM\\Hierarchy.LIMITED_TITLE 'Too many children ({count}}' count=$count %></li>
<li><%t SilverStripe\\ORM\\Hierarchy.LIMITED_TITLE 'Too many children ({count})' count=$count %></li>
<% else_if $children %>
<% loop $children %>
<li id="selector-{$name}-{$id}" data-id="{$id}"

View File

@ -1,7 +1,7 @@
<% if $children || $limited %>
<ul>
<% if $limited %>
<li><%t SilverStripe\\ORM\\Hierarchy\\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 %>