From 67d552b2e329429e090ebc7adb3ca4bb47cc93ce Mon Sep 17 00:00:00 2001 From: guange <8863824@gmail.com> Date: Wed, 11 May 2016 14:05:51 +0800 Subject: [PATCH 1/9] [deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message. --- config/application.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/application.rb b/config/application.rb index eb5fdc43d..f132d62ba 100644 --- a/config/application.rb +++ b/config/application.rb @@ -53,6 +53,11 @@ module RedmineApp # Configure the default encoding used in templates for Ruby 1.9. config.encoding = "utf-8" + #disable [deprecated] I18n.enforce_available_locales will default to true in the future. + # If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false + # to avoid this message. + I18n.config.enforce_available_locales = false + # Configure sensitive parameters which will be filtered from the log file. config.filter_parameters += [:password] From 5204e01ee8c10d4a17cb52848c6cf05c05ae642a Mon Sep 17 00:00:00 2001 From: cxt Date: Fri, 13 May 2016 18:12:06 +0800 Subject: [PATCH 2/9] =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E7=95=99=E8=A8=80?= =?UTF-8?q?=E5=9B=9E=E5=A4=8D=E7=9A=84=E8=BF=98=E5=8E=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/courses/_courses_jours.html.erb | 9 ++++----- app/views/words/_new_respond_course.html.erb | 4 ++-- public/javascripts/init_KindEditor.js | 9 ++------- 3 files changed, 8 insertions(+), 14 deletions(-) diff --git a/app/views/courses/_courses_jours.html.erb b/app/views/courses/_courses_jours.html.erb index 4a9b07ec7..c7e4a7428 100644 --- a/app/views/courses/_courses_jours.html.erb +++ b/app/views/courses/_courses_jours.html.erb @@ -36,7 +36,7 @@

取消 - 留言 + 留言 <% end %> <% end %> @@ -55,6 +55,9 @@