mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
docs: add missing import (#7590)
This commit is contained in:
parent
79db7bcdcb
commit
adad253d24
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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…
Reference in New Issue