fix i18n typos

This commit is contained in:
wvengen 2013-05-16 00:05:47 +02:00
parent 0c94ef5912
commit 3b7cbf71e0
2 changed files with 2 additions and 2 deletions

View file

@ -143,7 +143,7 @@ module ApplicationHelper
# checks for nil (useful for relations) # checks for nil (useful for relations)
def link_to_user_message_if_valid(user) def link_to_user_message_if_valid(user)
user.nil? ? '??' : link_to(user.nick, new_message_path('message[mail_to]' => user.id), 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 end
def bootstrap_flash def bootstrap_flash

View file

@ -7,7 +7,7 @@
%td= sort_link_helper t('.date'), "date" %td= sort_link_helper t('.date'), "date"
%td= t('.who') %td= t('.who')
%td= sort_link_helper t('.note'), "note" %td= sort_link_helper t('.note'), "note"
%td= sort_link_helper t('amount'), "amount" %td= sort_link_helper t('.amount'), "amount"
%tbody %tbody
- @financial_transactions.each do |t| - @financial_transactions.each do |t|
%tr %tr