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
Versions of i18n, rails, and anything else you think is necessary
i18n: v1.8.11
Ruby: v3.0.3
The text was updated successfully, but these errors were encountered:
movermeyer
changed the title
[BUG] Symbol resolving interpolates the string twice
[BUG] Symbol resolving interpolates the string multiple times
Jan 10, 2022
What I tried to do
What I expected to happen
"%{qux}"
i.e., the resolved
Symbol
's value is only interpolated once and returned.What actually happened
This is a result of
%{baz}
interpolating to%{qux}
, and then the code trying to interpolate%{qux}
.Note that removing the Symbol resolving works:
Note that interpolation occurs for each layer of Symbol resolving that is done:
e.g.,
Interpolates the string three times.
Versions of i18n, rails, and anything else you think is necessary
The text was updated successfully, but these errors were encountered: