mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-07-04 13:28:55 +02:00
feat(torrents): return hash code if exists when upload
This commit is contained in:
@@ -1615,7 +1615,7 @@
|
||||
INVITE_MAIL_SEND_FAILED: 'Invitation mail send failed (SERVER)',
|
||||
EMAIL_ADDRESS_IS_NOT_ALLOW: 'The domain of this email address is not allowable from server',
|
||||
INFO_HASH_IS_EMPTY: 'Info hash field of torrent file is empty',
|
||||
INFO_HASH_ALREADY_EXISTS: 'This info hash value is already exists',
|
||||
INFO_HASH_ALREADY_EXISTS: 'This info hash value is already exists, {{hash}}',
|
||||
UPLOAD_ACCESS_DENY: 'System only accepts resources group to upload torrents',
|
||||
READ_TORRENT_FILE_FAILD: 'The torrent file parsing error. Please check your torrent file to check if some of the necessary information is missing',
|
||||
MOVE_TORRENT_FILE_ERROR: 'The torrent file was moved incorrectly. Please do not repeat the submit operation quickly or the uploaded torrent file is missing.',
|
||||
|
||||
@@ -1606,7 +1606,7 @@
|
||||
INVITE_MAIL_SEND_FAILED: '邀請郵件傳送失敗(SERVER)',
|
||||
EMAIL_ADDRESS_IS_NOT_ALLOW: '該郵件地址不允許被邀請或註冊',
|
||||
INFO_HASH_IS_EMPTY: 'Info hash 欄位值不能為空',
|
||||
INFO_HASH_ALREADY_EXISTS: '該 info hash 值已經存在,不能重複提交',
|
||||
INFO_HASH_ALREADY_EXISTS: '該 info hash 值已經存在,不能重複提交, {{hash}}',
|
||||
UPLOAD_ACCESS_DENY: '當前系統只接受資源製作小組上傳種子',
|
||||
READ_TORRENT_FILE_FAILD: '種子檔案解析錯誤,請檢查您的種子檔案,看是否缺少某些必要資訊',
|
||||
MOVE_TORRENT_FILE_ERROR: '種子檔案移動錯誤,請不要快速重複進行提交操作或者上傳的種子檔案已丟失'
|
||||
|
||||
@@ -1615,7 +1615,7 @@
|
||||
INVITE_MAIL_SEND_FAILED: '邀请邮件发送失败(SERVER)',
|
||||
EMAIL_ADDRESS_IS_NOT_ALLOW: '该邮件地址不允许被邀请或注册',
|
||||
INFO_HASH_IS_EMPTY: 'Info hash 字段值不能为空',
|
||||
INFO_HASH_ALREADY_EXISTS: '该 info hash 值已经存在,不能重复提交',
|
||||
INFO_HASH_ALREADY_EXISTS: '该 info hash 值已经存在,不能重复提交, {{hash}}',
|
||||
UPLOAD_ACCESS_DENY: '当前系统只接受资源制作小组上传种子',
|
||||
READ_TORRENT_FILE_FAILD: '种子文件解析错误,请检查您的种子文件,看是否缺少某些必要信息',
|
||||
MOVE_TORRENT_FILE_ERROR: '种子文件移动错误,请不要快速重复进行提交操作或者上传的种子文件已丢失',
|
||||
|
||||
@@ -14,6 +14,10 @@ body {
|
||||
background-color: @mt-body-background-color;
|
||||
}
|
||||
|
||||
.ui-notification{
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
.social-list {
|
||||
img {
|
||||
border-radius: 12px;
|
||||
|
||||
@@ -193,10 +193,12 @@
|
||||
vm.successfully = false;
|
||||
vm.tFile = undefined;
|
||||
// Show error message
|
||||
Notification.error({
|
||||
message: response.data,
|
||||
title: '<i class="glyphicon glyphicon-remove"></i> ' + $translate.instant('TORRENTS_UPLOAD_FAILED')
|
||||
});
|
||||
if (response.data.params) {
|
||||
response.data.message = $translate.instant(response.data.message, response.data.params);
|
||||
}
|
||||
console.log(response.data.message);
|
||||
|
||||
NotifycationService.showErrorNotify(response.data.message, 'TORRENTS_UPLOAD_FAILED');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user