From 7526f196bba65a65813ec53a7437d13d7cdc033c Mon Sep 17 00:00:00 2001 From: OldHawk Date: Sun, 20 May 2018 11:23:21 +0800 Subject: [PATCH] feat(fix): fixed torrent.js mediainfo flag config --- config/env/torrents.js | 17 +++++++---------- .../client/views/view-torrent.client.view.html | 2 +- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/config/env/torrents.js b/config/env/torrents.js index 44596512..69065c01 100644 --- a/config/env/torrents.js +++ b/config/env/torrents.js @@ -1362,18 +1362,15 @@ module.exports = { * * mediaInfo settings * - * @subtitle: subtitles of media info - * @flag: flag icon class, can find flag icon at '/public/lib/flag-icon-css/flags' + * @flag: flag icon class, can find flag icon at '/public/lib/flag-icon-css/flags' */ mediaInfo: { - subtitles: { - flag: { - chs: {class: 'flag-icon-cn'}, - chinese: {class: 'flag-icon-cn'}, - cht: {class: 'flag-icon-tw'}, - korean: {class: 'flag-icon-kr'}, - eng: {class: 'flag-icon-gb'} - } + flag: { + chs: {class: 'flag-icon-cn'}, + chinese: {class: 'flag-icon-cn'}, + cht: {class: 'flag-icon-tw'}, + korean: {class: 'flag-icon-kr'}, + eng: {class: 'flag-icon-gb'} } }, diff --git a/modules/torrents/client/views/view-torrent.client.view.html b/modules/torrents/client/views/view-torrent.client.view.html index 7134c972..fb39e808 100644 --- a/modules/torrents/client/views/view-torrent.client.view.html +++ b/modules/torrents/client/views/view-torrent.client.view.html @@ -711,7 +711,7 @@
- {{lang}} + {{lang}}