Skip to content

Commit

Permalink
BUG SiteTree_Information.ss was not making use if i18n translations
Browse files Browse the repository at this point in the history
  • Loading branch information
kmayo-ss committed Jan 7, 2013
1 parent fa78370 commit 383ae8f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions lang/en.yml
Expand Up @@ -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'
Expand Down
2 changes: 2 additions & 0 deletions lang/en_GB.yml
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions templates/SiteTree_Information.ss
@@ -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.