Access model attributes from page titles in translation file
===

I use a page title helper in my app, but I have most titles defined in my translation file:

    section:
      page:
        title: "Title"

However, when I want to access the object, so the title can feature an attribute from the model, I have the title defined in the view using:

    page_title!("Edit: #{@model.attribute}")

This doesn't seem optimal. Is there any magic happening to allow:

    section:
      thing:
        title: "Edit %{thing.attribute}"

If not, is there a way I can achieve this so all my titles are in the one translation file?