mirror of
https://github.com/docmost/docmost.git
synced 2025-11-21 04:21:08 +10:00
feat: support i18n
This commit is contained in:
@ -25,3 +25,9 @@ If you are developing a production application, we recommend updating the config
|
||||
- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`
|
||||
- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
|
||||
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list
|
||||
|
||||
## Add i18n namespaces
|
||||
|
||||
`node scripts/i18n-tools.js add-ns <namespcaes>`
|
||||
|
||||
For example `node scripts/i18n-tools.js add-ns login`
|
||||
|
||||
Reference in New Issue
Block a user