Variable embedded on a string

hi, i have a problem with inserting a variable embedded on a string.

The string is formed by two “%” at start and end wich i don’t know this
usage (is a part of view_helper.rb of the plugin will_paginate):

%{ view %d -  %d of %d
totals} %

i want to modify in:

%{ #{I18n.t(’.mytranslation’)} %d -  %d
#{I18n.t(’.mytranslation’)} %d
#{I18n.t(’.mytranslation’)} } %

but don’ t work.
waht is the correct syntax for this string?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs