The same TODO exists for the targets_many_actions/new_button_many.html.erb template, but I started with this one because I wanted to hear your opinion on how we should localize strings that need a variable.
As you can see in this PR, I've simply added ({num}) on the end of the second translation instead of using string interpolation. I don't think we'll be able to interpolate it with vanilla Rails, but it's most likely possible with rails-i18n.
I know we've used this in the past, so if this is a viable option I'd be glad to implement it. If not, I can adjust the other templates like I have in this PR.
Addresses the TODO in app/views/account/scaffolding/completely_concrete/tangible_things/performs_export_actions/_new_button_many.html.erb
Details
The same TODO exists for the
targets_many_actions/new_button_many.html.erb
template, but I started with this one because I wanted to hear your opinion on how we should localize strings that need a variable.As you can see in this PR, I've simply added
({num})
on the end of the second translation instead of using string interpolation. I don't think we'll be able to interpolate it with vanilla Rails, but it's most likely possible with rails-i18n.I know we've used this in the past, so if this is a viable option I'd be glad to implement it. If not, I can adjust the other templates like I have in this PR.