diff --git a/src/api/v4/error-handling/error-list/windshaft-errors.js b/src/api/v4/error-handling/error-list/windshaft-errors.js index 5e992a9..a80232e 100644 --- a/src/api/v4/error-handling/error-list/windshaft-errors.js +++ b/src/api/v4/error-handling/error-list/windshaft-errors.js @@ -5,11 +5,11 @@ module.exports = { }, 'invalid-dataset': { messageRegex: /relation (.+) does not exist/, - friendlyMessage: 'Invalid dataset name used. Dataset $0 does not exist.' + friendlyMessage: '无效的数据表名. $0 不存在.' }, 'column-does-not-exist': { messageRegex: /column (.+) does not exist/, - friendlyMessage: 'Invalid column name. Column $0 does not exist.' + friendlyMessage: '无效的列名称. $0 不存在.' }, 'analysis-requires-authentication': { messageRegex: /^Analysis requires authentication with API key/ @@ -19,7 +19,7 @@ module.exports = { }, limit: { 'over-platform-limits': { - messageRegex: /^You are over platform's limits/ + messageRegex: /^超过了平台许可/ }, 'generic-limit-error': { messageRegex: /.*/,