From 3b7cbf71e0d3f96af3d4d4db4ac4add6f1d6f399 Mon Sep 17 00:00:00 2001 From: wvengen Date: Thu, 16 May 2013 00:05:47 +0200 Subject: [PATCH] fix i18n typos --- app/helpers/application_helper.rb | 2 +- .../finance/financial_transactions/_transactions.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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