diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 934283cb..78a2fc40 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -143,7 +143,7 @@ module ApplicationHelper # checks for nil (useful for relations) def link_to_user_message_if_valid(user) user.nil? ? '??' : link_to(user.nick, new_message_path('message[mail_to]' => user.id), - :title => I18n.t('write_message')) + :title => I18n.t('helpers.application.write_message')) end def bootstrap_flash diff --git a/app/views/finance/financial_transactions/_transactions.html.haml b/app/views/finance/financial_transactions/_transactions.html.haml index 35c4e07f..ecfd1c9e 100644 --- a/app/views/finance/financial_transactions/_transactions.html.haml +++ b/app/views/finance/financial_transactions/_transactions.html.haml @@ -7,7 +7,7 @@ %td= sort_link_helper t('.date'), "date" %td= t('.who') %td= sort_link_helper t('.note'), "note" - %td= sort_link_helper t('amount'), "amount" + %td= sort_link_helper t('.amount'), "amount" %tbody - @financial_transactions.each do |t| %tr