docs: add missing import (#7590)

This commit is contained in:
dpang314 2022-06-09 12:45:50 -04:00 committed by GitHub
parent 79db7bcdcb
commit adad253d24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -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.