Skip to content

Commit 42bf065

Browse files
authored
added i18n annotation for buttons
1 parent a7ec443 commit 42bf065

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/wizard.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ import { WizardStepComponent } from './wizard-step.component';
1616
<ng-content></ng-content>
1717
</div>
1818
<div class="card-footer" [hidden]="isCompleted">
19-
<button type="button" class="btn btn-secondary float-left" (click)="previous()" [hidden]="!hasPrevStep || !activeStep.showPrev">Previous</button>
20-
<button type="button" class="btn btn-secondary float-right" (click)="next()" [disabled]="!activeStep.isValid" [hidden]="!hasNextStep || !activeStep.showNext">Next</button>
21-
<button type="button" class="btn btn-secondary float-right" (click)="complete()" [disabled]="!activeStep.isValid" [hidden]="hasNextStep">Done</button>
19+
<button type="button" class="btn btn-secondary float-left" (click)="previous()" [hidden]="!hasPrevStep || !activeStep.showPrev" i18n>Previous</button>
20+
<button type="button" class="btn btn-secondary float-right" (click)="next()" [disabled]="!activeStep.isValid" [hidden]="!hasNextStep || !activeStep.showNext" i18n>Next</button>
21+
<button type="button" class="btn btn-secondary float-right" (click)="complete()" [disabled]="!activeStep.isValid" [hidden]="hasNextStep" i18n>Done</button>
2222
</div>
2323
</div>`
2424
,

0 commit comments

Comments
 (0)