add sitmap submenu chinese translation as well

This commit is contained in:
thomaschen 2013-12-24 16:23:44 +08:00 committed by saurabhbhatia
parent 2fd5d8f321
commit 3b0113d9a7
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class FrontController < ApplicationController
@url = "/#{@name}"
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
render :text => @site.sub_menu
end