mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-05-07 21:55:36 +02:00
upload torrent files is ok.
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
|
||||
transConfig.$inject = ['$translateProvider'];
|
||||
function transConfig($translateProvider) {
|
||||
$translateProvider.useSanitizeValueStrategy('escape');
|
||||
//$translateProvider.useSanitizeValueStrategy('escape');
|
||||
$translateProvider.preferredLanguage('en');
|
||||
//$translateProvider.fallbackLanguage('cn');
|
||||
}
|
||||
|
||||
@@ -46,13 +46,22 @@
|
||||
UPLOADS_RULES: '上传规则:',
|
||||
UPLOADS_RULES_COUNT: '6',
|
||||
UPLOADS_RULES_CONTENT: [
|
||||
'种子文件的Tracker地址必须为:<mark><strong>{{url}}</strong></mark>',
|
||||
'种子文件的 TMDB_ID 必须是 The Movie DB 相对应的资源ID号,<strong><a href="https://www.themoviedb.org/">您可以从这里找到ID号</a></strong>',
|
||||
'资源的详细信息,系统会自动载入,如无误可直接提交',
|
||||
'请为资源选择匹配的一个或多个标签,它会在您的搜索结果中发挥重大作用',
|
||||
'种子文件提交后,可能会由后台管理人员进行审批,不符合规则的种子会被直接删除',
|
||||
'如需其它帮助,请与我们的管理员联系:<strong><a href="mailto:#">{{admin}}</a></strong>'
|
||||
]
|
||||
'种子文件的Tracker地址必须为:<mark><strong>{{url}}</strong></mark>.',
|
||||
'种子文件的 TMDB_ID 必须是 The Movie DB 相对应的资源ID号,<strong><a href="https://www.themoviedb.org/">您可以从这里找到ID号</a></strong>.',
|
||||
'资源的详细信息,系统会自动载入,如无误可直接提交.',
|
||||
'请为资源选择匹配的一个或多个标签,它会在您的搜索结果中发挥重大作用.',
|
||||
'种子文件提交后,可能会由后台管理人员进行审批,不符合规则的种子会被直接删除.',
|
||||
'如需其它帮助,请与我们的管理员联系:<strong><a href="mailto:#">{{admin}}</a></strong>.'
|
||||
],
|
||||
|
||||
//TorrentsUploadsController
|
||||
TORRENTS_UPLOAD_SUCCESSFULLY: '文件上传成功',
|
||||
TORRENTS_UPLOAD_FAILED: '文件上传失败',
|
||||
TORRENTS_NO_FILE_SELECTED: '请选择种子文件后再做尝试',
|
||||
|
||||
SELECT_TORRENT_FILE: '请选择种子文件',
|
||||
SELECT_FILE: '选择文件',
|
||||
DO_UPLOADS: '上传'
|
||||
};
|
||||
|
||||
// **************************************************
|
||||
|
||||
@@ -42,17 +42,26 @@
|
||||
CHANGE_PASSWORD: 'Change Password',
|
||||
MANAGE_SOCIAL_ACCOUNTS: 'Manage Social Accounts',
|
||||
|
||||
//发种规则
|
||||
//Uploads rules
|
||||
UPLOADS_RULES: 'Uploads Rules:',
|
||||
UPLOADS_RULES_COUNT: '6',
|
||||
UPLOADS_RULES_CONTENT: [
|
||||
'The torrent file`s Tracker URL must be: <mark><strong>{{url}}</strong></mark>',
|
||||
'The torrent file`s TMDB_ID must be TheMovieDB resources ID, <strong><a href="https://www.themoviedb.org/">you can find the ID from here</a></strong>',
|
||||
'The resources detail info can be autoload, if it`s fine, then you can submit it',
|
||||
'Select one or more tags that match the resources, which will play a significant role in your search results',
|
||||
'After the submission of documents, may be approved by the management, the rules do not meet the seeds will be deleted directly',
|
||||
'For additional assistance, please contact our administrator: <strong><a href="mailto:#">{{admin}}</a></strong>'
|
||||
]
|
||||
'The torrent file`s Tracker URL must be: <mark><strong>{{url}}</strong></mark>.',
|
||||
'The torrent file`s TMDB_ID must be TheMovieDB resources ID, <strong><a href="https://www.themoviedb.org/">you can find the ID from here</a></strong>.',
|
||||
'The resources detail info can be autoload, if it`s fine, then you can submit it.',
|
||||
'Select one or more tags that match the resources, which will play a significant role in your search results.',
|
||||
'After the submission of documents, may be approved by the management, the rules do not meet the seeds will be deleted directly.',
|
||||
'For additional assistance, please contact our administrator: <strong><a href="mailto:#">{{admin}}</a></strong>.'
|
||||
],
|
||||
|
||||
//TorrentsUploadsController & views
|
||||
TORRENTS_UPLOAD_SUCCESSFULLY: 'Successfully uploads file',
|
||||
TORRENTS_UPLOAD_FAILED: 'Failed to uploads file',
|
||||
TORRENTS_NO_FILE_SELECTED: 'No file selected',
|
||||
|
||||
SELECT_TORRENT_FILE: 'Please select the torrent file',
|
||||
SELECT_FILE: 'Select file',
|
||||
DO_UPLOADS: 'Uploads'
|
||||
};
|
||||
|
||||
// **************************************************
|
||||
|
||||
@@ -41,3 +41,7 @@ a:hover .header-profile-image {
|
||||
.has-error .help-inline.error-text {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.small-legend{
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user