From c3a0d127a8c16cdc1c5a92a246b13d7fb9d5a83b Mon Sep 17 00:00:00 2001 From: Sebastian Silbermann Date: Wed, 1 Sep 2021 01:11:17 +0200 Subject: [PATCH] [docs] Fully translated /api/* pages (#28044) --- docs/src/modules/components/ApiPage.js | 4 ++-- docs/translations/translations.json | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/src/modules/components/ApiPage.js b/docs/src/modules/components/ApiPage.js index d0822ff72de6f5..a4162517c8bf8d 100644 --- a/docs/src/modules/components/ApiPage.js +++ b/docs/src/modules/components/ApiPage.js @@ -1,4 +1,4 @@ -/* eslint-disable material-ui/no-hardcoded-labels, react/no-danger */ +/* eslint-disable react/no-danger */ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; @@ -56,7 +56,7 @@ function PropsTable(props) { {propData.deprecated && ( - Deprecated + {t('api-docs.deprecated')} {propData.deprecationInfo && ' - '} {propData.deprecationInfo && ( system properties. You can use them as props directly on the component.", "default": "Default", "demos": "Demos", + "deprecated": "Deprecated", "description": "Description", "globalClass": "Global class", "import": "Import",