From 6dc374cf9a18936fdc7833aaaa9a4419468bbf7e Mon Sep 17 00:00:00 2001 From: Yiang Gan Date: Wed, 30 Mar 2016 17:41:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=80=E6=96=B0=E5=8A=A8=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/application.rb | 6 +- public/assets/wechat/activities.html | 84 +++++----- public/assets/wechat/issue_detail.html | 221 +++++++++++++++++++++++++ 3 files changed, 266 insertions(+), 45 deletions(-) create mode 100644 public/assets/wechat/issue_detail.html diff --git a/config/application.rb b/config/application.rb index b60c0fb4a..e3e36cd70 100644 --- a/config/application.rb +++ b/config/application.rb @@ -48,10 +48,10 @@ module RedmineApp # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] - config.i18n.default_locale = :zh + # config.i18n.default_locale = :zh - #config.i18n.enforce_available_locales = true - #I18n.config.enforce_available_locales = true + config.i18n.enforce_available_locales = false + I18n.config.enforce_available_locales = false # Configure the default encoding used in templates for Ruby 1.9. config.encoding = "utf-8" diff --git a/public/assets/wechat/activities.html b/public/assets/wechat/activities.html index eb537363d..398d0fc2f 100644 --- a/public/assets/wechat/activities.html +++ b/public/assets/wechat/activities.html @@ -1,7 +1,7 @@ - react js + 最新动态 @@ -20,65 +20,65 @@ + + + + + + + \ No newline at end of file