mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 16:59:06 +02:00
docs: add missing import (#7590)
This commit is contained in:
parent
79db7bcdcb
commit
adad253d24
2 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,8 @@ slug: '/api/misc/@docusaurus/eslint-plugin/no-untranslated-text'
|
|||
|
||||
# no-untranslated-text
|
||||
|
||||
import APITable from '@site/src/components/APITable';
|
||||
|
||||
Enforce text labels in JSX to be wrapped by translate calls.
|
||||
|
||||
When the [i18n feature](../../../i18n/i18n-introduction.md) is used, this rule ensures that all labels appearing on the website are translatable, so no string accidentally slips through untranslated.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue