1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

update copy

This commit is contained in:
Jonathan Prusik
2024-11-11 17:05:39 -05:00
parent 427db638b1
commit 2686be0e50
3 changed files with 3 additions and 14 deletions

View File

@@ -2337,10 +2337,7 @@
"message": "Bitwarden will not ask to save login details for these domains for all logged in accounts. You must refresh the page for changes to take effect." "message": "Bitwarden will not ask to save login details for these domains for all logged in accounts. You must refresh the page for changes to take effect."
}, },
"blockedDomainsDesc": { "blockedDomainsDesc": {
"message": "Bitwarden will be disabled for these domains. You must refresh the page for changes to take effect." "message": "Autofill and other related features will not be offered for these websites. You must refresh the page for changes to take effect."
},
"blockedDomainsDescAlt": {
"message": "Bitwarden will be disabled for these domains on all logged in accounts. You must refresh the page for changes to take effect."
}, },
"websiteItemLabel": { "websiteItemLabel": {
"message": "Website $number$ (URI)", "message": "Website $number$ (URI)",

View File

@@ -6,11 +6,7 @@
</popup-header> </popup-header>
<div class="tw-bg-background-alt"> <div class="tw-bg-background-alt">
<p> <p>{{ "blockedDomainsDesc" | i18n }}</p>
{{
accountSwitcherEnabled ? ("blockedDomainsDescAlt" | i18n) : ("blockedDomainsDesc" | i18n)
}}
</p>
<bit-section *ngIf="!isLoading"> <bit-section *ngIf="!isLoading">
<bit-section-header> <bit-section-header>
<h2 bitTypography="h6">{{ "domainsTitle" | i18n }}</h2> <h2 bitTypography="h6">{{ "domainsTitle" | i18n }}</h2>

View File

@@ -29,7 +29,6 @@ import {
TypographyModule, TypographyModule,
} from "@bitwarden/components"; } from "@bitwarden/components";
import { enableAccountSwitching } from "../../../platform/flags";
import { PopOutComponent } from "../../../platform/popup/components/pop-out.component"; import { PopOutComponent } from "../../../platform/popup/components/pop-out.component";
import { PopupFooterComponent } from "../../../platform/popup/layout/popup-footer.component"; import { PopupFooterComponent } from "../../../platform/popup/layout/popup-footer.component";
import { PopupHeaderComponent } from "../../../platform/popup/layout/popup-header.component"; import { PopupHeaderComponent } from "../../../platform/popup/layout/popup-header.component";
@@ -62,7 +61,6 @@ import { PopupPageComponent } from "../../../platform/popup/layout/popup-page.co
export class BlockedDomainsComponent implements AfterViewInit, OnDestroy { export class BlockedDomainsComponent implements AfterViewInit, OnDestroy {
@ViewChildren("uriInput") uriInputElements: QueryList<ElementRef<HTMLInputElement>>; @ViewChildren("uriInput") uriInputElements: QueryList<ElementRef<HTMLInputElement>>;
accountSwitcherEnabled = false;
dataIsPristine = true; dataIsPristine = true;
isLoading = false; isLoading = false;
blockedDomainsState: string[] = []; blockedDomainsState: string[] = [];
@@ -76,9 +74,7 @@ export class BlockedDomainsComponent implements AfterViewInit, OnDestroy {
private domainSettingsService: DomainSettingsService, private domainSettingsService: DomainSettingsService,
private i18nService: I18nService, private i18nService: I18nService,
private platformUtilsService: PlatformUtilsService, private platformUtilsService: PlatformUtilsService,
) { ) {}
this.accountSwitcherEnabled = enableAccountSwitching();
}
async ngAfterViewInit() { async ngAfterViewInit() {
this.domainSettingsService.blockedInteractionsUris$ this.domainSettingsService.blockedInteractionsUris$