diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2018-02-09 11:24:46 +0100 |
---|---|---|
committer | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2018-02-09 11:36:58 +0100 |
commit | e22000509bf6734f602c21af925ed372ab7b8b8f (patch) | |
tree | 7fa440f27e6ce749fd182e86352d05cb1dabc187 /server/sonar-web/src/main/js/apps | |
parent | dcdd0e9da67fab31c2d9657483cdcfc08dfcd503 (diff) | |
download | sonarqube-e22000509bf6734f602c21af925ed372ab7b8b8f.tar.gz sonarqube-e22000509bf6734f602c21af925ed372ab7b8b8f.zip |
SONAR-10414 Missing l10n message in Marketplace (#3038)
Diffstat (limited to 'server/sonar-web/src/main/js/apps')
-rw-r--r-- | server/sonar-web/src/main/js/apps/marketplace/components/PluginChangeLogItem.tsx | 4 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/apps/marketplace/components/PluginUpdateItem.tsx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/marketplace/components/PluginChangeLogItem.tsx b/server/sonar-web/src/main/js/apps/marketplace/components/PluginChangeLogItem.tsx index 0db83778cf1..06a94958835 100644 --- a/server/sonar-web/src/main/js/apps/marketplace/components/PluginChangeLogItem.tsx +++ b/server/sonar-web/src/main/js/apps/marketplace/components/PluginChangeLogItem.tsx @@ -21,7 +21,7 @@ import * as React from 'react'; import DateFormatter from '../../../components/intl/DateFormatter'; import Tooltip from '../../../components/controls/Tooltip'; import { Release, Update } from '../../../api/plugins'; -import { translate, translateWithParameters } from '../../../helpers/l10n'; +import { translate } from '../../../helpers/l10n'; interface Props { release: Release; @@ -37,7 +37,7 @@ export default function PluginChangeLogItem({ release, update }: Props) { {release.version} </span> ) : ( - <Tooltip overlay={translateWithParameters('marketplace.status', update.status)}> + <Tooltip overlay={translate('marketplace.update_status', update.status)}> <span className="js-plugin-changelog-version badge badge-warning spacer-right"> {release.version} </span> diff --git a/server/sonar-web/src/main/js/apps/marketplace/components/PluginUpdateItem.tsx b/server/sonar-web/src/main/js/apps/marketplace/components/PluginUpdateItem.tsx index fcc1611894a..1bbb18782f2 100644 --- a/server/sonar-web/src/main/js/apps/marketplace/components/PluginUpdateItem.tsx +++ b/server/sonar-web/src/main/js/apps/marketplace/components/PluginUpdateItem.tsx @@ -57,7 +57,7 @@ export default class PluginUpdateItem extends React.PureComponent<Props, State> {update.status === 'COMPATIBLE' ? ( <span className="js-update-version badge badge-success">{release.version}</span> ) : ( - <Tooltip overlay={translate('marketplace.status', update.status)}> + <Tooltip overlay={translate('marketplace.update_status', update.status)}> <span className="js-update-version badge badge-warning">{release.version}</span> </Tooltip> )} |