made that latest change translatable

This commit is contained in:
MrZYX 2010-12-03 20:42:02 +01:00
parent b84b6ea9e4
commit 4df13d56e1
2 changed files with 3 additions and 1 deletions

View file

@ -36,7 +36,7 @@ class ServicesController < ApplicationController
def failure
Rails.logger.info "error in oauth #{params.inspect}"
flash[:error] = "there was an error connecting that service"
flash[:error] = t('services.failure.error')
redirect_to services_url
end

View file

@ -373,6 +373,8 @@ en:
success: "Authentication successful."
destroy:
success: "Successfully destroyed authentication."
failure:
error: "there was an error connecting that service"
notifier:
hello: "Hello %{name}!"
love: "love,"