Update translation keys

This commit is contained in:
Priit Tark 2015-04-30 12:47:11 +03:00
parent d9ca931c97
commit acab58b71c
49 changed files with 240 additions and 240 deletions

View file

@ -13,10 +13,10 @@ class Admin::InvoicesController < AdminController
def cancel
if @invoice.cancel
flash[:notice] = t('record_updated')
flash[:notice] = t(:record_updated)
redirect_to([:admin, @invoice])
else
flash.now[:alert] = t('failed_to_update_record')
flash.now[:alert] = t(:failed_to_update_record)
render :show
end
end