add sitmap submenu chinese translation as well

This commit is contained in:
thomaschen 2013-12-24 17:27:29 +08:00 committed by saurabhbhatia
parent 2d492f29ed
commit 14395e6b4e
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