From 26c4d69e079a13aa829df924eeb35319a8944a09 Mon Sep 17 00:00:00 2001 From: thomaschen <99703040@nccu.edu.tw> Date: Tue, 10 Dec 2013 16:04:21 +0800 Subject: [PATCH] fixed announcement widget index mode title i18n missing --- .../panel/announcement/widget/bulletins_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/widget/bulletins_controller.rb b/vendor/built_in_modules/announcement/app/controllers/panel/announcement/widget/bulletins_controller.rb index ad86e7e0..05d17589 100644 --- a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/widget/bulletins_controller.rb +++ b/vendor/built_in_modules/announcement/app/controllers/panel/announcement/widget/bulletins_controller.rb @@ -23,7 +23,7 @@ class Panel::Announcement::Widget::BulletinsController < OrbitWidgetController @widget_fields = [] end - @title = params[:part_title] + @title = @part.title_translations[I18n.locale.to_s] @widget_style = @part.widget_style