1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 15:23:33 +00: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

Submodule jslib updated: 2aa71f98a1...74c3019858

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"
}, },