RadiCards / radi.cards

NFT eCards for greater fun and greater good. All income goes to charities working to promote Internet freedom and environmental rights. ♣️
http://radi.cards
MIT License
23 stars 7 forks source link

compiling error with translation links #69

Open seichris opened 5 years ago

seichris commented 5 years ago

I want In SentCard.vue I want to replace:

<div
        :class="['btn btn--narrow btn--reveal btn--subtle', {'btn--arrow-down': !expanded, 'btn--arrow-up': expanded}]"
      >{{(expanded) ? 'less info' : 'more info'}}</div>
    </div>

for

<div
        :class="['btn btn--narrow btn--reveal btn--subtle', {'btn--arrow-down': !expanded, 'btn--arrow-up': expanded}]"
      >{{(expanded) ? '{{ $t("m.lessInfo")}}' : '{{ $t("m.moreInfo")}}'}}</div>
    </div>

The bug Error compiling:

  - invalid expression: missing ) after argument list in

    _s((expanded) ? '{{ $t("m.lessInfo"))+"' : '"+_s($t("m.moreInfo"))+"'}}"

  Raw expression: {{(expanded) ? '{{ $t("m.lessInfo")}}' : '{{ $t("m.moreInfo")}}'}}