BUG SiteTree_Information.ss was not making use if i18n translations

This commit is contained in:
Kirk Mayo 2013-01-07 15:37:04 +13:00
parent fa78370ac4
commit 383ae8f8b5
3 changed files with 7 additions and 3 deletions

View File

@ -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'

View File

@ -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

View File

@ -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>