Implement final string correctly with browser.i18n

This commit is contained in:
Lesley Norton
2021-10-28 13:57:27 -05:00
parent b9f69e2b99
commit cb30ac0bbc
2 changed files with 6 additions and 3 deletions
+1 -3
View File
@@ -749,7 +749,7 @@ Logic.registerPanel(P_CONTAINERS_LIST, {
</div>
</div>
<span class="menu-text">${identity.name}</span>
<span class="tooltip proxy-unavailable">This container has been configured to use a Mozilla VPN proxy, but Mozilla VPN is not on. Turn Mozilla VPN on to use this proxy.</span>
<span class="tooltip proxy-unavailable"></span>
</div>
<span class="menu-right-float">
<img alt="" class="always-open-in-flag flag-img" src="/img/flags/.png"/>
@@ -767,8 +767,6 @@ Logic.registerPanel(P_CONTAINERS_LIST, {
tr.appendChild(td);
const openInThisContainer = tr.querySelector(".menu-item-name");
// const mozProxyWarning = await MozillaVPN.getProxyWarnings(proxies[identity.cookieStoreId]);
// openInThisContainer.dataset.mozProxyWarning = mozProxyWarning;
Utils.addEnterHandler(openInThisContainer, (e) => {
e.preventDefault();
if (openInThisContainer.dataset.mozProxyWarning === "proxy-unavailable") {