forked from MountVase/Maskbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.i18n-codegen.json
42 lines (42 loc) · 1.4 KB
/
.i18n-codegen.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"$schema": "./node_modules/@magic-works/i18n-codegen/schema.json",
"version": 1,
"list": [
{
"input": "./packages/maskbook/src/_locales/en/messages.json",
"output": "./packages/maskbook/src/_locales/en/i18n_generated",
"parser": "i18next",
"generator": {
"type": "i18next/react-hooks",
"hooks": "useMaskI18N",
"namespace": "mask",
"trans": "MaskTrans",
"sourceMap": "inline"
}
},
{
"input": "./packages/theme/src/locales/en.json",
"output": "./packages/theme/src/locales/i18n_generated",
"parser": "i18next",
"generator": {
"type": "i18next/react-hooks",
"hooks": "useMaskThemeI18N",
"namespace": "theme",
"trans": "ThemeTrans",
"sourceMap": "inline"
}
},
{
"input": "./packages/dashboard/src/locales/en.json",
"output": "./packages/dashboard/src/locales/i18n_generated",
"parser": "i18next",
"generator": {
"type": "i18next/react-hooks",
"hooks": "useDashboardI18N",
"namespace": "dashboard",
"trans": "DashboardTrans",
"sourceMap": "inline"
}
}
]
}