Skip to content

Commit

Permalink
Update the very cool contribution by halan to have an english key for…
Browse files Browse the repository at this point in the history
… its i18n.
  • Loading branch information
parndt committed Jul 6, 2010
1 parent a88ea5c commit 3688185
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def activity_message_for(record)
article = t("plugins.#{record.class.name.pluralize.downcase}.article", :default => 'the')

# now create a link to the notification's corresponding record.
link_to t(".last_activity_mensage", :what => record.send(activity.title),
link_to t(".latest_activity_message", :what => record.send(activity.title),

:kind => record.class.human_name,
:action => t("#{action}.with_article \"#{article}\"")).downcase.capitalize,
Expand Down
2 changes: 1 addition & 1 deletion vendor/plugins/dashboard/config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ en:
recent_activity:
latest_activity: Latest activity
see: "See '{{what}}'"
last_activity_mensage: "{{what}} {{kind}} was {{action}}"
latest_activity_message: "{{what}} {{kind}} was {{action}}"
recent_inquiries:
latest_inquiries: Latest inquiries
updated:
Expand Down
4 changes: 2 additions & 2 deletions vendor/plugins/dashboard/config/locales/pt-BR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ pt-BR:
change_language: Mudar Língua
recent_activity:
latest_activity: Atividade Recente
see: Ver '{{what}}'
last_activity_mensage: "{{kind}} {{what}} foi {{action}}"
see: "Ver '{{what}}'"
latest_activity_message: "{{kind}} {{what}} foi {{action}}"
recent_inquiries:
latest_inquiries: Latest inquiries
updated:
Expand Down

0 comments on commit 3688185

Please sign in to comment.