您能否建议如何将{{$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然而问题仍然是开放的:它是可能在角度指令中使用双引号? –