зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1672936 - Do not show "report a detection problem" in Safe Browsing malware interstitial page r=flod,fluent-reviewers,gcp
Differential Revision: https://phabricator.services.mozilla.com/D94574
This commit is contained in:
Родитель
773fdfabdb
Коммит
226e9214a2
|
@ -115,9 +115,19 @@ function initPage() {
|
|||
document.getElementById("report_detection").remove();
|
||||
}
|
||||
|
||||
document.l10n.setAttributes(innerDesc, innerDescL10nID, {
|
||||
sitename: getHostString(),
|
||||
});
|
||||
// Add the inner description:
|
||||
// Map specific elements to a different message ID, to allow updates to
|
||||
// existing labels
|
||||
let descriptionMapping = {
|
||||
malware: innerDescL10nID + "-sumo",
|
||||
};
|
||||
document.l10n.setAttributes(
|
||||
innerDesc,
|
||||
descriptionMapping[error] || innerDescL10nID,
|
||||
{
|
||||
sitename: getHostString(),
|
||||
}
|
||||
);
|
||||
|
||||
// Add the learn more content:
|
||||
// Map specific elements to a different message ID, to allow updates to
|
||||
|
|
|
@ -16,8 +16,8 @@ safeb-palm-see-details-label = See details
|
|||
safeb-blocked-phishing-page-error-desc-override = <span data-l10n-name='sitename'>{ $sitename }</span> has been <a data-l10n-name='error_desc_link'>reported as a deceptive site</a>. You can <a data-l10n-name='report_detection'>report a detection problem</a> or <a data-l10n-name='ignore_warning_link'>ignore the risk</a> and go to this unsafe site.
|
||||
safeb-blocked-phishing-page-error-desc-no-override = <span data-l10n-name='sitename'>{ $sitename }</span> has been <a data-l10n-name='error_desc_link'>reported as a deceptive site</a>. You can <a data-l10n-name='report_detection'>report a detection problem</a>.
|
||||
safeb-blocked-phishing-page-learn-more = Learn more about deceptive sites and phishing at <a data-l10n-name='learn_more_link'>www.antiphishing.org</a>. Learn more about { -brand-short-name }’s Phishing and Malware Protection at <a data-l10n-name='firefox_support'>support.mozilla.org</a>.
|
||||
safeb-blocked-malware-page-error-desc-override = <span data-l10n-name='sitename'>{ $sitename }</span> has been <a data-l10n-name='error_desc_link'>reported as containing malicious software</a>. You can <a data-l10n-name='report_detection'>report a detection problem</a> or <a data-l10n-name='ignore_warning_link'>ignore the risk</a> and go to this unsafe site.
|
||||
safeb-blocked-malware-page-error-desc-no-override = <span data-l10n-name='sitename'>{ $sitename }</span> has been <a data-l10n-name='error_desc_link'>reported as containing malicious software</a>. You can <a data-l10n-name='report_detection'>report a detection problem</a>.
|
||||
safeb-blocked-malware-page-error-desc-override-sumo = <span data-l10n-name='sitename'>{ $sitename }</span> has been <a data-l10n-name='error_desc_link'>reported as containing malicious software</a>. You can <a data-l10n-name='ignore_warning_link'>ignore the risk</a> and go to this unsafe site.
|
||||
safeb-blocked-malware-page-error-desc-no-override-sumo = <span data-l10n-name='sitename'>{ $sitename }</span> has been <a data-l10n-name='error_desc_link'>reported as containing malicious software</a>.
|
||||
safeb-blocked-malware-page-learn-more-sumo = Learn more about { -brand-short-name }’s Phishing and Malware Protection at <a data-l10n-name='firefox_support'>support.mozilla.org</a>.
|
||||
safeb-blocked-unwanted-page-error-desc-override = <span data-l10n-name='sitename'>{ $sitename }</span> has been <a data-l10n-name='error_desc_link'>reported as containing harmful software</a>. You can <a data-l10n-name='ignore_warning_link'>ignore the risk</a> and go to this unsafe site.
|
||||
safeb-blocked-unwanted-page-error-desc-no-override = <span data-l10n-name='sitename'>{ $sitename }</span> has been <a data-l10n-name='error_desc_link'>reported as containing harmful software</a>.
|
||||
|
|
Загрузка…
Ссылка в новой задаче