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