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