1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-09-27 03:53:00 +02:00

capitalize and include number for pass gen

This commit is contained in:
Kyle Spearrin 2019-07-02 16:51:58 -04:00
parent e063c8b09d
commit 39178de444
3 changed files with 18 additions and 1 deletions

2
jslib

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

View File

@ -45,6 +45,16 @@
<input id="word-separator" type="text" maxlength="1" (input)="saveOptions()" <input id="word-separator" type="text" maxlength="1" (input)="saveOptions()"
[(ngModel)]="options.wordSeparator"> [(ngModel)]="options.wordSeparator">
</div> </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>
</div> </div>
<ng-container *ngIf="options.type === 'password'"> <ng-container *ngIf="options.type === 'password'">

View File

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