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

[Policy] Update Personal Ownership checkbox description (#767)

* Initial commit of enabled checkbox description update

* Updated requested changes

* Fixed merge conflict
This commit is contained in:
Vincent Salucci
2021-01-12 17:13:59 -06:00
committed by GitHub
parent dc87510a7a
commit 2047a6378b
3 changed files with 9 additions and 1 deletions

View File

@@ -36,7 +36,7 @@
<div class="form-check"> <div class="form-check">
<input class="form-check-input" type="checkbox" id="enabled" [(ngModel)]="enabled" <input class="form-check-input" type="checkbox" id="enabled" [(ngModel)]="enabled"
name="Enabled"> name="Enabled">
<label class="form-check-label" for="enabled">{{'enabled' | i18n}}</label> <label class="form-check-label" for="enabled">{{checkboxDesc}}</label>
</div> </div>
</div> </div>
<ng-container *ngIf="type === policyType.MasterPassword"> <ng-container *ngIf="type === policyType.MasterPassword">

View File

@@ -172,6 +172,11 @@ export class PolicyEditComponent implements OnInit {
} }
} }
get checkboxDesc(): string {
return this.type === PolicyType.PersonalOwnership ? this.i18nService.t('personalOwnershipCheckboxDesc') :
this.i18nService.t('enabled');
}
private preValidate(): boolean { private preValidate(): boolean {
switch (this.type) { switch (this.type) {
case PolicyType.RequireSso: case PolicyType.RequireSso:

View File

@@ -3625,6 +3625,9 @@
"custom": { "custom": {
"message": "Custom" "message": "Custom"
}, },
"personalOwnershipCheckboxDesc": {
"message": "Disable personal ownership for organization users"
},
"textHiddenByDefault": { "textHiddenByDefault": {
"message": "When accessing the Send, hide the text by default", "message": "When accessing the Send, hide the text by default",
"description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated."