mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #266 from silverstripe-rebelalliance/8151
BUG SiteTree_Information.ss was not making use if i18n translations
This commit is contained in:
commit
caca15034b
@ -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