made that latest change translatable
This commit is contained in:
parent
b84b6ea9e4
commit
4df13d56e1
2 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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,"
|
||||
|
|
|
|||
Loading…
Reference in a new issue