Bug 1586667 - Update case for blocked icon tooltip r=Honza

Differential Revision: https://phabricator.services.mozilla.com/D48985

--HG--
extra : moz-landing-system : lando
This commit is contained in:
David Walsh 2019-11-04 08:41:52 +00:00
Родитель 3e4e9cbc17
Коммит ee044d40a7
3 изменённых файлов: 9 добавлений и 5 удалений

Просмотреть файл

@ -265,9 +265,13 @@ networkMenu.sizeCached=cached
# by a service worker.
networkMenu.sizeServiceWorker=service worker
# LOCALIZATION NOTE (networkMenu.blocked): This is a generic message for a
# LOCALIZATION NOTE (networkMenu.blocked2): This is a generic message for a
# URL that has been blocked for an unknown reason
networkMenu.blocked=blocked
networkMenu.blocked2=Blocked
# LOCALIZATION NOTE (networkMenu.blockedTooltip): This is a the text displayed
# as a tooltip for the blocked icon in the request list
networkMenu.blockedTooltip=Blocked
# LOCALIZATION NOTE (networkMenu.totalMS2): This is the label displayed
# in the network menu specifying the time for a request to finish (in milliseconds).

Просмотреть файл

@ -52,7 +52,7 @@ class RequestListColumnTransferredSize extends Component {
if (blockedReason) {
text =
BLOCKED_REASON_MESSAGES[blockedReason] ||
L10N.getStr("networkMenu.blocked");
L10N.getStr("networkMenu.blocked2");
} else if (fromCache || status === "304") {
text = SIZE_CACHED;
} else if (fromServiceWorker) {

Просмотреть файл

@ -68,11 +68,11 @@ class StatusCode extends Component {
{
className:
"requests-list-status-code status-code status-code-blocked",
title: L10N.getStr("networkMenu.blocked"),
title: L10N.getStr("networkMenu.blockedTooltip"),
},
img({
src: BLOCKED_ICON,
alt: L10N.getStr("networkMenu.blocked"),
alt: L10N.getStr("networkMenu.blockedTooltip"),
})
);
}