add sitmap submenu chinese translation as well
This commit is contained in:
parent
2fd5d8f321
commit
3b0113d9a7
|
@ -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
|
||||||
|
|
Reference in New Issue