Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiling error with translation links #69

Open
seichris opened this issue Feb 2, 2019 · 0 comments
Open

compiling error with translation links #69

seichris opened this issue Feb 2, 2019 · 0 comments
Labels
bug Something isn't working low prio

Comments

@seichris
Copy link
Collaborator

seichris commented Feb 2, 2019

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")}}'}}
@seichris seichris added bug Something isn't working low prio labels Feb 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working low prio
Projects
None yet
Development

No branches or pull requests

1 participant