1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00

capitalize and include num for pass gen

This commit is contained in:
Kyle Spearrin 2019-07-02 16:54:46 -04:00
parent 132c4139ad
commit d1a7c3390a
2 changed files with 17 additions and 0 deletions

View File

@ -29,6 +29,16 @@
<input id="word-separator" class="form-control" type="text" maxlength="1" [(ngModel)]="options.wordSeparator"
(blur)="saveOptions()">
</div>
<div class="form-check">
<input id="capitalize" class="form-check-input" type="checkbox" (change)="saveOptions()"
[(ngModel)]="options.capitalize">
<label for="capitalize" class="form-check-label">{{'capitalize' | i18n}}</label>
</div>
<div class="form-check">
<input id="include-number" class="form-check-input" type="checkbox" (change)="saveOptions()"
[(ngModel)]="options.includeNumber">
<label for="include-number" class="form-check-label">{{'includeNumber' | i18n}}</label>
</div>
</div>
<ng-container *ngIf="options.type === 'password'">
<div class="row">

View File

@ -827,6 +827,13 @@
"wordSeparator": {
"message": "Word Separator"
},
"capitalize": {
"message": "Capitalize",
"description": "Make the first letter of a work uppercase."
},
"includeNumber": {
"message": "Include Number"
},
"passwordHistory": {
"message": "Password History"
},