verteilen-core 1.0.12 → 1.0.14

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.
@@ -44,21 +44,34 @@
44
44
  "settings": {
45
45
  "system": "System",
46
46
  "appearance": "Appearance",
47
- "workflow": "Workflow"
47
+ "workflow": "Workflow",
48
+ "token_remove": "Are you sure you want to remove the token"
48
49
  },
49
50
  "toast": {
50
51
  "server": "Server Mode",
51
52
  "node": "Node Mode",
53
+ "cluster": "Cluster Mode",
52
54
  "server_d": "Select server mode, You can control node by using monitor",
53
55
  "node_d": "Select node mode, You are waiting server to connect...",
56
+ "cluster_d": "Select cluster mode, You can group all the node in your area now",
54
57
  "connection-create-title": "Connection Establish",
55
58
  "connection-create-des": "Create new connection",
56
59
  "connection-remove-title": "Disconnect",
57
60
  "connection-remove-des": "Disconnect detected"
58
61
  },
59
62
  "modeselect": {
60
- "title": "Your role",
61
- "titlebar": "Role Selection"
63
+ "title": "Role",
64
+ "title2": "Please select your role",
65
+ "titlebar": "Role Selection",
66
+ "welcome": "Welcome to verteilen",
67
+ "welcome2": "Finish the configuration, to define your identify",
68
+ "server": "Server Mode",
69
+ "server2": "Do you want to use this app as client side only?",
70
+ "url": "Server URL",
71
+ "confirm": "Final Step",
72
+ "confirm2": "Final confirm, It will send you to homepage, after you click confirm button",
73
+ "confirm3": "Server Mode",
74
+ "confirm4": "Role"
62
75
  },
63
76
  "error": {
64
77
  "title-needed": "Title is needed",
@@ -326,6 +339,7 @@
326
339
  "messager_log": "messager_log(message:string)"
327
340
  }
328
341
  },
342
+ "token": "Token",
329
343
  "info": "Information",
330
344
  "search": "Search",
331
345
  "selectall": "Select All",
@@ -391,5 +405,9 @@
391
405
  "plugin": "Plugin",
392
406
  "template": "Template",
393
407
  "loading": "Loading",
394
- "relogin": "Re-Login"
408
+ "relogin": "Re-Login",
409
+ "yes": "Yes",
410
+ "no": "No",
411
+ "next": "Next",
412
+ "previous": "Previous"
395
413
  }
@@ -44,21 +44,34 @@
44
44
  "settings": {
45
45
  "system": "系統",
46
46
  "appearance": "外觀",
47
- "workflow": "流程"
47
+ "workflow": "流程",
48
+ "token_remove": "確定刪除密鑰嗎"
48
49
  },
49
50
  "toast": {
50
51
  "server": "伺服器模式",
51
52
  "node": "節點模式",
53
+ "cluster": "中繼節點模式",
52
54
  "server_d": "用戶選擇了伺服器模式, 主控台出現後, 控制其他節點進行工作",
53
55
  "node_d": "用戶選擇了節點模式, 被動架構的情況下無法做任意事件, 將會等待伺服器連線...",
56
+ "cluster_d": "用戶選擇了中繼節點模式, 用戶可以群組化節點, 實現跨網域運算",
54
57
  "connection-create-title": "連線建立",
55
58
  "connection-create-des": "建立新的連線",
56
59
  "connection-remove-title": "連線中斷",
57
60
  "connection-remove-des": "連線中斷偵測"
58
61
  },
59
62
  "modeselect": {
60
- "title": "你擔任的角色",
61
- "titlebar": "角色選擇"
63
+ "title": "身份模式",
64
+ "title2": "請選擇你擔任的身份",
65
+ "titlebar": "角色選擇",
66
+ "welcome": "歡迎來到 Verteilen",
67
+ "welcome2": "完成以下選擇 定義你的身份",
68
+ "server": "伺服器模式",
69
+ "server2": "你是否想要連到網路伺服器, 這個應用程式只是作爲客戶端使用?",
70
+ "url": "連線網址",
71
+ "confirm": "最終步",
72
+ "confirm2": "最後的確認, 按下確認後會進入操作頁面",
73
+ "confirm3": "伺服器模式",
74
+ "confirm4": "身分模式"
62
75
  },
