]> source.dussan.org Git - sonarqube.git/commitdiff
Fix typo
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>
Mon, 25 Sep 2017 14:33:23 +0000 (16:33 +0200)
committerGrégoire Aubert <gregoire.aubert@sonarsource.com>
Mon, 25 Sep 2017 14:33:23 +0000 (16:33 +0200)
server/sonar-web/src/main/js/apps/web-api/components/DeprecatedBadge.tsx
sonar-core/src/main/resources/org/sonar/l10n/core.properties

index c2a786f62b2f5d3b227bc7ff4367f1888d542c09..f079061390b87fd2855a1bd021fd247c3ba54169 100644 (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>
index eb6a8c88bfae7dcd35e658e85ec5330f4383c18d..aca17c1f279ed45d567f0704040ee2e02c1da040 100644 (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