gregbell/active_admin — pull request #704 by emersonvinicius (2011-10-30 22:22:21+00:00)
Title: Translate the row name in row method

I believe you don't have this problems in English web site, but when develop for other language is need translate the rows name.

My commit changed the way like row method work.

when you use this ways to created a row:

attributes_table_for post, :id, :title, :body

attributes_table_for post do
rows :id, :title, :body
end

attributes_table_for post do
row :id
row :title
row :body
end

The Active Admin search in I18n this row name, you should build it:

active_admin:
columns:
post:
id: "Identificação"
title: "Titulo"
body: "Descrição"

But, When you use a custom way, like it:

attributes_table_for post do
row("Id"){ post.id }
row("title"){ post.title }
row("body){ post.body }
end

ActiveAdmin work like is today.

What you think about it?