瀏覽代碼

SONAR-16101 Changing label based on feedbacks

tags/9.4.0.54424
Revanshu Paliwal 2 年之前
父節點
當前提交
6b309a45b4

+ 2
- 2
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')}

+ 4
- 4
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"

+ 3
- 3
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}

Loading…
取消
儲存