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

Incorrect parsing for interpolation in a directive #9

Open
firehist opened this issue Mar 25, 2016 · 0 comments
Open

Incorrect parsing for interpolation in a directive #9

firehist opened this issue Mar 25, 2016 · 0 comments
Labels

Comments

@firehist
Copy link
Contributor

Copy from angular-translate/grunt-angular-translate#72.
cc @stefan2718

There is incorrect parsing in the case of interpolating the translation ID inside a directive. The following line is pulled into the language file like so:

File.jade:

span(translate="{{$ctrl.cardData.comparisonString}}") {{$ctrl.cardData.comparisonString}}

en.json:

"{{$ctrl": {
    "cardData": {
        "comparisonString}}": ""
     }
}
@firehist firehist added the bug label Mar 25, 2016
@firehist firehist changed the title Incorrect parsing for interpolation in a directive #72 Incorrect parsing for interpolation in a directive Mar 25, 2016
ymkins added a commit to ymkins/angular-translate-extract that referenced this issue Nov 17, 2017
…lsation ID

Handle the case of interpolating the translation ID inside a directive

Issue Boulangerie#9
ymkins added a commit to ymkins/angular-translate-extract that referenced this issue Nov 17, 2017
Handle the case of interpolating the translation ID inside a directive

Issue Boulangerie#9
angular-translate/grunt-angular-translate#72
ymkins added a commit to ymkins/angular-translate-extract that referenced this issue Nov 17, 2017
Handle the case of interpolating the translation ID inside a directive

It fixes:
Boulangerie#9
angular-translate/grunt-angular-translate#72
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant