Note the nested usage of translate pipe in the last example.
expressionIsOrHasBindingPipe has been simplified and inlined into getTranslatablesFromAst, the case of 'key' | foo | ... | bar | translate is already correctly handled by another conditional branch of getTranslatablesFromAst and no longer needs special treatment.
Fixes part of #174 which involves pipe arguments (first example)
This changes
PipeParser
to consider arguments to translate pipe and other pipes in the search for translation keys.Examples where key did not get extracted previously:
Note the nested usage of translate pipe in the last example.
expressionIsOrHasBindingPipe
has been simplified and inlined intogetTranslatablesFromAst
, the case of'key' | foo | ... | bar | translate
is already correctly handled by another conditional branch ofgetTranslatablesFromAst
and no longer needs special treatment.Fixes part of #174 which involves pipe arguments (first example)