63
76
  "error": {
64
77
  "title-needed": "名稱不能為空",
@@ -326,6 +339,7 @@
326
339
  "messager_log": "messager_log(message:string)"
327
340
  }
328
341
  },
342
+ "token": "密鑰",
329
343
  "info": "資訊",
330
344
  "search": "搜尋",
331
345
  "selectall": "全選",
@@ -391,5 +405,9 @@
391
405
  "plugin": "插件",
392
406
  "template": "樣板",
393
407
  "loading": "讀取中",
394
- "relogin": "重新登入"
408
+ "relogin": "重新登入",
409
+ "yes": "是",
410
+ "no": "否",
411
+ "next": "下一步",
412
+ "previous": "上一歩"
395
413
  }
@@ -3,12 +3,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.i18n = exports.i18nDefaultData = exports.Create = void 0;
6
+ exports.raw_i18n = exports.i18n = exports.i18nDefaultData = exports.Create = void 0;
7
7
  const vue_i18n_1 = require("vue-i18n");
8
8
  Object.defineProperty(exports, "Create", { enumerable: true, get: function () { return vue_i18n_1.createI18n; } });
9
+ const i18n_js_1 = require("i18n-js");
9
10
  const en_json_1 = __importDefault(require("./../lan/en.json"));
10
11
  const zh_TW_json_1 = __importDefault(require("./../lan/zh_TW.json"));
11
12
  exports.i18nDefaultData = {
13
+ legacy: true,
12
14
  locale: 'en',
13
15
  globalInjection: true,
14
16
  fallbackFormat: 'en',
@@ -18,3 +20,10 @@ exports.i18nDefaultData = {
18
20
  }
19
21
  };
20
22
  exports.i18n = (0, vue_i18n_1.createI18n)(exports.i18nDefaultData);
23
+ exports.raw_i18n = new i18n_js_1.I18n({
24
+ en: en_json_1.default,
25
+ zh_TW: zh_TW_json_1.default
26
+ }, { defaultLocale: 'en',
27
+ locale: 'en',
28
+ enableFallback: true
29
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verteilen-core",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "license": "MIT",
5
5
  "homepage": "https://verteilen.github.io/wiki/",
6
6
  "author": "Elly",
package/src/lan/en.json CHANGED
@@ -44,21 +44,34 @@
44
44
  "settings": {
45
45
  "system": "System",
46
46
  "appearance": "Appearance",
47
- "workflow": "Workflow"
47
+ "workflow": "Workflow",
48
+ "token_remove": "Are you sure you want to remove the token"
48
49
  },
49
50
  "toast": {
50
51
  "server": "Server Mode",
51
52
  "node": "Node Mode",
53
+ "cluster": "Cluster Mode",
52
54
  "server_d": "Select server mode, You can control node by using monitor",
53
55
  "node_d": "Select node mode, You are waiting server to connect...",
56
+ "cluster_d": "Select cluster mode, You can group all the node in your area now",
54
57
  "connection-create-title": "Connection Establish",
55
58
  "connection-create-des": "Create new connection",
56
59
  "connection-remove-title": "Disconnect",
57
60
  "connection-remove-des": "Disconnect detected"
58
61
  },
59
62
  "modeselect": {
60
- "title": "Your role",
61
- "titlebar": "Role Selection"
63
+ "title": "Role",
64
+ "title2": "Please select your role",
65
+ "titlebar": "Role Selection",
66
+ "welcome": "Welcome to verteilen",
67
+ "welcome2": "Finish the configuration, to define your identify",
68
+ "server": "Server Mode",
69
+ "server2": "Do you want to use this app as client side only?",
70
+ "url": "Server URL",
71
+ "confirm": "Final Step",
72
+ "confirm2": "Final confirm, It will send you to homepage, after you click confirm button",
73
+ "confirm3": "Server Mode",
74
+ "confirm4": "Role"
62
75
  },
63
76
  "error": {
64
77
  "title-needed": "Title is needed",
@@ -326,6 +339,7 @@
326
339
  "messager_log": "messager_log(message:string)"
327
340
  }
328
341
  },
342
+ "token": "Token",
329
343
  "info": "Information",
330
344
  "search": "Search",
331
345
  "selectall": "Select All",
@@ -391,5 +405,9 @@
391
405
  "plugin": "Plugin",
392
406
  "template": "Template",
393
407
  "loading": "Loading",
394
- "relogin": "Re-Login"
408
+ "relogin": "Re-Login",
409
+ "yes": "Yes",
410
+ "no": "No",
411
+ "next": "Next",
412
+ "previous": "Previous"
395
413
  }
