Skip to content

Commit

Permalink
update copy
Browse files Browse the repository at this point in the history
  • Loading branch information
jprusik committed Nov 11, 2024
1 parent 9d01a4d commit 7916c95
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
5 changes: 1 addition & 4 deletions apps/browser/src/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -2343,10 +2343,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)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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[] = [];
Expand All @@ -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$
Expand Down

0 comments on commit 7916c95

Please sign in to comment.