add sitmap submenu chinese translation as well
This commit is contained in:
parent
2d492f29ed
commit
14395e6b4e
|
@ -35,7 +35,7 @@ class FrontController < ApplicationController
|
||||||
@url = "/#{@name}"
|
@url = "/#{@name}"
|
||||||
|
|
||||||
if (!@site.sitemap_menu_in_header && @page.first.present?)
|
if (!@site.sitemap_menu_in_header && @page.first.present?)
|
||||||
render :text => (@site.sub_menu + "<a href='#{@url}'>Sitemap</a>")
|
render :text => (@site.sub_menu + "<a href='#{@url}'>#{t(:sitemap)}</a>")
|
||||||
else
|
else
|
||||||
render :text => @site.sub_menu
|
render :text => @site.sub_menu
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue