move commonly used verbs to common i18n identifier

This commit is contained in:
wvengen 2013-04-04 02:49:52 +02:00
parent 4aa40b387a
commit f1d6df9ecc
60 changed files with 50 additions and 111 deletions

View file

@ -8,4 +8,4 @@
= f.input :ignore_apple_restriction
.form-actions
= f.button :submit
= link_to t('admin.or_cancel'), :back
= link_to t('ui.or_cancel'), :back

View file

@ -17,6 +17,6 @@
%td= link_to_gmaps ordergroup.contact_address
%td= ordergroup.users.size
%td
= link_to t('admin.edit'), edit_admin_ordergroup_path(ordergroup), class: 'btn btn-mini'
= link_to t('admin.delete'), [:admin, ordergroup], :confirm => t('admin.confirm', name: ordergroup.name),
:method => :delete, class: 'btn btn-mini btn-danger'
= link_to t('ui.edit'), edit_admin_ordergroup_path(ordergroup), class: 'btn btn-mini'
= link_to t('ui.delete'), [:admin, ordergroup], :confirm => t('admin.confirm', name: ordergroup.name),
:method => :delete, class: 'btn btn-mini btn-danger'

View file

@ -1,6 +1,6 @@
- title t '.title', name: @ordergroup.name
%section= render 'shared/group', group: @ordergroup
= link_to t('.edit'), edit_admin_ordergroup_path(@ordergroup), class: 'btn'
= link_to t('.delete'), [:admin, @ordergroup], :confirm => t('.confirm'), :method => :delete, class: 'btn btn-danger'
= link_to t('ui.edit'), edit_admin_ordergroup_path(@ordergroup), class: 'btn'
= link_to t('ui.delete'), [:admin, @ordergroup], :confirm => t('.confirm'), :method => :delete, class: 'btn btn-danger'
= link_to t('.send_message'), new_message_path(:message => {:group_id => @ordergroup.id}), class: 'btn'