1. Andriy Kornatskyy
  2. wheezy.web

Commits

Andriy Kornatskyy  committed e9bc810

Localization for wheezy templates

  • Participants
  • Parent commits 868716a
  • Branches default

Comments (0)

Files changed (1)

File demos/template/content/templates-wheezy/preprocessor/shared/snippet/menu-header.html

View file
-#require(path_for)
+#require(_, path_for)
 @require(route_args)
 
 #def link(href, title):
 @end
 
 <ul id="menu">
-    @active_item('home')#link('home', 'Home')
-    @active_item('about')#link('about', 'About')
+    @active_item('home')#link('home', _('s:Home'))
+    @active_item('about')#link('about', _('s:About'))
 </ul>