diff --git a/app/scripts/filters/taskStatus.js b/app/scripts/filters/taskStatus.js index 742f0be..2222817 100644 --- a/app/scripts/filters/taskStatus.js +++ b/app/scripts/filters/taskStatus.js @@ -20,7 +20,7 @@ } else if (task.status == 'complete') { return translateFilter('Completed'); } else if (task.status == 'error') { - return translateFilter('Error Occurred'); + return translateFilter('Error Occurred') + (task.errorCode ? ' (' + task.errorCode + ')' : ''); } else if (task.status == 'removed') { return translateFilter('Removed'); } else { diff --git a/app/scripts/langs/en-US.js b/app/scripts/langs/en-US.js index 3115541..8e5cc10 100644 --- a/app/scripts/langs/en-US.js +++ b/app/scripts/langs/en-US.js @@ -57,6 +57,7 @@ 'File List': 'File List', 'Peers': 'Peers', 'Task Status': 'Task Status', + 'Error Description': 'Error Description', 'Health Percent': 'Health Percent', 'Info Hash': 'Info Hash', 'Seeders': 'Seeders', diff --git a/app/scripts/langs/zh-CN.js b/app/scripts/langs/zh-CN.js index 1ed3a54..5b9e192 100644 --- a/app/scripts/langs/zh-CN.js +++ b/app/scripts/langs/zh-CN.js @@ -57,6 +57,7 @@ 'File List': '文件列表', 'Peers': '连接状态', 'Task Status': '任务状态', + 'Error Description': '错误描述', 'Health Percent': '健康度', 'Info Hash': '特征值', 'Seeders': '种子数', diff --git a/app/views/task-detail.html b/app/views/task-detail.html index 0bd1ccb..d5fd52f 100644 --- a/app/views/task-detail.html +++ b/app/views/task-detail.html @@ -43,6 +43,14 @@ +
+
+ Error Description +
+
+ +
+