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

qa fixes for send date fallbacks

This commit is contained in:
addison 2021-03-09 10:03:44 -05:00
parent bb6112bd39
commit 8479e9af00
2 changed files with 34 additions and 1 deletions

View File

@ -1651,5 +1651,32 @@
}, },
"sendFileCalloutHeader": { "sendFileCalloutHeader": {
"message": "Before you start" "message": "Before you start"
},
"sendFirefoxCustomDatePopoutMessage1": {
"message": "To use a calendar style date picker",
"description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read '**To use a calendar style date picker ** click here to pop out your window.'"
},
"sendFirefoxCustomDatePopoutMessage2": {
"message": "click here",
"description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read 'To use a calendar style date picker **click here** to pop out your window.'"
},
"sendFirefoxCustomDatePopoutMessage3": {
"message": "to pop out your window.",
"description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read 'To use a calendar style date picker click here **to pop out your window.**'"
},
"expirationDateIsInvalid": {
"message": "The expiration date provided is not valid."
},
"deletionDateIsInvalid": {
"message": "The deletion date provided is not valid."
},
"expirationDateAndTimeRequired": {
"message": "An expiration date and time are required."
},
"deletionDateAndTimeRequired": {
"message": "A deletion date and time are required."
},
"dateParsingError": {
"message": "There was an error saving your deletion and expiration dates."
} }
} }

View File

@ -154,6 +154,9 @@
</div> </div>
<div class="box-footer"> <div class="box-footer">
{{'deletionDateDesc' | i18n}} {{'deletionDateDesc' | i18n}}
<ng-container *ngIf="isFirefox && (this.editMode || (deletionDateSelect === 0 && !editMode))">
<br>{{'sendFirefoxCustomDatePopoutMessage1' | i18n}} <a (click)="popOutWindow()">{{'sendFirefoxCustomDatePopoutMessage2' | i18n}}</a> {{'sendFirefoxCustomDatePopoutMessage3' | i18n}}
</ng-container>
</div> </div>
</div> </div>
<!-- Expiration Date --> <!-- Expiration Date -->
@ -168,7 +171,7 @@
<div class="flex flex-grow" *ngIf="!isDateTimeLocalSupported"> <div class="flex flex-grow" *ngIf="!isDateTimeLocalSupported">
<input id="expirationDateCustomFallback" type="date" <input id="expirationDateCustomFallback" type="date"
name="ExpirationDateFallback" [(ngModel)]="expirationDateFallback" [required]="!editMode" name="ExpirationDateFallback" [(ngModel)]="expirationDateFallback" [required]="!editMode"
placeholder="MM/DD/YYYY" [readOnly]="disableSend"> placeholder="MM/DD/YYYY" [readOnly]="disableSend" (change)="expirationDateFallbackChanged()">
<input *ngIf="!isSafari" id="expirationTimeCustomFallback" type="time" <input *ngIf="!isSafari" id="expirationTimeCustomFallback" type="time"
name="ExpirationTimeFallback" [(ngModel)]="expirationTimeFallback" [required]="!editMode" name="ExpirationTimeFallback" [(ngModel)]="expirationTimeFallback" [required]="!editMode"
placeholder="HH:MM AM/PM" [readOnly]="disableSend"> placeholder="HH:MM AM/PM" [readOnly]="disableSend">
@ -200,6 +203,9 @@
</div> </div>
<div class="box-footer"> <div class="box-footer">
{{'expirationDateDesc' | i18n}} {{'expirationDateDesc' | i18n}}
<ng-container *ngIf="isFirefox && (this.editMode || (deletionDateSelect === 0 && !editMode))">
<br>{{'sendFirefoxCustomDatePopoutMessage1' | i18n}} <a (click)="popOutWindow()">{{'sendFirefoxCustomDatePopoutMessage2' | i18n}}</a> {{'sendFirefoxCustomDatePopoutMessage3' | i18n}}
</ng-container>
</div> </div>
</div> </div>
<!-- Maximum Access Count --> <!-- Maximum Access Count -->