gc_i18n 1.2.13 → 1.3.0

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/lang/index.js CHANGED
@@ -22,15 +22,15 @@ export const languages = [
22
22
  ];
23
23
  export default {
24
24
  install(app, router) {
25
+ console.log("i18n", import.meta.env);
25
26
  const { i18n } = new gc_i18n({
26
27
  appCode: "TEST",
27
28
  router,
28
- token: localStorage.getItem("token"),
29
+ orgCode: import.meta.env.MODE === "unit" ? "DD" : "GREENCLOUD",
29
30
  local: localStorage.getItem("I18N_LANGUAGE"),
30
31
  // loginRouteName: "Login",
31
32
  dev: true,
32
33
  login: false,
33
- orgCode: "GREENCLOUD",
34
34
  messages: {
35
35
  "zh-CN": { ...pro_zh_CN, ...iview_zh_CN },
36
36
  "zh-TW": { ...pro_zh_TW, ...iview_zh_TW },
package/lang/index.json CHANGED
@@ -33,5 +33,65 @@
33
33
  "zh-cn": "清理",
34
34
  "zh-tw": "清理",
35
35
  "en-us": "清理"
36
+ },
37
+ "koca2": {
38
+ "zh-cn": "登录",
39
+ "zh-tw": "登錄",
40
+ "en-us": "登录"
41
+ },
42
+ "klpb2": {
43
+ "zh-cn": "登出",
44
+ "zh-tw": "登出",
45
+ "en-us": "登出"
46
+ },
47
+ "sah0y05": {
48
+ "zh-cn": "当前单位:",
49
+ "zh-tw": "當前單位:",
50
+ "en-us": "当前单位:"
51
+ },
52
+ "ely02": {
53
+ "zh-cn": "单位",
54
+ "zh-tw": "單位",
55
+ "en-us": "单位"
56
+ },
57
+ "imbi2": {
58
+ "zh-cn": "模板",
59
+ "zh-tw": "模板",
60
+ "en-us": "模板"
61
+ },
62
+ "sf96jw5": {
63
+ "zh-cn": "当前环境:",
64
+ "zh-tw": "當前環境:",
65
+ "en-us": "当前环境:"
66
+ },
67
+ "wt0nrm7": {
68
+ "zh-cn": "单位 : dd",
69
+ "zh-tw": "單位 : dd",
70
+ "en-us": "单位 : dd"
71
+ },
72
+ "tbqqg98": {
73
+ "zh-cn": "单位级 : dd",
74
+ "zh-tw": "單位級 : dd",
75
+ "en-us": "单位级 : dd"
76
+ },
77
+ "vo9pqm7": {
78
+ "zh-cn": "当前环境 --",
79
+ "zh-tw": "當前環境 --",
80
+ "en-us": "当前环境 --"
81
+ },
82
+ "ledywde": {
83
+ "zh-cn": "单位级 : 单位代码: dd",
84
+ "zh-tw": "單位級 : 單位代碼: dd",
85
+ "en-us": "单位级 : 单位代码: dd"
86
+ },
87
+ "g44k6lc": {
88
+ "zh-cn": "单位级 单位代码: dd",
89
+ "zh-tw": "單位級 單位代碼: dd",
90
+ "en-us": "单位级 单位代码: dd"
91
+ },
92
+ "g1wx53": {
93
+ "zh-cn": "模板级",
94
+ "zh-tw": "模板級",
95
+ "en-us": "模板级"
36
96
  }
37
97
  }
package/lib/gc_i18n.css CHANGED
@@ -1 +1 @@
1
- .gc_i18n_spin[data-v-ef963ad8]{min-height:300px;display:flex;justify-content:center;padding-top:50px}.gc_i18n_tabs[data-v-ef963ad8]{padding-top:5px}.gc_i18n_tabs[data-v-ef963ad8] .ivu-tabs-content{width:100%}.gc_i18n_tabs[data-v-ef963ad8] .ivu-tabs-bar{margin-bottom:0!important}.gc_i18n_tabs .ivu-tabs-content[data-v-ef963ad8]{position:relative;top:-1px}.gc_i18n_tabs .extra[data-v-ef963ad8]{position:relative;top:-3px;display:flex;align-items:center}.gc_i18n_page[data-v-ef963ad8]{display:flex;justify-content:space-between;align-items:center;margin-top:10px}
1
+ .gc_i18n_spin[data-v-1f438196]{min-height:300px;display:flex;justify-content:center;padding-top:50px}.gc_i18n_tabs[data-v-1f438196]{padding-top:5px}.gc_i18n_tabs[data-v-1f438196] .ivu-tabs-tab{width:111px}.gc_i18n_tabs[data-v-1f438196] .ivu-tabs-content{width:100%}.gc_i18n_tabs[data-v-1f438196] .ivu-tabs-bar{margin-bottom:0!important}.gc_i18n_tabs .ivu-tabs-content[data-v-1f438196]{position:relative;top:-1px}.gc_i18n_tabs .extra[data-v-1f438196]{position:relative;top:-3px;display:flex;align-items:center}.gc_i18n_page[data-v-1f438196]{display:flex;justify-content:space-between;align-items:center;margin-top:10px}