dolphindb 2.0.909 → 2.0.910

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/i18n/dict.json CHANGED
@@ -29,9 +29,6 @@
29
29
  "nanotimestamp 字符串长度必须等于格式串长度": {
30
30
  "en": "nanotimestamp string length must be equal to format string length"
31
31
  },
32
- "websocket 连接已断开": {
33
- "en": "websocket is disconnected"
34
- },
35
32
  "指定 node 时必须设置 func_type": {
36
33
  "en": "func_type must be set when specifying node"
37
34
  },
@@ -67,5 +64,8 @@
67
64
  },
68
65
  "print 消息的 buffer 中间不应该有 \\0": {
69
66
  "en": "There should not be \\0 in the buffer of the print message"
67
+ },
68
+ "已断开": {
69
+ "en": "is already disconnected"
70
70
  }
71
71
  }
package/index.js CHANGED
@@ -2109,7 +2109,7 @@ export const winsize = 10_0000;
2109
2109
  export class ConnectionError extends Error {
2110
2110
  ddb;
2111
2111
  constructor(ddb) {
2112
- super(`${t('websocket 连接已断开')}: ${ddb.url}`);
2112
+ super(`${ddb.url} ${t('已断开')}`);
2113
2113
  this.ddb = ddb;
2114
2114
  }
2115
2115
  }