Changed code to support basic i18n.

Added RubyMine configuration and rvm setup to .gitignore.
This commit is contained in:
Marcus Ilgner 2010-10-31 21:27:13 +08:00 committed by Reinier Balt
parent 04faa5d408
commit fd3f69d927
99 changed files with 1157 additions and 601 deletions

View file

@ -1,7 +1,7 @@
if @saved
page["user-#{@deleted_user.id}"].remove
page['user_count'].replace_html @total_users.to_s
page.notify :notice, "User #{@deleted_user.login} was successfully destroyed", 2.0
page.notify :notice, t('users.destroy_successful', :login => @deleted_user.login), 2.0
else
page.notify :error, "There was an error deleting the user #{@deleted_user.login}", 8.0
page.notify :error, t('users.destroy_error', :login => @deleted_user.login), 8.0
end