mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUG SiteTree_Information.ss was not making use if i18n translations
This commit is contained in:
parent
fa78370ac4
commit
383ae8f8b5
@ -320,6 +320,8 @@ en:
|
||||
HTMLEDITORTITLE: Content
|
||||
INHERIT: 'Inherit from parent page'
|
||||
LASTUPDATED: 'Last Updated'
|
||||
LASTSAVED: 'Last saved'
|
||||
LASTPUBLISHED: 'Last published'
|
||||
LINKCHANGENOTE: 'Changing this page''s link will also affect the links of all child pages.'
|
||||
MENUTITLE: 'Navigation label'
|
||||
METADESC: 'Meta Description'
|
||||
|
@ -328,6 +328,8 @@ en_GB:
|
||||
HTMLEDITORTITLE: Content
|
||||
INHERIT: 'Inherit from parent page'
|
||||
LASTUPDATED: 'Last Updated'
|
||||
LASTSAVED: 'Last saved'
|
||||
LASTPUBLISHED: 'Last published'
|
||||
LINKCHANGENOTE: 'Changing this page''s link will also affect the links of all child pages.'
|
||||
MENUTITLE: 'Navigation label'
|
||||
METADESC: Description
|
||||
|
@ -1,9 +1,9 @@
|
||||
<div class='cms-sitetree-information'>
|
||||
<p class="meta-info"><% _t('LASTSAVED', 'Last saved') %> $LastEdited.Ago(0)
|
||||
<p class="meta-info"><% _t('SiteTree.LASTSAVED', 'Last saved') %> $LastEdited.Ago(0)
|
||||
<% if ExistsOnLive %>
|
||||
<br /><% _t('LASTPUBLISHED', 'Last published') %> $Live.LastEdited.Ago(0)
|
||||
<br /><% _t('SiteTree.LASTPUBLISHED', 'Last published') %> $Live.LastEdited.Ago(0)
|
||||
<% else %>
|
||||
<br /><em><% _t('NOTPUBLISHED', 'Not published') %></em>
|
||||
<br /><em><% _t('SiteTree.NOTPUBLISHED', 'Not published') %></em>
|
||||
<% end_if %>
|
||||
</p>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user