Skip to content

Commit c3a0d12

Browse files
authored
[docs] Fully translated /api/* pages (mui#28044)
1 parent 454ca2f commit c3a0d12

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/src/modules/components/ApiPage.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* eslint-disable material-ui/no-hardcoded-labels, react/no-danger */
1+
/* eslint-disable react/no-danger */
22
import * as React from 'react';
33
import PropTypes from 'prop-types';
44
import clsx from 'clsx';
@@ -56,7 +56,7 @@ function PropsTable(props) {
5656
<td align="left">
5757
{propData.deprecated && (
5858
<Alert severity="warning" sx={{ mb: 1, py: 0 }}>
59-
<strong>Deprecated</strong>
59+
<strong>{t('api-docs.deprecated')}</strong>
6060
{propData.deprecationInfo && ' - '}
6161
{propData.deprecationInfo && (
6262
<span

docs/translations/translations.json

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"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.",
66
"default": "Default",
77
"demos": "Demos",
8+
"deprecated": "Deprecated",
89
"description": "Description",
910
"globalClass": "Global class",
1011
"import": "Import",

0 commit comments

Comments
 (0)