From 3b0113d9a792ae7dc84e1446f2578d9a25828b2e Mon Sep 17 00:00:00 2001 From: thomaschen <99703040@nccu.edu.tw> Date: Tue, 24 Dec 2013 16:23:44 +0800 Subject: [PATCH] add sitmap submenu chinese translation as well --- app/controllers/front_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/front_controller.rb b/app/controllers/front_controller.rb index a5b3780c..dbc2ebf3 100644 --- a/app/controllers/front_controller.rb +++ b/app/controllers/front_controller.rb @@ -35,7 +35,7 @@ class FrontController < ApplicationController @url = "/#{@name}" if (!@site.sitemap_menu_in_header && @page.first.present?) - render :text => (@site.sub_menu + "Sitemap") + render :text => (@site.sub_menu + "#{t(:sitemap)}") else render :text => @site.sub_menu end