You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because the RegEx for matching these calls looks for a closing parenthesis immediately after the first parameter in the function call. But when using variable replacement feature you include a second parameter.
I suggest changing the final character in the RegExs to look for either a closing parenthesis or a comma.
I have the following call to
$translate
in my app that isn't picked up by grunt-angular-translate:This is because the RegEx for matching these calls looks for a closing parenthesis immediately after the first parameter in the function call. But when using variable replacement feature you include a second parameter.
I suggest changing the final character in the RegExs to look for either a closing parenthesis or a comma.
From:
To:
This would apply to all of the
$translate
patterns. If I have time later I will work up a pull request for this fix.The text was updated successfully, but these errors were encountered: