1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-26 12:25:20 +01:00

capitalize and include number for pass gen

This commit is contained in:
Kyle Spearrin 2019-07-02 16:52:01 -04:00
parent af8274247b
commit 6fee946caf
3 changed files with 16 additions and 1 deletions

2
jslib

@ -1 +1 @@
Subproject commit 2aa71f98a1f623470b3bd71306e0ef8a1ba97758
Subproject commit 74c30198587e1c799dfa16c2eb2771ff12c2eebe

View File

@ -211,6 +211,13 @@
"wordSeparator": {
"message": "Word Separator"
},
"capitalize": {
"message": "Capitalize",
"description": "Make the first letter of a work uppercase."
},
"includeNumber": {
"message": "Include Number"
},
"minNumbers": {
"message": "Minimum Numbers"
},

View File

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