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