{% trans 'Enter your friend's name and email below, and click "send invite" to invite your friend.' %}
该行已经用单引号包裹,并且在该行中也使用了双引号。那我怎么能逃到friend's
这里呢?
{% trans 'Enter your friend's name and email below, and click "send invite" to invite your friend.' %}
该行已经用单引号包裹,并且在该行中也使用了双引号。那我怎么能逃到friend's
这里呢?
我真的找到了。使用 blocktrans 可以让你有任何东西,混合和匹配。:)
{% blocktrans %}Enter your friend's name and email below, and click "send invite" to invite your friend.{% endblocktrans %}
{% trans 'Enter your friend's name and email below, and click "send invite" to invite your friend.' %}