GUAC-1172: Work around angular-translate/angular-translate#788 by using the translate directive (no filter). Current scope is not available to filters as of AngularJS 1.3.

This commit is contained in:
Michael Jumper
2015-07-02 16:12:17 -07:00
parent 076a549754
commit 04a303108d
5 changed files with 20 additions and 10 deletions

View File

@@ -25,7 +25,9 @@
<div class="filename">{{transfer.filename}}</div>
<!-- Progress/status text -->
<div class="text">{{'CLIENT.TEXT_FILE_TRANSFER_PROGRESS' | translate:'{PROGRESS: getProgressValue(), UNIT: getProgressUnit()}'}}</div>
<div class="text"
translate="CLIENT.TEXT_FILE_TRANSFER_PROGRESS"
translate-values="{PROGRESS: getProgressValue(), UNIT: getProgressUnit()}"></div>
<!-- Progress bar -->
<div class="progress"><div ng-style="{'width': getPercentDone() + '%'}" class="bar"></div></div>