1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23: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."
},
"blockedDomainsDesc": {
"message": "Bitwarden will be disabled for these domains. 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."
"message": "Autofill and other related features will not be offered for these websites. You must refresh the page for changes to take effect."
},
"websiteItemLabel": {
"message": "Website $number$ (URI)",

View File

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

View File

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