[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:
parent
dc87510a7a
commit
2047a6378b
|
@ -36,7 +36,7 @@
|
|||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" id="enabled" [(ngModel)]="enabled"
|
||||
name="Enabled">
|
||||
<label class="form-check-label" for="enabled">{{'enabled' | i18n}}</label>
|
||||
<label class="form-check-label" for="enabled">{{checkboxDesc}}</label>
|
||||
</div>
|
||||
</div>
|
||||
<ng-container *ngIf="type === policyType.MasterPassword">
|
||||
|
|
|
@ -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 {
|
||||
switch (this.type) {
|
||||
case PolicyType.RequireSso:
|
||||
|
|
|
@ -3625,6 +3625,9 @@
|
|||
"custom": {
|
||||
"message": "Custom"
|
||||
},
|
||||
"personalOwnershipCheckboxDesc": {
|
||||
"message": "Disable personal ownership for organization users"
|
||||
},
|
||||
"textHiddenByDefault": {
|
||||
"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."
|
||||
|
|
Loading…
Reference in New Issue