您能否建議如何將{{$count}} times per month <span ng-include="'views/partials/month-dates.html'"></span>
指定爲translate-plural
屬性?我可以在角度指令的屬性值中使用雙引號嗎?
E.g.以下表達式會導致解析錯誤:
<translate translate-n="notification.Data[flightType][direction].Days.length" translate-plural="{{$count}} times per month <span ng-include=\"'views/partials/month-dates.html'\"></span>">
N times per month on <span ng-include="'views/partials/month-dates.html'"></span>
</translate>
每月嘗試'translate-plural =「{{$ count}}次
我修復了我的問題,通過ng-include指令中的變量: \t
\t然而問題仍然是開放的:它是可能在角度指令中使用雙引號? –