aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-09-25 16:33:23 +0200
committerGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-09-25 16:33:23 +0200
commit546d7b8636fbe22e537e31aca5ff028c2755f852 (patch)
treee3395571b72a5ba62c76bb4b67b77e02a2f450f2
parent4c5d6a27222a8eff31fadf1457a4e6c5b2e1911a (diff)
downloadsonarqube-546d7b8636fbe22e537e31aca5ff028c2755f852.tar.gz
sonarqube-546d7b8636fbe22e537e31aca5ff028c2755f852.zip
Fix typo
-rw-r--r--server/sonar-web/src/main/js/apps/web-api/components/DeprecatedBadge.tsx4
-rw-r--r--sonar-core/src/main/resources/org/sonar/l10n/core.properties2
2 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/web-api/components/DeprecatedBadge.tsx b/server/sonar-web/src/main/js/apps/web-api/components/DeprecatedBadge.tsx
index c2a786f62b2..f079061390b 100644
--- a/server/sonar-web/src/main/js/apps/web-api/components/DeprecatedBadge.tsx
+++ b/server/sonar-web/src/main/js/apps/web-api/components/DeprecatedBadge.tsx
@@ -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>
diff --git a/sonar-core/src/main/resources/org/sonar/l10n/core.properties b/sonar-core/src/main/resources/org/sonar/l10n/core.properties
index eb6a8c88bfa..aca17c1f279 100644
--- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties
+++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties
@@ -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