fix i18n issues + localeapp roundtrip

thanks, i18n-tasks!
This commit is contained in:
wvengen 2014-09-15 13:47:21 +02:00
parent 8b83787252
commit 418a8b5806
9 changed files with 390 additions and 143 deletions

View file

@ -24,9 +24,9 @@ module DeliveriesHelper
end
def stock_change_remove_link(stock_change_form)
return link_to t('.remove_article'), "#", :class => 'remove_new_stock_change btn btn-small' if stock_change_form.object.new_record?
return link_to t('deliveries.stock_change_fields.remove_article'), "#", :class => 'remove_new_stock_change btn btn-small' if stock_change_form.object.new_record?
output = stock_change_form.hidden_field :_destroy
output += link_to t('.remove_article'), "#", :class => 'destroy_stock_change btn btn-small'
output += link_to t('deliveries.stock_change_fields.remove_article'), "#", :class => 'destroy_stock_change btn btn-small'
return output.html_safe
end