Merge pull request #2171 from mozilla/fix

Fix i10n issue - closes #2169
This commit is contained in:
Andrea Marchesini 2021-10-26 16:06:54 +02:00 committed by GitHub
commit d305add826
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -938,7 +938,7 @@ Logic.registerPanel(P_CONTAINER_INFO, {
hideShowIcon.src = identity.hasHiddenTabs ? CONTAINER_UNHIDE_SRC : CONTAINER_HIDE_SRC;
const hideShowLabel = document.getElementById("container-info-hideorshow-label");
hideShowLabel.textContent = identity.hasHiddenTabs ? "Show this container" : "Hide this container";
hideShowLabel.textContent = browser.i18n.getMessage(identity.hasHiddenTabs ? "showThisContainer" : "hideThisContainer");
return;
},