From 4a052383e1660c999b8096a8ae3db3b186e60968 Mon Sep 17 00:00:00 2001 From: Tony Air Date: Tue, 7 Nov 2017 07:04:39 +0700 Subject: [PATCH] i18n support --- templates/BetterNavigator/BetterNavigator.ss | 22 ++++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/templates/BetterNavigator/BetterNavigator.ss b/templates/BetterNavigator/BetterNavigator.ss index 9280313..fae1f5a 100644 --- a/templates/BetterNavigator/BetterNavigator.ss +++ b/templates/BetterNavigator/BetterNavigator.ss @@ -17,35 +17,35 @@ <% with $BetterNavigator %> <% if $ArchiveLink.Active %> - <% if $EditLink %>Restore<% end_if %> + <% if $EditLink %><%t BetterNavigator.Restore 'Restore' %><% end_if %> <% else %> <% if not $LiveLink.Active %> <% if $LiveLink.Link %> - View live + <%t BetterNavigator.ViewLive 'View live' %> <% else %> - Not yet published + <%t BetterNavigator.NotPublished 'Not yet published' %> <% end_if %> <% end_if %> <% if not $StageLink.Active %> <% if $StageLink.Link %> - View draft + <%t BetterNavigator.ViewDraft 'View draft' %> <% else %> - Deleted from draft site + <%t BetterNavigator.DeletedFromDraft 'Deleted from draft site' %> <% end_if %> <% end_if %> - <% if $EditLink %>Edit in CMS<% end_if %> + <% if $EditLink %><%t BetterNavigator.Edit 'Edit in CMS' %><% end_if %> <% end_if %> <% if $Member %> - Log out<% if $Member.FirstName %> ($Member.FirstName)<% end_if %> + <%t BetterNavigator.LogOut 'Log out' %><% if $Member.FirstName %> ($Member.FirstName)<% end_if %> <% else %> - Log in + <%t BetterNavigator.LogIn 'Log in' %> <% end_if %> <% end_with %> - <% include BetterNavigator\BetterNavigatorExtraContent %> + <% include BetterNavigatorExtraContent %> <% if $BetterNavigator.Mode=='dev' || $BetterNavigator.IsDeveloper %> @@ -65,7 +65,7 @@ - <% include BetterNavigator\BetterNavigatorExtraDevTools %> + <% include BetterNavigatorExtraDevTools %>
Debugging
@@ -81,7 +81,7 @@ - <% include BetterNavigator\BetterNavigatorExtraDebugging %> + <% include BetterNavigatorExtraDebugging %> <% end_if %>