Skip to content

Commit

Permalink
[docs] Fully translated /api/* pages (mui#28044)
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon authored Aug 31, 2021
1 parent 454ca2f commit c3a0d12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/modules/components/ApiPage.js
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -56,7 +56,7 @@ function PropsTable(props) {
<td align="left">
{propData.deprecated && (
<Alert severity="warning" sx={{ mb: 1, py: 0 }}>
<strong>Deprecated</strong>
<strong>{t('api-docs.deprecated')}</strong>
{propData.deprecationInfo && ' - '}
{propData.deprecationInfo && (
<span
Expand Down
1 change: 1 addition & 0 deletions docs/translations/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"cssComponent": "As a CSS utility, the {{name}} component also supports all <a href=\"/system/properties/\"><code>system</code></a> properties. You can use them as props directly on the component.",
"default": "Default",
"demos": "Demos",
"deprecated": "Deprecated",
"description": "Description",
"globalClass": "Global class",
"import": "Import",
Expand Down

0 comments on commit c3a0d12

Please sign in to comment.