Browse Source

Fix typo

tags/6.6-RC1
Grégoire Aubert 6 years ago
parent
commit
546d7b8636

+ 2
- 2
server/sonar-web/src/main/js/apps/web-api/components/DeprecatedBadge.tsx View File

@@ -23,8 +23,8 @@ import { translate, translateWithParameters } from '../../../helpers/l10n';

export default function DeprecatedBadge({ since }: { since?: string }) {
const label = since
? translateWithParameters('api_documentation.depracated_since_x', since)
: translate('api_documentation.depracated');
? translateWithParameters('api_documentation.deprecated_since_x', since)
: translate('api_documentation.deprecated');
return (
<Tooltip overlay={translate('api_documentation.deprecation_tooltip')}>
<span className="badge badge-warning">{label}</span>

+ 1
- 1
sonar-core/src/main/resources/org/sonar/l10n/core.properties View File

@@ -2926,7 +2926,7 @@ api_documentation.example_values=Example value
api_documentation.max_values=Maximum allowed values
api_documentation.internal=internal
api_documentation.deprecated=deprecated
api_documentation.depracated_since_x=deprecated since {0}
api_documentation.deprecated_since_x=deprecated since {0}
api_documentation.parameters=Parameters
api_documentation.response_example=Response Example
api_documentation.changelog=Changelog

Loading…
Cancel
Save