Skip to content

Commit

Permalink
fix(progressbar): add missing i18n id specifier
Browse files Browse the repository at this point in the history
The id was picked up as description by the angular cli, which resulted in a random id.

Closes #2493
  • Loading branch information
Mark Peter Fejes authored and pkozlowski-opensource committed Jul 27, 2018
1 parent 9a58fac commit becb208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/progressbar/progressbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {NgbProgressbarConfig} from './progressbar-config';
<div class="progress-bar{{type ? ' bg-' + type : ''}}{{animated ? ' progress-bar-animated' : ''}}{{striped ?
' progress-bar-striped' : ''}}" role="progressbar" [style.width.%]="getPercentValue()"
[attr.aria-valuenow]="getValue()" aria-valuemin="0" [attr.aria-valuemax]="max">
<span *ngIf="showValue" i18n="ngb.progressbar.value">{{getPercentValue()}}%</span><ng-content></ng-content>
<span *ngIf="showValue" i18n="@@ngb.progressbar.value">{{getPercentValue()}}%</span><ng-content></ng-content>
</div>
</div>
`
Expand Down

0 comments on commit becb208

Please sign in to comment.