-
Notifications
You must be signed in to change notification settings - Fork 129
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
Support extraction of strings within ternary + filter #131
Comments
Would welcome a pull request! How do priorities work in Angular? Does the above get parsed as
or
? |
Will get back to you about the ordering and will attempt a PR after chaos at work has died down this week :) |
Hey there, a made a PR here angular-translate/grunt-angular-translate#69 |
@firehist that's a different project :-) |
Yes for sure, but referenced here, so I just bring the info :D |
+1, need support for:
|
+1 |
+1 Any chance of this getting fixed? |
We were using quite a few instances of this and found that it wasn't being extracted for translation:
{{ app.showingMore ? 'Show less' : 'Show more' | translate }}
We've had to switch to having two
ngIf
, but you sometimes get a flicker of both strings as state switches (Show lessShow more
):Not sure if this ever worked, but guess it would be a nice thing to support.
(Tried searching for another ticket but couldn't find one. It seems a similar ticket was created here: angular-translate/grunt-angular-translate#48)
The text was updated successfully, but these errors were encountered: