xshell 1.0.111 → 1.0.112

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.
Files changed (2) hide show
  1. package/i18n/index.js +2 -3
  2. package/package.json +1 -1
package/i18n/index.js CHANGED
@@ -6,7 +6,7 @@ export const LANGUAGES = ['zh', 'en', 'ja', 'ko'];
6
6
  @see https://github.com/ShenHongFei/xshell/tree/master/i18n
7
7
  */
8
8
  export class I18N {
9
- static LANGUAGE_REGEXP = /^(zh|en|ja|jp|ko)$/;
9
+ static LANGUAGE_REGEXP = /^(zh|en|ja|ko)$/;
10
10
  /** (ISO 639-1 标准语言代码) 可能取 zh, en, ja, ko */
11
11
  language;
12
12
  /** hostname shortcuts */
@@ -81,8 +81,7 @@ export class I18N {
81
81
  fallbackLng: {
82
82
  en: ['zh'],
83
83
  ja: ['en', 'zh'],
84
- ko: ['en', 'zh'],
85
- default: ['en', 'zh']
84
+ ko: ['en', 'zh']
86
85
  },
87
86
  // 禁用 : 和 . 作为 seperator
88
87
  keySeparator: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xshell",
3
- "version": "1.0.111",
3
+ "version": "1.0.112",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "bin": {