mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-22 21:31:32 +03:00
22 lines
520 B
JSON
22 lines
520 B
JSON
{
|
|
"$schema": "./node_modules/@magic-works/i18n-codegen/schema.json",
|
|
"version": 1,
|
|
"list": [
|
|
{
|
|
"input": "./packages/frontend/i18n/src/resources/en.json",
|
|
"output": "./packages/frontend/i18n/src/i18n-generated",
|
|
"parser": {
|
|
"type": "i18next",
|
|
"contextSeparator": "$",
|
|
"pluralSeparator": "_"
|
|
},
|
|
"generator": {
|
|
"type": "i18next/react-hooks",
|
|
"hooks": "useAFFiNEI18N",
|
|
"emitTS": true,
|
|
"shouldUnescape": true
|
|
}
|
|
}
|
|
]
|
|
}
|