From 3a77ccb021e41f51513c7a994e0c5f9fc3bf6a51 Mon Sep 17 00:00:00 2001 From: OldHawk Date: Wed, 14 Mar 2018 13:18:37 +0800 Subject: [PATCH] chg(forums): change title and greet message of forum home --- modules/core/client/app/trans-string-en.js | 4 ++-- modules/core/client/app/trans-string-zh.js | 4 ++-- .../client/controllers/forums-search.client.controller.js | 1 + modules/forums/client/views/search.client.view.html | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/modules/core/client/app/trans-string-en.js b/modules/core/client/app/trans-string-en.js index 75539273..76d4b227 100644 --- a/modules/core/client/app/trans-string-en.js +++ b/modules/core/client/app/trans-string-en.js @@ -1107,8 +1107,8 @@ //forum FORUMS: { - FORUM_TITLE: 'meanTorrent Forums', - FORUM_SUB_TITLE: 'Welcome to meanTorrent forums!', + FORUM_TITLE: '{{site_name}} Official Forums', + FORUM_SUB_TITLE: 'Welcome to ours official forums, have a good day!', HOME_INDEX: 'Forums Home', BTN_ADD_FORUM: 'Add New Forum', BTN_EDIT_FORUM: 'Edit Forum', diff --git a/modules/core/client/app/trans-string-zh.js b/modules/core/client/app/trans-string-zh.js index 208937e0..28665027 100644 --- a/modules/core/client/app/trans-string-zh.js +++ b/modules/core/client/app/trans-string-zh.js @@ -1107,8 +1107,8 @@ //forum FORUMS: { - FORUM_TITLE: 'meanTorrent 官方论坛', - FORUM_SUB_TITLE: '欢迎您进入 meanTorrent 官方论坛,请文明发言,谢谢!', + FORUM_TITLE: '{{site_name}} 官方论坛', + FORUM_SUB_TITLE: '欢迎您进入我们的官方论坛,请文明发言,谢谢!', HOME_INDEX: '论坛首页', BTN_ADD_FORUM: '添加版块', BTN_EDIT_FORUM: '编辑版块', diff --git a/modules/forums/client/controllers/forums-search.client.controller.js b/modules/forums/client/controllers/forums-search.client.controller.js index 3a5dc530..bc88d6d5 100644 --- a/modules/forums/client/controllers/forums-search.client.controller.js +++ b/modules/forums/client/controllers/forums-search.client.controller.js @@ -10,6 +10,7 @@ function ForumsSearchController($scope, $state, $translate, Authentication, MeanTorrentConfig, ForumsService, mtDebug) { var vm = this; vm.forumsConfig = MeanTorrentConfig.meanTorrentConfig.forumsConfig; + vm.appConfig = MeanTorrentConfig.meanTorrentConfig.app; vm.user = Authentication.user; vm.forumList = []; diff --git a/modules/forums/client/views/search.client.view.html b/modules/forums/client/views/search.client.view.html index 53df1881..747f169a 100644 --- a/modules/forums/client/views/search.client.view.html +++ b/modules/forums/client/views/search.client.view.html @@ -2,7 +2,7 @@