@@ -44,21 +44,34 @@
44
44
  "settings": {
45
45
  "system": "系統",
46
46
  "appearance": "外觀",
47
- "workflow": "流程"
47
+ "workflow": "流程",
48
+ "token_remove": "確定刪除密鑰嗎"
48
49
  },
49
50
  "toast": {
50
51
  "server": "伺服器模式",
51
52
  "node": "節點模式",
53
+ "cluster": "中繼節點模式",
52
54
  "server_d": "用戶選擇了伺服器模式, 主控台出現後, 控制其他節點進行工作",
53
55
  "node_d": "用戶選擇了節點模式, 被動架構的情況下無法做任意事件, 將會等待伺服器連線...",
56
+ "cluster_d": "用戶選擇了中繼節點模式, 用戶可以群組化節點, 實現跨網域運算",
54
57
  "connection-create-title": "連線建立",
55
58
  "connection-create-des": "建立新的連線",
56
59
  "connection-remove-title": "連線中斷",
57
60
  "connection-remove-des": "連線中斷偵測"
58
61
  },
59
62
  "modeselect": {
60
- "title": "你擔任的角色",
61
- "titlebar": "角色選擇"
63
+ "title": "身份模式",
64
+ "title2": "請選擇你擔任的身份",
65
+ "titlebar": "角色選擇",
66
+ "welcome": "歡迎來到 Verteilen",
67
+ "welcome2": "完成以下選擇 定義你的身份",
68
+ "server": "伺服器模式",
69
+ "server2": "你是否想要連到網路伺服器, 這個應用程式只是作爲客戶端使用?",
70
+ "url": "連線網址",
71
+ "confirm": "最終步",
72
+ "confirm2": "最後的確認, 按下確認後會進入操作頁面",
73
+ "confirm3": "伺服器模式",
74
+ "confirm4": "身分模式"
62
75
  },
63
76
  "error": {
64
77
  "title-needed": "名稱不能為空",
@@ -326,6 +339,7 @@
326
339
  "messager_log": "messager_log(message:string)"
327
340
  }
328
341
  },
342
+ "token": "密鑰",
329
343
  "info": "資訊",
330
344
  "search": "搜尋",
331
345
  "selectall": "全選",
@@ -391,5 +405,9 @@
391
405
  "plugin": "插件",
392
406
  "template": "樣板",
393
407
  "loading": "讀取中",
394
- "relogin": "重新登入"
408
+ "relogin": "重新登入",
409
+ "yes": "是",
410
+ "no": "否",
411
+ "next": "下一步",
412
+ "previous": "上一歩"
395
413
  }
@@ -22,6 +22,7 @@ export { createI18n as Create }
22
22
  * app.use(i18n)
23
23
  */
24
24
  export const i18nDefaultData = {
25
+ legacy: true,
25
26
  locale: 'en',
26
27
  globalInjection: true,
27
28
  fallbackFormat: 'en',