diff --git a/modules/core/client/app/trans-string-cn.js b/modules/core/client/app/trans-string-cn.js
index 031d5f9c..37e77ff0 100644
--- a/modules/core/client/app/trans-string-cn.js
+++ b/modules/core/client/app/trans-string-cn.js
@@ -115,6 +115,12 @@
TRANCKER_URL: 'Tracker 地址',
ATTRIBUTE_TAGS: '视频属性(标签)',
VIDEO_NFO: '视频 NFO',
+ UPLOAD_SUBTITLE: '上传字幕文件',
+ SUBTITLE_LIST: '字幕列表',
+ SUBTITLE_RULES: {
+ 0: '如果你有该种子的字幕文件,你可以在这里上传.',
+ 1: '请注意字幕文件名的正确格式,比如: Sing.2016.3D.HKG.BluRay.1080p.AVC.Atmos.TrueHD7.1-MTeam.chs&eng.srt'
+ },
//TorrentsUploadsController
TORRENTS_UPLOAD_SUCCESSFULLY: '文件上传成功',
diff --git a/modules/core/client/app/trans-string-en.js b/modules/core/client/app/trans-string-en.js
index 2e5c5052..866e20a6 100644
--- a/modules/core/client/app/trans-string-en.js
+++ b/modules/core/client/app/trans-string-en.js
@@ -115,8 +115,14 @@
TRANCKER_URL: 'Tracker Url',
ATTRIBUTE_TAGS: 'Video Attribute (tags)',
VIDEO_NFO: 'Video NFO',
+ UPLOAD_SUBTITLE: 'Upload Subtitle files',
+ SUBTITLE_LIST: 'Subtitle list',
+ SUBTITLE_RULES: {
+ 0: 'If the torrent has no subtitle files, you can uploads here.',
+ 1: 'Please note the filename format, such as: Sing.2016.3D.HKG.BluRay.1080p.AVC.Atmos.TrueHD7.1-MTeam.chs&eng.srt'
+ },
- //TorrentsUploadsController & views
+ //TorrentsUploadsController & views
TORRENTS_UPLOAD_SUCCESSFULLY: 'Successfully uploads file',
TORRENTS_UPLOAD_FAILED: 'Failed to uploads file',
TORRENTS_NO_FILE_SELECTED: 'No file selected',
diff --git a/modules/core/client/less/mt.less b/modules/core/client/less/mt.less
index 311dbc66..d743256f 100644
--- a/modules/core/client/less/mt.less
+++ b/modules/core/client/less/mt.less
@@ -279,6 +279,10 @@
}
}
+.inline-block {
+ display: inline-block;
+}
+
.label-download {
color: #fff;
font-size: 12px;
diff --git a/modules/torrents/client/controllers/torrents.client.controller.js b/modules/torrents/client/controllers/torrents.client.controller.js
index 6039ab7d..70cd9e6a 100644
--- a/modules/torrents/client/controllers/torrents.client.controller.js
+++ b/modules/torrents/client/controllers/torrents.client.controller.js
@@ -302,6 +302,10 @@
$window.open(url, '_blank');
};
+ /**
+ * getVideoNfoHtml
+ * @returns {*}
+ */
vm.getVideoNfoHtml = function () {
if (vm.torrentLocalInfo.torrent_nfo) {
var info = $filter('videoNfo')(vm.torrentLocalInfo.torrent_nfo);
diff --git a/modules/torrents/client/views/view-torrent.client.view.html b/modules/torrents/client/views/view-torrent.client.view.html
index 2e3c85d4..5c3650c6 100644
--- a/modules/torrents/client/views/view-torrent.client.view.html
+++ b/modules/torrents/client/views/view-torrent.client.view.html
@@ -143,7 +143,7 @@