Currently working on a React application and I have this piece of code. i18n-ally is complaining that the {icon} part is a hard coded string. But seems like it shouldn't be complaining about it since it's a variable(SVG actually). If I remove {icon} the alert goes away.
HI,
Currently working on a React application and I have this piece of code. i18n-ally is complaining that the
{icon}
part is a hard coded string. But seems like it shouldn't be complaining about it since it's a variable(SVG actually). If I remove{icon}
the alert goes away.Am I doing something wrong or is this a bug?