@axewo/fin-locale 3.0.0 → 3.0.2
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/README.md +19 -1
- package/dist/create-i18n.cjs +1 -1
- package/dist/create-i18n.mjs +51 -46
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +16 -13
- package/dist/locales/en/platform.cjs +1 -1
- package/dist/locales/en/platform.mjs +11 -0
- package/dist/locales/zh-CN/platform.cjs +1 -1
- package/dist/locales/zh-CN/platform.mjs +11 -0
- package/dist/storage.cjs +1 -0
- package/dist/storage.mjs +34 -0
- package/dist/types/create-i18n.d.ts +1 -2
- package/dist/types/entries/en.d.ts +0 -1
- package/dist/types/entries/zh-CN.d.ts +0 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/locales/en/dashboard-additions.d.ts +0 -1
- package/dist/types/locales/en/dashboard-core-additions.d.ts +0 -1
- package/dist/types/locales/en/formula-additions.d.ts +0 -1
- package/dist/types/locales/en/index.d.ts +0 -1
- package/dist/types/locales/en/platform.d.ts +11 -1
- package/dist/types/locales/en/ui-additions.d.ts +0 -1
- package/dist/types/locales/zh-CN/dashboard-additions.d.ts +0 -1
- package/dist/types/locales/zh-CN/dashboard-core-additions.d.ts +0 -1
- package/dist/types/locales/zh-CN/formula-additions.d.ts +0 -1
- package/dist/types/locales/zh-CN/index.d.ts +0 -1
- package/dist/types/locales/zh-CN/platform.d.ts +11 -1
- package/dist/types/locales/zh-CN/ui-additions.d.ts +0 -1
- package/dist/types/storage.d.ts +10 -0
- package/package.json +6 -5
- package/dist/types/create-i18n.d.ts.map +0 -1
- package/dist/types/entries/en.d.ts.map +0 -1
- package/dist/types/entries/zh-CN.d.ts.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/locales/en/dashboard-additions.d.ts.map +0 -1
- package/dist/types/locales/en/dashboard-core-additions.d.ts.map +0 -1
- package/dist/types/locales/en/formula-additions.d.ts.map +0 -1
- package/dist/types/locales/en/index.d.ts.map +0 -1
- package/dist/types/locales/en/platform.d.ts.map +0 -1
- package/dist/types/locales/en/ui-additions.d.ts.map +0 -1
- package/dist/types/locales/zh-CN/dashboard-additions.d.ts.map +0 -1
- package/dist/types/locales/zh-CN/dashboard-core-additions.d.ts.map +0 -1
- package/dist/types/locales/zh-CN/formula-additions.d.ts.map +0 -1
- package/dist/types/locales/zh-CN/index.d.ts.map +0 -1
- package/dist/types/locales/zh-CN/platform.d.ts.map +0 -1
- package/dist/types/locales/zh-CN/ui-additions.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -20,6 +20,24 @@ setLocale('en')
|
|
|
20
20
|
|
|
21
21
|
业务 `messages` 为 `{ 'zh-CN': {...}, en: {...} }`,递归合并公共词条;业务命名空间建议独立于 `fin.*`。使用 fin-ui 的 `FinLocaleProvider` 让 Fin UI 和 Element Plus 跟随同一语言与尺寸。
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
需要刷新保留语言时,在应用首次渲染前连接持久化,并在卸载或启动失败时释放:
|
|
24
|
+
|
|
25
|
+
```ts
|
|
26
|
+
import type { Composer } from 'vue-i18n'
|
|
27
|
+
import { connectFinLocaleStorage, installFinI18n } from '@axewo/fin-locale'
|
|
28
|
+
|
|
29
|
+
const i18n = installFinI18n(app, { messages })!
|
|
30
|
+
const stopLocaleStorage = connectFinLocaleStorage(
|
|
31
|
+
(i18n.global as Composer).locale,
|
|
32
|
+
'my-workspace:locale',
|
|
33
|
+
)
|
|
34
|
+
// 应用卸载/启动失败:stopLocaleStorage()
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
连接时读取已保存的语言,后续变化同步写入 localStorage;首次连接不写入默认值。历史 `en_US` 等标识统一归一化,非法存储值保留当前默认语言。支持 `ja-JP` 等扩展语种,缺失词条默认回退中文;无浏览器或存储不可用时继续使用内存语言。每个应用使用独立键;嵌入子应用只跟随宿主偏好,不连接自身的语言存储。持久化仅处理 UI 语言,不用于后台多语言业务字段。
|
|
38
|
+
|
|
39
|
+
`setLocale` 使用 `normalizeAppLocale`:中英文别名仍归一化为 `zh-CN`、`en`,其他有效语言标识按 BCP 47 规范保留。扩展语言词条放在 `messages['ja-JP']` 等对应键下;只有语言列表不会自动生成翻译。`normalizeFinLocale` 保留原有仅识别内置中英文的行为,供内置文案和组件库语言回退使用。
|
|
40
|
+
|
|
41
|
+
包根导出 `zhCN`、`en`、`createFinI18n`、`installFinI18n`、`useFinLocale`、`normalizeAppLocale`、`normalizeFinLocale`、`translateFinBuiltin`、`useFinText`、`connectFinLocaleStorage`。规范子路径为 `/locales/zh-CN` 和 `/locales/en`,旧 `/lang/zh-CN`、`/lang/en` 保留兼容;源码只维护 `src/locales`。
|
|
24
42
|
|
|
25
43
|
`useFinText` 供可独立使用的公共展示组件读取当前 App 的翻译,未注入时回退中文;业务页面应使用 `useFinLocale`。非 Vue 启动边界使用 `translateFinBuiltin(key, locale)`,不创建共享全局实例。
|
package/dist/create-i18n.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("vue-i18n"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("vue-i18n"),p=require("vue"),o=require("@axewo/fin-core/locale"),L=require("./locales/zh-CN/index.cjs"),z=require("./locales/zh-CN/formula-additions.cjs"),F=require("./locales/en/index.cjs"),M=require("./locales/en/formula-additions.cjs"),_=require("./locales/zh-CN/platform.cjs"),b=require("./locales/en/platform.cjs");function a(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const i=o.mergeLocaleMessages(o.mergeLocaleMessages(L,z),_),l=o.mergeLocaleMessages(o.mergeLocaleMessages(F,M),b);function g(e,t="zh-CN"){let n=o.normalizeFinLocale(t)==="en"?l:i;for(const s of e.split("."))n=a(n)?n[s]:void 0;return typeof n=="string"?n:e}function d(e){const t={"zh-CN":o.mergeLocaleMessages({},i),en:o.mergeLocaleMessages({},l)};if(!a(e))return t;for(const[n,s]of Object.entries(e)){const r=o.normalizeAppLocale(n,"");!r||!a(s)||(t[r]=t[r]?o.mergeLocaleMessages(t[r],s):o.mergeLocaleMessages({},s))}return t}function f(e){const{messages:t,...n}=e||{};return u.createI18n({fallbackLocale:"zh-CN",legacy:!1,missingWarn:!1,fallbackWarn:!1,...n,locale:o.normalizeAppLocale(n.locale),messages:d(t)})}function m(){const{t:e,locale:t}=u.useI18n({useScope:"global"});return{t:e,locale:t,setLocale:n=>{t.value=o.normalizeAppLocale(n)}}}function I(){var n;const e=(n=p.getCurrentInstance())==null?void 0:n.appContext.app;if(!(e!=null&&e.__VUE_I18N_SYMBOL__))return s=>g(s);const{t}=m();return s=>t(s)}function q(e,t){const n=e,s=n.__VUE_I18N_SYMBOL__;if(s){const c=n._context.provides[s];if(c)return c}const r=f(t);return e.use(r),r}Object.defineProperty(exports,"normalizeAppLocale",{enumerable:!0,get:()=>o.normalizeAppLocale});Object.defineProperty(exports,"normalizeFinLocale",{enumerable:!0,get:()=>o.normalizeFinLocale});exports.createFinI18n=f;exports.en=l;exports.installFinI18n=q;exports.translateFinBuiltin=g;exports.useFinLocale=m;exports.useFinText=I;exports.zhCN=i;
|
package/dist/create-i18n.mjs
CHANGED
|
@@ -1,76 +1,81 @@
|
|
|
1
1
|
import { createI18n as m, useI18n as u } from "vue-i18n";
|
|
2
2
|
import { getCurrentInstance as p } from "vue";
|
|
3
|
-
import { mergeLocaleMessages as r, normalizeFinLocale as
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
function
|
|
3
|
+
import { mergeLocaleMessages as r, normalizeAppLocale as a, normalizeFinLocale as g } from "@axewo/fin-core/locale";
|
|
4
|
+
import { normalizeAppLocale as U, normalizeFinLocale as V } from "@axewo/fin-core/locale";
|
|
5
|
+
import _ from "./locales/zh-CN/index.mjs";
|
|
6
|
+
import z from "./locales/zh-CN/formula-additions.mjs";
|
|
7
|
+
import L from "./locales/en/index.mjs";
|
|
8
|
+
import F from "./locales/en/formula-additions.mjs";
|
|
9
|
+
import h from "./locales/zh-CN/platform.mjs";
|
|
10
|
+
import C from "./locales/en/platform.mjs";
|
|
11
|
+
function i(e) {
|
|
12
12
|
return typeof e == "object" && e !== null && !Array.isArray(e);
|
|
13
13
|
}
|
|
14
|
-
const l = r(r(
|
|
15
|
-
function
|
|
16
|
-
let
|
|
17
|
-
for (const
|
|
18
|
-
return typeof
|
|
14
|
+
const l = r(r(_, z), h), f = r(r(L, F), C);
|
|
15
|
+
function I(e, o = "zh-CN") {
|
|
16
|
+
let n = g(o) === "en" ? f : l;
|
|
17
|
+
for (const t of e.split(".")) n = i(n) ? n[t] : void 0;
|
|
18
|
+
return typeof n == "string" ? n : e;
|
|
19
19
|
}
|
|
20
|
-
function
|
|
21
|
-
const
|
|
20
|
+
function N(e) {
|
|
21
|
+
const o = {
|
|
22
22
|
"zh-CN": r({}, l),
|
|
23
23
|
en: r({}, f)
|
|
24
24
|
};
|
|
25
|
-
if (!
|
|
26
|
-
return
|
|
27
|
-
for (const [
|
|
28
|
-
s
|
|
29
|
-
|
|
25
|
+
if (!i(e))
|
|
26
|
+
return o;
|
|
27
|
+
for (const [n, t] of Object.entries(e)) {
|
|
28
|
+
const s = a(n, "");
|
|
29
|
+
!s || !i(t) || (o[s] = o[s] ? r(o[s], t) : r({}, t));
|
|
30
|
+
}
|
|
31
|
+
return o;
|
|
30
32
|
}
|
|
31
|
-
function
|
|
32
|
-
const { messages:
|
|
33
|
+
function b(e) {
|
|
34
|
+
const { messages: o, ...n } = e || {};
|
|
33
35
|
return m({
|
|
34
|
-
locale: "zh-CN",
|
|
35
36
|
fallbackLocale: "zh-CN",
|
|
36
37
|
legacy: !1,
|
|
37
|
-
|
|
38
|
-
|
|
38
|
+
missingWarn: !1,
|
|
39
|
+
fallbackWarn: !1,
|
|
40
|
+
...n,
|
|
41
|
+
locale: a(n.locale),
|
|
42
|
+
messages: N(o)
|
|
39
43
|
});
|
|
40
44
|
}
|
|
41
45
|
function d() {
|
|
42
|
-
const { t: e, locale:
|
|
46
|
+
const { t: e, locale: o } = u({ useScope: "global" });
|
|
43
47
|
return {
|
|
44
48
|
t: e,
|
|
45
|
-
locale:
|
|
46
|
-
setLocale: (
|
|
47
|
-
|
|
49
|
+
locale: o,
|
|
50
|
+
setLocale: (n) => {
|
|
51
|
+
o.value = a(n);
|
|
48
52
|
}
|
|
49
53
|
};
|
|
50
54
|
}
|
|
51
55
|
function v() {
|
|
52
|
-
var
|
|
53
|
-
const e = (
|
|
54
|
-
if (!(e != null && e.__VUE_I18N_SYMBOL__)) return (
|
|
55
|
-
const { t:
|
|
56
|
-
return (
|
|
56
|
+
var n;
|
|
57
|
+
const e = (n = p()) == null ? void 0 : n.appContext.app;
|
|
58
|
+
if (!(e != null && e.__VUE_I18N_SYMBOL__)) return (t) => I(t);
|
|
59
|
+
const { t: o } = d();
|
|
60
|
+
return (t) => o(t);
|
|
57
61
|
}
|
|
58
|
-
function E(e,
|
|
59
|
-
const
|
|
60
|
-
if (
|
|
61
|
-
const
|
|
62
|
-
if (
|
|
63
|
-
return
|
|
62
|
+
function E(e, o) {
|
|
63
|
+
const n = e, t = n.__VUE_I18N_SYMBOL__;
|
|
64
|
+
if (t) {
|
|
65
|
+
const c = n._context.provides[t];
|
|
66
|
+
if (c)
|
|
67
|
+
return c;
|
|
64
68
|
}
|
|
65
|
-
const
|
|
66
|
-
return e.use(
|
|
69
|
+
const s = b(o);
|
|
70
|
+
return e.use(s), s;
|
|
67
71
|
}
|
|
68
72
|
export {
|
|
69
|
-
|
|
73
|
+
b as createFinI18n,
|
|
70
74
|
f as en,
|
|
71
75
|
E as installFinI18n,
|
|
72
|
-
U as
|
|
73
|
-
|
|
76
|
+
U as normalizeAppLocale,
|
|
77
|
+
V as normalizeFinLocale,
|
|
78
|
+
I as translateFinBuiltin,
|
|
74
79
|
d as useFinLocale,
|
|
75
80
|
v as useFinText,
|
|
76
81
|
l as zhCN
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./create-i18n.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./create-i18n.cjs"),i=require("./storage.cjs"),t=require("./locales/zh-CN/formula-additions.cjs"),r=require("./locales/en/formula-additions.cjs"),n=require("@axewo/fin-core/locale");exports.createFinI18n=e.createFinI18n;exports.en=e.en;exports.installFinI18n=e.installFinI18n;exports.translateFinBuiltin=e.translateFinBuiltin;exports.useFinLocale=e.useFinLocale;exports.useFinText=e.useFinText;exports.zhCN=e.zhCN;exports.connectFinLocaleStorage=i.connectFinLocaleStorage;exports.zhCNFormulaAdditions=t;exports.enFormulaAdditions=r;Object.defineProperty(exports,"normalizeAppLocale",{enumerable:!0,get:()=>n.normalizeAppLocale});Object.defineProperty(exports,"normalizeFinLocale",{enumerable:!0,get:()=>n.normalizeFinLocale});
|
package/dist/index.mjs
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
import { createFinI18n as
|
|
2
|
-
import {
|
|
3
|
-
import { default as
|
|
4
|
-
import {
|
|
1
|
+
import { createFinI18n as n, en as a, installFinI18n as r, translateFinBuiltin as t, useFinLocale as i, useFinText as l, zhCN as m } from "./create-i18n.mjs";
|
|
2
|
+
import { connectFinLocaleStorage as s } from "./storage.mjs";
|
|
3
|
+
import { default as f } from "./locales/zh-CN/formula-additions.mjs";
|
|
4
|
+
import { default as u } from "./locales/en/formula-additions.mjs";
|
|
5
|
+
import { normalizeAppLocale as x, normalizeFinLocale as z } from "@axewo/fin-core/locale";
|
|
5
6
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
s as connectFinLocaleStorage,
|
|
8
|
+
n as createFinI18n,
|
|
9
|
+
a as en,
|
|
10
|
+
u as enFormulaAdditions,
|
|
11
|
+
r as installFinI18n,
|
|
12
|
+
x as normalizeAppLocale,
|
|
13
|
+
z as normalizeFinLocale,
|
|
14
|
+
t as translateFinBuiltin,
|
|
15
|
+
i as useFinLocale,
|
|
13
16
|
l as useFinText,
|
|
14
|
-
|
|
15
|
-
|
|
17
|
+
m as zhCN,
|
|
18
|
+
f as zhCNFormulaAdditions
|
|
16
19
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e={fin:{shell:{closePopover:"Close popover",expand:"Expand sidebar",collapse:"Collapse sidebar",search:"Search menus",searchPlaceholder:"Search menus and apps…",searchTitle:"Menu search",noResults:"No matching menus",notifications:"Notifications",noMessages:"Message service is not connected",messageHint:"Notifications will appear here after the service is connected.",profile:"My profile",exiting:"Confirming sign out…",closeTabMenu:"Close tab menu",leftTabs:"Scroll tabs left",rightTabs:"Scroll tabs right",openedPages:"Open pages",moreTabs:"More tab actions",tabMenu:"Tab actions",refresh:"Refresh page",close:"Close current",closeOthers:"Close others",closeLeft:"Close left",closeRight:"Close right",closeAll:"Close all business pages",mainNav:"Main navigation",ready:"Workspace is ready",closeTab:"Close",pageLoading:"Loading page…",pageFailed:"Page failed to load",reload:"Reload"},errors:{unauthenticated:"Your session has expired. Please sign in again.",forbidden:"403: You do not have permission for this action.",timeout:"The operation timed out. Please try again.",network:"Connection failed. Please check your network.",unknown:"The operation failed. Please try again or contact support.",cancelled:"Operation cancelled"},auth:{independent:"Standalone mode",login:"Sign in",logout:"Sign out",username:"Username",password:"Password",required:"Sign in to access business features.",devSettings:"Development settings",token:"Test token",verify:"Verify and apply",clear:"Clear credentials",close:"Close",configured:"Credentials configured",unconfigured:"No credentials configured",memoryHint:"Credentials are stored in memory and cleared when the page reloads.",developmentStorageHint:"Development credentials are stored locally and validated on reload. Clear credentials or sign out to remove them.",verifyHint:"User and permissions are updated only after the session endpoint validates the token.",saved:"Credentials verified",cleared:"Credentials cleared"},micro:{connected:"Connected to host",disconnected:"Host unavailable",workspace:"Workspace",language:"Language",standalone:"Standalone mode",loading:"Starting application, please wait…",retry:"Retry startup",startupFailed:"Application failed to start",startupCancelled:"Startup was cancelled. You can retry."}}};module.exports=e;
|
|
1
|
+
"use strict";const e={fin:{confirmation:{logoutTitle:"Sign out of the system?",logoutContent:"Unsaved changes will be lost after signing out.",logoutConfirm:"Sign out",unsavedTitle:"Discard changes?",unsavedContent:"The following changes have not been saved and will be lost when you leave.",continueEditing:"Continue editing",discardConfirm:"Discard and leave",currentPage:"Current page",unsavedForms:"Pages and forms with unsaved changes"},shell:{closePopover:"Close popover",expand:"Expand sidebar",collapse:"Collapse sidebar",search:"Search menus",searchPlaceholder:"Search menus and apps…",searchTitle:"Menu search",noResults:"No matching menus",notifications:"Notifications",noMessages:"Message service is not connected",messageHint:"Notifications will appear here after the service is connected.",profile:"My profile",exiting:"Confirming sign out…",closeTabMenu:"Close tab menu",leftTabs:"Scroll tabs left",rightTabs:"Scroll tabs right",openedPages:"Open pages",moreTabs:"More tab actions",tabMenu:"Tab actions",refresh:"Refresh page",close:"Close current",closeOthers:"Close others",closeLeft:"Close left",closeRight:"Close right",closeAll:"Close all business pages",mainNav:"Main navigation",ready:"Workspace is ready",closeTab:"Close",pageLoading:"Loading page…",pageFailed:"Page failed to load",reload:"Reload"},errors:{unauthenticated:"Your session has expired. Please sign in again.",forbidden:"403: You do not have permission for this action.",timeout:"The operation timed out. Please try again.",network:"Connection failed. Please check your network.",unknown:"The operation failed. Please try again or contact support.",cancelled:"Operation cancelled"},auth:{independent:"Standalone mode",login:"Sign in",logout:"Sign out",username:"Username",password:"Password",required:"Sign in to access business features.",devSettings:"Development settings",token:"Test token",verify:"Verify and apply",clear:"Clear credentials",close:"Close",configured:"Credentials configured",unconfigured:"No credentials configured",memoryHint:"Credentials are stored in memory and cleared when the page reloads.",developmentStorageHint:"Development credentials are stored locally and validated on reload. Clear credentials or sign out to remove them.",verifyHint:"User and permissions are updated only after the session endpoint validates the token.",saved:"Credentials verified",cleared:"Credentials cleared"},micro:{connected:"Connected to host",disconnected:"Host unavailable",workspace:"Workspace",language:"Language",standalone:"Standalone mode",loading:"Starting application, please wait…",retry:"Retry startup",startupFailed:"Application failed to start",startupCancelled:"Startup was cancelled. You can retry."}}};module.exports=e;
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
const e = {
|
|
2
2
|
fin: {
|
|
3
|
+
confirmation: {
|
|
4
|
+
logoutTitle: "Sign out of the system?",
|
|
5
|
+
logoutContent: "Unsaved changes will be lost after signing out.",
|
|
6
|
+
logoutConfirm: "Sign out",
|
|
7
|
+
unsavedTitle: "Discard changes?",
|
|
8
|
+
unsavedContent: "The following changes have not been saved and will be lost when you leave.",
|
|
9
|
+
continueEditing: "Continue editing",
|
|
10
|
+
discardConfirm: "Discard and leave",
|
|
11
|
+
currentPage: "Current page",
|
|
12
|
+
unsavedForms: "Pages and forms with unsaved changes"
|
|
13
|
+
},
|
|
3
14
|
shell: {
|
|
4
15
|
closePopover: "Close popover",
|
|
5
16
|
expand: "Expand sidebar",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e={fin:{shell:{closePopover:"关闭弹出菜单",expand:"展开侧栏",collapse:"折叠侧栏",search:"搜索菜单",searchPlaceholder:"搜索菜单、应用…",searchTitle:"菜单搜索",noResults:"未找到匹配的菜单",notifications:"消息通知",noMessages:"尚未接入消息服务",messageHint:"接入后将在这里显示真实的通知消息。",profile:"个人中心",exiting:"正在确认退出…",closeTabMenu:"关闭页签菜单",leftTabs:"向左查看页签",rightTabs:"向右查看页签",openedPages:"已打开页面",moreTabs:"更多页签操作",tabMenu:"页签操作菜单",refresh:"刷新页面",close:"关闭当前",closeOthers:"关闭其他",closeLeft:"关闭左侧",closeRight:"关闭右侧",closeAll:"关闭全部业务页",mainNav:"主导航",ready:"工作空间已就绪",closeTab:"关闭",pageLoading:"页面加载中…",pageFailed:"页面加载失败",reload:"重新加载"},errors:{unauthenticated:"登录已失效,请重新登录",forbidden:"403:无权执行此操作,请联系管理员",timeout:"操作超时,请稍后重试",network:"连接失败,请检查网络后重试",unknown:"操作失败,请稍后重试或联系管理员",cancelled:"操作已取消"},auth:{independent:"独立运行",login:"登录",logout:"退出登录",username:"账号",password:"密码",required:"请登录后访问业务功能",devSettings:"开发设置",token:"测试 Token",verify:"验证并应用",clear:"清除凭据",close:"关闭",configured:"已配置凭据",unconfigured:"未配置凭据",memoryHint:"凭据仅保存在内存,刷新页面后需重新设置。",developmentStorageHint:"开发凭据保存在本地,刷新后自动验证恢复;清除凭据或退出登录时删除。",verifyHint:"验证会话接口成功后才会更新用户与权限。",saved:"凭据已验证",cleared:"凭据已清除"},micro:{connected:"宿主已连接",disconnected:"未连接宿主",workspace:"工作空间",language:"语言",standalone:"独立运行",loading:"正在启动应用,请稍候…",retry:"重试启动",startupFailed:"应用启动失败",startupCancelled:"应用启动已取消,可重试启动"}}};module.exports=e;
|
|
1
|
+
"use strict";const e={fin:{confirmation:{logoutTitle:"是否退出管理系统?",logoutContent:"退出后,未保存的内容将丢失。",logoutConfirm:"确认退出",unsavedTitle:"是否放弃修改?",unsavedContent:"以下内容尚未保存,离开后本次修改将丢失。",continueEditing:"继续编辑",discardConfirm:"放弃修改并离开",currentPage:"当前页面",unsavedForms:"未保存的页面和表单"},shell:{closePopover:"关闭弹出菜单",expand:"展开侧栏",collapse:"折叠侧栏",search:"搜索菜单",searchPlaceholder:"搜索菜单、应用…",searchTitle:"菜单搜索",noResults:"未找到匹配的菜单",notifications:"消息通知",noMessages:"尚未接入消息服务",messageHint:"接入后将在这里显示真实的通知消息。",profile:"个人中心",exiting:"正在确认退出…",closeTabMenu:"关闭页签菜单",leftTabs:"向左查看页签",rightTabs:"向右查看页签",openedPages:"已打开页面",moreTabs:"更多页签操作",tabMenu:"页签操作菜单",refresh:"刷新页面",close:"关闭当前",closeOthers:"关闭其他",closeLeft:"关闭左侧",closeRight:"关闭右侧",closeAll:"关闭全部业务页",mainNav:"主导航",ready:"工作空间已就绪",closeTab:"关闭",pageLoading:"页面加载中…",pageFailed:"页面加载失败",reload:"重新加载"},errors:{unauthenticated:"登录已失效,请重新登录",forbidden:"403:无权执行此操作,请联系管理员",timeout:"操作超时,请稍后重试",network:"连接失败,请检查网络后重试",unknown:"操作失败,请稍后重试或联系管理员",cancelled:"操作已取消"},auth:{independent:"独立运行",login:"登录",logout:"退出登录",username:"账号",password:"密码",required:"请登录后访问业务功能",devSettings:"开发设置",token:"测试 Token",verify:"验证并应用",clear:"清除凭据",close:"关闭",configured:"已配置凭据",unconfigured:"未配置凭据",memoryHint:"凭据仅保存在内存,刷新页面后需重新设置。",developmentStorageHint:"开发凭据保存在本地,刷新后自动验证恢复;清除凭据或退出登录时删除。",verifyHint:"验证会话接口成功后才会更新用户与权限。",saved:"凭据已验证",cleared:"凭据已清除"},micro:{connected:"宿主已连接",disconnected:"未连接宿主",workspace:"工作空间",language:"语言",standalone:"独立运行",loading:"正在启动应用,请稍候…",retry:"重试启动",startupFailed:"应用启动失败",startupCancelled:"应用启动已取消,可重试启动"}}};module.exports=e;
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
const e = {
|
|
2
2
|
fin: {
|
|
3
|
+
confirmation: {
|
|
4
|
+
logoutTitle: "是否退出管理系统?",
|
|
5
|
+
logoutContent: "退出后,未保存的内容将丢失。",
|
|
6
|
+
logoutConfirm: "确认退出",
|
|
7
|
+
unsavedTitle: "是否放弃修改?",
|
|
8
|
+
unsavedContent: "以下内容尚未保存,离开后本次修改将丢失。",
|
|
9
|
+
continueEditing: "继续编辑",
|
|
10
|
+
discardConfirm: "放弃修改并离开",
|
|
11
|
+
currentPage: "当前页面",
|
|
12
|
+
unsavedForms: "未保存的页面和表单"
|
|
13
|
+
},
|
|
3
14
|
shell: {
|
|
4
15
|
closePopover: "关闭弹出菜单",
|
|
5
16
|
expand: "展开侧栏",
|
package/dist/storage.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("vue"),n=require("@axewo/fin-core/locale");function a(r,o){if(!o.trim())throw new Error("语言存储键不能为空");if(typeof window>"u")return()=>{};let e;try{e=globalThis.localStorage}catch{return()=>{}}if(!e)return()=>{};try{const t=e.getItem(o);t!==null&&(r.value=n.normalizeAppLocale(t,n.normalizeAppLocale(r.value)))}catch{}return c.watch(r,t=>{try{e.setItem(o,n.normalizeAppLocale(t))}catch{}},{flush:"sync"})}exports.connectFinLocaleStorage=a;
|
package/dist/storage.mjs
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { watch as c } from "vue";
|
|
2
|
+
import { normalizeAppLocale as n } from "@axewo/fin-core/locale";
|
|
3
|
+
function f(e, o) {
|
|
4
|
+
if (!o.trim()) throw new Error("语言存储键不能为空");
|
|
5
|
+
if (typeof window > "u") return () => {
|
|
6
|
+
};
|
|
7
|
+
let t;
|
|
8
|
+
try {
|
|
9
|
+
t = globalThis.localStorage;
|
|
10
|
+
} catch {
|
|
11
|
+
return () => {
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
if (!t) return () => {
|
|
15
|
+
};
|
|
16
|
+
try {
|
|
17
|
+
const r = t.getItem(o);
|
|
18
|
+
r !== null && (e.value = n(r, n(e.value)));
|
|
19
|
+
} catch {
|
|
20
|
+
}
|
|
21
|
+
return c(
|
|
22
|
+
e,
|
|
23
|
+
(r) => {
|
|
24
|
+
try {
|
|
25
|
+
t.setItem(o, n(r));
|
|
26
|
+
} catch {
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
{ flush: "sync" }
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
export {
|
|
33
|
+
f as connectFinLocaleStorage
|
|
34
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { I18nOptions, I18n, Composer } from 'vue-i18n';
|
|
2
2
|
import { App } from 'vue';
|
|
3
|
-
export { normalizeFinLocale, type FinLocale } from '@axewo/fin-core/locale';
|
|
3
|
+
export { normalizeAppLocale, normalizeFinLocale, type FinLocale } from '@axewo/fin-core/locale';
|
|
4
4
|
type MessageTree = Record<string, any>;
|
|
5
5
|
/** 供工厂和公共导出共同使用的完整内置语言包。 */
|
|
6
6
|
export declare const zhCN: MessageTree;
|
|
@@ -35,4 +35,3 @@ export declare function useFinText(): (key: string) => string;
|
|
|
35
35
|
* @returns 当前 App 独立的 i18n 实例;不创建模块级单例,不改变其他 App。
|
|
36
36
|
*/
|
|
37
37
|
export declare function installFinI18n(app: App, options?: Partial<I18nOptions>): I18n | undefined;
|
|
38
|
-
//# sourceMappingURL=create-i18n.d.ts.map
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @axewo/fin-locale - 国际化统一入口
|
|
3
3
|
*/
|
|
4
|
-
export { createFinI18n, en, installFinI18n, useFinLocale, useFinText, zhCN, normalizeFinLocale, translateFinBuiltin, type FinLocale } from './create-i18n';
|
|
4
|
+
export { createFinI18n, en, installFinI18n, useFinLocale, useFinText, zhCN, normalizeAppLocale, normalizeFinLocale, translateFinBuiltin, type FinLocale } from './create-i18n';
|
|
5
|
+
export { connectFinLocaleStorage } from './storage';
|
|
5
6
|
export { default as zhCNFormulaAdditions } from './locales/zh-CN/formula-additions';
|
|
6
7
|
export { default as enFormulaAdditions } from './locales/en/formula-additions';
|
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
/** 与中文保持相同的公共键与插值结构。 */
|
|
2
2
|
declare const _default: {
|
|
3
3
|
fin: {
|
|
4
|
+
confirmation: {
|
|
5
|
+
logoutTitle: string;
|
|
6
|
+
logoutContent: string;
|
|
7
|
+
logoutConfirm: string;
|
|
8
|
+
unsavedTitle: string;
|
|
9
|
+
unsavedContent: string;
|
|
10
|
+
continueEditing: string;
|
|
11
|
+
discardConfirm: string;
|
|
12
|
+
currentPage: string;
|
|
13
|
+
unsavedForms: string;
|
|
14
|
+
};
|
|
4
15
|
shell: {
|
|
5
16
|
closePopover: string;
|
|
6
17
|
expand: string;
|
|
@@ -75,4 +86,3 @@ declare const _default: {
|
|
|
75
86
|
};
|
|
76
87
|
};
|
|
77
88
|
export default _default;
|
|
78
|
-
//# sourceMappingURL=platform.d.ts.map
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
/** 公共平台文案;业务应用只维护自己的业务命名空间。 */
|
|
2
2
|
declare const _default: {
|
|
3
3
|
fin: {
|
|
4
|
+
confirmation: {
|
|
5
|
+
logoutTitle: string;
|
|
6
|
+
logoutContent: string;
|
|
7
|
+
logoutConfirm: string;
|
|
8
|
+
unsavedTitle: string;
|
|
9
|
+
unsavedContent: string;
|
|
10
|
+
continueEditing: string;
|
|
11
|
+
discardConfirm: string;
|
|
12
|
+
currentPage: string;
|
|
13
|
+
unsavedForms: string;
|
|
14
|
+
};
|
|
4
15
|
shell: {
|
|
5
16
|
closePopover: string;
|
|
6
17
|
expand: string;
|
|
@@ -75,4 +86,3 @@ declare const _default: {
|
|
|
75
86
|
};
|
|
76
87
|
};
|
|
77
88
|
export default _default;
|
|
78
|
-
//# sourceMappingURL=platform.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* 恢复并保存当前应用的 UI 语言,不创建另一份语言状态。
|
|
4
|
+
* @param locale 当前 App 的 composer.locale 或 useFinLocale().locale。
|
|
5
|
+
* @param key 应用独立的 localStorage 键;宿主和独立子应用应使用不同键。
|
|
6
|
+
* @returns 幂等释放函数,挂载失败或卸载时调用;释放后不再写入。
|
|
7
|
+
* @remarks 在首次渲染前连接。SSR 或存储不可用时保留内存语言,不阻断启动和切换。
|
|
8
|
+
* 嵌入子应用应使用宿主偏好同步,不连接本地存储,避免覆盖宿主语言。
|
|
9
|
+
*/
|
|
10
|
+
export declare function connectFinLocaleStorage(locale: Ref<string>, key: string): () => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axewo/fin-locale",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"sideEffects": false,
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@axewo/fin-core": "3.0.
|
|
37
|
+
"@axewo/fin-core": "3.0.2"
|
|
38
38
|
},
|
|
39
39
|
"files": [
|
|
40
40
|
"dist",
|
|
@@ -57,8 +57,9 @@
|
|
|
57
57
|
"access": "public"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
|
-
"build": "vite build",
|
|
61
|
-
"
|
|
62
|
-
"
|
|
60
|
+
"build": "pnpm typecheck && vite build",
|
|
61
|
+
"clean": "node ../../scripts/clean.mjs",
|
|
62
|
+
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
63
|
+
"check:package": "node ../../scripts/check-packages.mjs locale"
|
|
63
64
|
}
|
|
64
65
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-i18n.d.ts","sourceRoot":"","sources":["../../src/create-i18n.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAuB,KAAK,WAAW,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAA;AAC1F,OAAO,EAAsB,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAGlD,OAAO,EAAE,kBAAkB,EAAE,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAQ3E,KAAK,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AAMtC,4BAA4B;AAC5B,eAAO,MAAM,IAAI,EAAE,WAAkG,CAAA;AACrH,eAAO,MAAM,EAAE,EAAE,WAA8F,CAAA;AAE/G;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,GAAE,OAAiB,GAAG,MAAM,CAIlF;AAyBD;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,GAAG,IAAI,CAUlE;AAED;;;GAGG;AACH,wBAAgB,YAAY,IAAI;IAC9B,CAAC,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAA;IAChB,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAA;IAC1B,SAAS,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;CACpC,CASA;AAED,uDAAuD;AACvD,wBAAgB,UAAU,IAAI,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAOpD;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,GAAG,IAAI,GAAG,SAAS,CAiBzF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/entries/en.ts"],"names":[],"mappings":"AAAA,oCAAoC;AACpC,OAAO,EAAE,EAAE,IAAI,OAAO,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"zh-CN.d.ts","sourceRoot":"","sources":["../../../src/entries/zh-CN.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAE,EAAE,EAAE,cAAc,EAAE,YAAY,EAAE,UAAU,EAAE,IAAI,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,KAAK,SAAS,EAAE,MAAM,eAAe,CAAA;AAC1J,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,mCAAmC,CAAA;AACnF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,gCAAgC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard-additions.d.ts","sourceRoot":"","sources":["../../../../src/locales/en/dashboard-additions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAyJC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard-core-additions.d.ts","sourceRoot":"","sources":["../../../../src/locales/en/dashboard-core-additions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAqPC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formula-additions.d.ts","sourceRoot":"","sources":["../../../../src/locales/en/formula-additions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAoGC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/locales/en/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAgTC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../../../../src/locales/en/platform.ts"],"names":[],"mappings":"AAAA,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACxB,wBA2EC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-additions.d.ts","sourceRoot":"","sources":["../../../../src/locales/en/ui-additions.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDhB,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard-additions.d.ts","sourceRoot":"","sources":["../../../../src/locales/zh-CN/dashboard-additions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAyJC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard-core-additions.d.ts","sourceRoot":"","sources":["../../../../src/locales/zh-CN/dashboard-core-additions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAsPC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formula-additions.d.ts","sourceRoot":"","sources":["../../../../src/locales/zh-CN/formula-additions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAoGC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/locales/zh-CN/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBA+SC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../../../../src/locales/zh-CN/platform.ts"],"names":[],"mappings":"AAAA,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAC/B,wBA0EC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-additions.d.ts","sourceRoot":"","sources":["../../../../src/locales/zh-CN/ui-additions.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDhB,CAAA;AAED,eAAe,WAAW,CAAA"}
|