From ed219dcef705cbe16fdb8e6e9f4b993112e9444d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gr=C3=A9goire=20Aubert?= Date: Wed, 12 Jul 2017 13:19:21 +0200 Subject: [PATCH] SONAR-9410 Make more obvious that the reset button will only reset the date on the project activity page --- .../apps/projectActivity/components/ProjectActivityDateInput.js | 2 +- .../projectActivity/components/ProjectActivityPageHeader.js | 2 +- .../__snapshots__/ProjectActivityDateInput-test.js.snap | 2 +- .../__snapshots__/ProjectActivityPageHeader-test.js.snap | 2 +- sonar-core/src/main/resources/org/sonar/l10n/core.properties | 1 + 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityDateInput.js b/server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityDateInput.js index 82aa95a96c2..3a0212037ac 100644 --- a/server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityDateInput.js +++ b/server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityDateInput.js @@ -64,7 +64,7 @@ export default class ProjectActivityDateInput extends React.PureComponent { className="spacer-left" onClick={this.handleResetClick} disabled={this.props.from == null && this.props.to == null}> - {translate('reset_verb')} + {translate('project_activity.reset_dates')} ); diff --git a/server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityPageHeader.js b/server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityPageHeader.js index ebbce83df7c..2f468c7c776 100644 --- a/server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityPageHeader.js +++ b/server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityPageHeader.js @@ -53,7 +53,7 @@ export default class ProjectActivityPageHeader extends React.PureComponent { return (