1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-12 14:34:02 +00:00

Updating error messages

This commit is contained in:
CarleyDiaz-Bitwarden
2022-06-23 12:42:35 -04:00
parent 638b1ba6de
commit d1fdeea70d
3 changed files with 42 additions and 49 deletions

View File

@@ -1,21 +0,0 @@
{
"compilerOptions": {
"moduleResolution": "node",
"noImplicitAny": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"module": "es6",
"target": "ES2016",
"allowJs": true,
"sourceMap": true,
"baseUrl": ".",
"paths": {
"@bitwarden/common/*": ["../../libs/common/src/*"],
"@bitwarden/angular/*": ["../../libs/angular/src/*"]
}
},
"angularCompilerOptions": {
"preserveWhitespaces": true
},
"include": ["src"]
}

View File

@@ -20,7 +20,7 @@
<div class="row">
<div class="form-group col-6">
<label for="format">{{ "fileFormat" | i18n }}</label>
<label class="tw-text-sm tw-semi-bold" for="format">{{ "fileFormat" | i18n }}</label>
<select class="form-control" name="format" formControlName="format">
<option *ngFor="let f of formatOptions" [value]="f.value">{{ f.name }}</option>
</select>
@@ -30,39 +30,53 @@
<div class="form-group col-6">
<ng-container *ngIf="format === 'encrypted_json'">
<div role="radiogroup" aria-labelledby="fileTypeHeading">
<label id="fileTypeHeading" class="radio-header">
<label id="fileTypeHeading" class="tw-text-sm tw-semi-bold">
{{ "fileTypeHeading" | i18n }}
</label>
<div appBoxRow name="FileTypeOptions">
<input
type="radio"
class="radio"
name="fileEncryptionType"
id="1"
[value]="0"
formControlName="fileEncryptionType"
/>
<label class="unstyled"> {{ "accountBackup" | i18n }} </label>
<div class="small text-muted" style="margin-left: 1.25em">
{{ "accountBackupOptionDescription" | i18n }}
<div appBoxRow name="FileTypeOptions" class="tw-flex tw-items-center">
<div>
<input
type="radio"
class="radio"
name="fileEncryptionType"
id="1"
[value]="0"
formControlName="fileEncryptionType"
/>
</div>
<input
type="radio"
class="radio"
name="fileEncryptionType"
id="2"
[value]="1"
formControlName="fileEncryptionType"
/>
<label class="unstyled">{{ "passwordProtected" | i18n }}</label>
<div class="small text-muted" style="margin-left: 1.25em">
{{ "passwordProtectedOptionDescription" | i18n }}
<div>
<label class="tw-text-xs tw-semi-bold tw-ml-1"> {{ "accountBackup" | i18n }} </label>
</div>
</div>
<br />
<div class="tw-text-xs tw-regular ml-3 pb-2">
{{ "accountBackupOptionDescription" | i18n }}
</div>
<div class="tw-flex tw-items-center">
<div>
<input
type="radio"
class="radio"
name="fileEncryptionType"
id="2"
[value]="1"
formControlName="fileEncryptionType"
/>
</div>
<div>
<label class="tw-text-xs tw-semi-bold tw-ml-1">{{
"passwordProtected" | i18n
}}</label>
</div>
</div>
<div class="tw-text-xs tw-regular ml-3 pb-2">
{{ "passwordProtectedOptionDescription" | i18n }}
</div>
</div>
<br />
<ng-container *ngIf="fileEncryptionType == 1">
<label for="format">{{ "filePassword" | i18n }}</label>

View File

@@ -915,7 +915,7 @@
"message": "Password Protected"
},
"filePasswordAndConfirmFilePasswordDoNotMatch": {
"message": "File Password and Confirm File Password do not match."
"message": "File password and Confirm File Password do not match."
},
"confirmVaultImport": {
"message": "Confirm Vault Import"