From 1489ab015a9d6a528edaddc434b243b4cb8cace7 Mon Sep 17 00:00:00 2001 From: yuanke <249218296@qq.com> Date: Thu, 28 Jul 2016 17:55:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E6=A8=A1=E7=89=88=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E6=A0=87=E9=A2=98=E5=8A=A0=E4=B8=8A=E5=8F=A5=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/mobile/apis/users.rb | 4 ++-- config/locales/zh.yml | 32 ++++++++++++++++---------------- config/wechat.yml.template | 2 +- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/app/api/mobile/apis/users.rb b/app/api/mobile/apis/users.rb index e34bae63f..9b1be37c3 100644 --- a/app/api/mobile/apis/users.rb +++ b/app/api/mobile/apis/users.rb @@ -42,7 +42,7 @@ module Mobile user: user ) ws = WechatService.new - ws.binding_succ_notice(user.id, "您已成功绑定Trustie平台", user.login, Time.now.strftime("%Y-%m-%d")) + ws.binding_succ_notice(user.id, "您已成功绑定Trustie平台。", user.login, Time.now.strftime("%Y-%m-%d")) present status: 0, message: '您已成功绑定Trustie平台' end @@ -68,7 +68,7 @@ module Mobile user: user ) ws = WechatService.new - ws.binding_succ_notice(user.id, "您已成功绑定Trustie平台", user.login, Time.now.strftime("%Y-%m-%d")) + ws.binding_succ_notice(user.id, "您已成功绑定Trustie平台。", user.login, Time.now.strftime("%Y-%m-%d")) present :data, user, with: Mobile::Entities::User present :status, 0 end diff --git a/config/locales/zh.yml b/config/locales/zh.yml index dbb3ff074..e3b395bd8 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -2139,21 +2139,21 @@ zh: label_resource_belongs_project: 所属项目 #微信模板消息 - label_new_homework_template: 您有新作业了 - label_update_homework_template: 您的作业已被修改 - label_course_topic_template: 课程问答区有新帖子发布了 - label_topic_comment_template: 您的帖子有新回复了 - label_project_topic_template: 项目讨论区有新帖子发布了 - label_issue_comment_template: 您的缺陷有新回复了 - label_notice_comment_template: 您的课程通知有新回复了 - label_news_comment_template: 您的项目新闻有新回复了 - label_homework_comment_template: 您的作业有新回复了 - label_new_second_comment_template: 您有新回复了 - label_new_journals_template: 您有新留言了 - label_journals_comment_template: 您的留言有新回复了 - label_blog_comment_template: 您的博客有新回复了 - label_new_blog_template: 有新博客了 - label_new_issue_template: 有新的问题动态了 - label_new_notice_template: 您的课程有新通知了 + label_new_homework_template: 您有新作业了。 + label_update_homework_template: 您的作业已被修改。 + label_course_topic_template: 课程问答区有新帖子发布了。 + label_topic_comment_template: 您的帖子有新回复了。 + label_project_topic_template: 项目讨论区有新帖子发布了。 + label_issue_comment_template: 您的缺陷有新回复了。 + label_notice_comment_template: 您的课程通知有新回复了。 + label_news_comment_template: 您的项目新闻有新回复了。 + label_homework_comment_template: 您的作业有新回复了。 + label_new_second_comment_template: 您有新回复了。 + label_new_journals_template: 您有新留言了。 + label_journals_comment_template: 您的留言有新回复了。 + label_blog_comment_template: 您的博客有新回复了。 + label_new_blog_template: 有新博客了。 + label_new_issue_template: 有新的问题动态了。 + label_new_notice_template: 您的课程有新通知了。 #edit yk label_code_work_tests: 代码测试列表 diff --git a/config/wechat.yml.template b/config/wechat.yml.template index ee2be1c51..02ec8db55 100644 --- a/config/wechat.yml.template +++ b/config/wechat.yml.template @@ -21,7 +21,7 @@ default: &default homework_message_notice: "tCf7teCVqc2vl2LZ_hppIdWmpg8yLcrI8XifxYePjps" class_notice: "MQ_mFupbXP-9jWbeHT3C5xqNBvPo8EIlNv4ULakSpJA" create_class_notice: "2GtJJGzzNlNy2i0UrsjEDlvfSVIUXQfSo47stpcQAVw" - create_project_notice: "R2ZaQKJfDJgujPcHWPzadKHIRkIyj2CjX2o_qIuRqig" + create_project_notice: "jYu0iimbDpgWYZaTLXioZe2lvqoWTdKnUPyphTJ1mxs" production: <<: *default