A calendar management project, for events and activities related to communities fighting for freedoms.
This can be related to software, art, data, hardware, content, commons, internet.
https://www.agendadulibre.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

29 lines
441 B

ActiveAdmin.register I18n::Backend::ActiveRecord::Translation do
permit_params :locale, :key, :value
index do
column :locale
column :key
actions
end
show do |t|
h3 t.locale + ' - ' + t.key
section do
simple_format t.value
end
end
form do |f|
f.inputs do
f.input :locale
f.input :key
f.input :value
f.actions
end
end
after_update do
I18n.reload!
end
end