aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRevanshu Paliwal <revanshu.paliwal@sonarsource.com>2022-03-11 16:06:16 +0100
committersonartech <sonartech@sonarsource.com>2022-03-14 20:03:08 +0000
commit6b309a45b4386c3d1c3e45accc42769260c19d42 (patch)
tree6cc7759a9660be0534bfa18dc13a5b1630711e7a
parent15e088d040984e033a74877b5e42babeb365ded9 (diff)
downloadsonarqube-6b309a45b4386c3d1c3e45accc42769260c19d42.tar.gz
sonarqube-6b309a45b4386c3d1c3e45accc42769260c19d42.zip
SONAR-16101 Changing label based on feedbacks
-rw-r--r--server/sonar-web/src/main/js/apps/security-hotspots/components/StatusUpdateSuccessModal.tsx4
-rw-r--r--server/sonar-web/src/main/js/apps/security-hotspots/components/__tests__/__snapshots__/StatusUpdateSuccessModal-test.tsx.snap8
-rw-r--r--sonar-core/src/main/resources/org/sonar/l10n/core.properties6
3 files changed, 9 insertions, 9 deletions
diff --git a/server/sonar-web/src/main/js/apps/security-hotspots/components/StatusUpdateSuccessModal.tsx b/server/sonar-web/src/main/js/apps/security-hotspots/components/StatusUpdateSuccessModal.tsx
index 39b038eb624..3cfd92e294d 100644
--- a/server/sonar-web/src/main/js/apps/security-hotspots/components/StatusUpdateSuccessModal.tsx
+++ b/server/sonar-web/src/main/js/apps/security-hotspots/components/StatusUpdateSuccessModal.tsx
@@ -47,11 +47,11 @@ export default function StatusUpdateSuccessModal(props: StatusUpdateSuccessModal
return (
<Modal contentLabel={modalTitle}>
- <div className="modal-head huge text-center text-bold">
+ <div className="modal-head big text-center text-bold">
<p>{translateWithParameters('hotspots.successful_status_change_to_x', statusLabel)}</p>
</div>
- <div className="modal-body text-center big">
+ <div className="modal-body text-center">
<FormattedMessage
id="hotspots.successfully_changed_to_x"
defaultMessage={translate('hotspots.find_in_status_filter_x')}
diff --git a/server/sonar-web/src/main/js/apps/security-hotspots/components/__tests__/__snapshots__/StatusUpdateSuccessModal-test.tsx.snap b/server/sonar-web/src/main/js/apps/security-hotspots/components/__tests__/__snapshots__/StatusUpdateSuccessModal-test.tsx.snap
index 3fedbef7b09..136d52ffa71 100644
--- a/server/sonar-web/src/main/js/apps/security-hotspots/components/__tests__/__snapshots__/StatusUpdateSuccessModal-test.tsx.snap
+++ b/server/sonar-web/src/main/js/apps/security-hotspots/components/__tests__/__snapshots__/StatusUpdateSuccessModal-test.tsx.snap
@@ -5,14 +5,14 @@ exports[`should render correctly: default 1`] = `
contentLabel="hotspots.congratulations"
>
<div
- className="modal-head huge text-center text-bold"
+ className="modal-head big text-center text-bold"
>
<p>
hotspots.successful_status_change_to_x.hotspots.status_option.FIXED
</p>
</div>
<div
- className="modal-body text-center big"
+ className="modal-body text-center"
>
<FormattedMessage
defaultMessage="hotspots.find_in_status_filter_x"
@@ -64,14 +64,14 @@ exports[`should render correctly: opening hotspots again 1`] = `
contentLabel="hotspots.update.success"
>
<div
- className="modal-head huge text-center text-bold"
+ className="modal-head big text-center text-bold"
>
<p>
hotspots.successful_status_change_to_x.hotspots.status_option.TO_REVIEW
</p>
</div>
<div
- className="modal-body text-center big"
+ className="modal-body text-center"
>
<FormattedMessage
defaultMessage="hotspots.find_in_status_filter_x"
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 67ebbdbbadb..97f508d25c6 100644
--- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties
+++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties
@@ -765,9 +765,9 @@ hotspots.status_option.SAFE.description=The code has been reviewed and does not
hotspots.get_permalink=Get Permalink
hotspots.no_associated_lines=Security Hotspot raised on the following file:
hotspots.congratulations=Congratulations!
-hotspots.find_in_status_filter_x= You can find it again by setting status filter to {status_label}.
+hotspots.find_in_status_filter_x= You can find it again by setting the status filter to {status_label}.
hotspots.successful_status_change_to_x=The Security Hotspot was successfully changed to {0}.
-hotspots.x_done_keep_going={percentage} of the Security Hotspots have been reviewed, keep going!
+hotspots.x_done_keep_going={percentage} of the Security Hotspots have been reviewed.
hotspots.see_x_hotspots=See "{0}" Security Hotspots
hotspots.continue_to_next_hotspot=Continue Reviewing
@@ -783,7 +783,7 @@ hotspot.filters.status.safe=Safe
hotspot.filters.show_all=Show all hotspots
hotspot.section.activity=Recent activity:
-hotspots.reviewed.tooltip=Percentage of Security Hotspots reviewed (Acknowledged, Fixed or Safe) among all non-closed Security Hotspots.
+hotspots.reviewed.tooltip=Percentage of open Security Hotspots that have been reviewed (Acknowledged, Fixed or Safe)
hotspots.review_hotspot=Review Hotspot
hotspots.assign.success=Security Hotspot was successfully assigned to {0}