Permalink
Browse files

BUG SiteTree_Information.ss was not making use if i18n translations

  • Loading branch information...
1 parent fa78370 commit 383ae8f8b553f81d357e2fe1528afeda84b95cdb @kmayo-ss kmayo-ss committed Jan 7, 2013
Showing with 7 additions and 3 deletions.
  1. +2 −0 lang/en.yml
  2. +2 −0 lang/en_GB.yml
  3. +3 −3 templates/SiteTree_Information.ss
View
@@ -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
@@ -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>

0 comments on commit 383ae8f

Please sign in to comment.