1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 21:33:27 +00:00

[PM-3294][PM-3293] Update Region Selector Domains (#5949)

* update desktop domains

* update web domains

* remove old translations from desktop

* update translations on browser

* change 'Region' to 'Server' on web

* change labels

* remove 'region' translation

* adjust alignmend so 'Self-hosted' label lines up with others

* adjust width and layout of trial-initiation header to accomodate longer text
This commit is contained in:
rr-bw
2023-08-04 14:28:55 -07:00
committed by GitHub
parent 5d8be1182a
commit dad6fedebd
6 changed files with 36 additions and 41 deletions

View File

@@ -1,5 +1,5 @@
<label class="environment-selector-btn">
{{ "region" | i18n }}:
{{ "loggingInOn" | i18n }}:
<a
(click)="toggle(null)"
cdkOverlayOrigin
@@ -8,8 +8,12 @@
aria-controls="cdk-overlay-container"
[ngSwitch]="selectedEnvironment"
>
<label *ngSwitchCase="ServerEnvironmentType.US" class="text-primary">{{ "us" | i18n }}</label>
<label *ngSwitchCase="ServerEnvironmentType.EU" class="text-primary">{{ "eu" | i18n }}</label>
<label *ngSwitchCase="ServerEnvironmentType.US" class="text-primary">{{
"usDomain" | i18n
}}</label>
<label *ngSwitchCase="ServerEnvironmentType.EU" class="text-primary">{{
"euDomain" | i18n
}}</label>
<label *ngSwitchCase="ServerEnvironmentType.SelfHosted" class="text-primary">{{
"selfHosted" | i18n
}}</label>
@@ -41,7 +45,7 @@
"
></i>
<img class="img-us" alt="" />
<span>{{ "us" | i18n }}</span>
<span>{{ "usDomain" | i18n }}</span>
</button>
<br />
<button
@@ -59,7 +63,7 @@
"
></i>
<img class="img-eu" alt="" />
<span>{{ "eu" | i18n }}</span>
<span>{{ "euDomain" | i18n }}</span>
</button>
<br *ngIf="euServerFlagEnabled" />
<button
@@ -76,8 +80,8 @@
"
></i>
<i
class="bwi bwi-fw bwi-sm bwi-pencil-square"
style="padding-bottom: 1px"
class="bwi bwi-fw bwi-md bwi-pencil-square"
style="padding-bottom: 1px; margin-right: 5px"
aria-hidden="true"
></i>
<span>{{ "selfHosted" | i18n }}</span>