also, imho this is way to verbose, why not:

```ruby
action = action_name.pluralize.sub(/es$/,"ed").sub(/ys$/, "yed")
hash[:success_msg = _("Successfully #{action} %s.") % action, hash[:object_name]
```