更新 windshaft-errors.js
This commit is contained in:
parent
fe6a6d0a25
commit
e1ead0a3a9
@ -5,21 +5,21 @@ 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/
|
||||
messageRegex: /^需要 API key 认证/
|
||||
}
|
||||
},
|
||||
generic: {
|
||||
},
|
||||
limit: {
|
||||
'over-platform-limits': {
|
||||
messageRegex: /^You are over platform's limits/
|
||||
messageRegex: /^超过了平台许可/
|
||||
},
|
||||
'generic-limit-error': {
|
||||
messageRegex: /.*/,
|
||||
@ -29,13 +29,13 @@ module.exports = {
|
||||
tile: {
|
||||
'generic-tile-error': {
|
||||
messageRegex: /.*/,
|
||||
friendlyMessage: 'Some tiles might not be rendering correctly.'
|
||||
friendlyMessage: '某些地图瓦片可能无法正确渲染.'
|
||||
}
|
||||
},
|
||||
layer: {
|
||||
'column-does-not-exist': {
|
||||
messageRegex: /column (.+) does not exist/,
|
||||
friendlyMessage: 'Invalid column name. Column $0 does not exist.'
|
||||
friendlyMessage: '无效的列名称. $0 不存在.'
|
||||
},
|
||||
'unrecognized-rule': {
|
||||
messageRegex: /Unrecognized rule: (.+)/,
|
||||
@ -47,7 +47,7 @@ module.exports = {
|
||||
},
|
||||
dataview: {
|
||||
'formula-does-not-support-operation': {
|
||||
messageRegex: /Formula does not support (.+) operation/
|
||||
messageRegex: /计算不支持 (.+) 操作/
|
||||
},
|
||||
'column-does-not-exist': {
|
||||
messageRegex: /column (.+) does not exist/
|
||||
|
Loading…
Reference in New Issue
Block a user