Skip to content
Extraits de code Groupes Projets
Valider 4df13d56 rédigé par MrZYX's avatar MrZYX
Parcourir les fichiers

made that latest change translatable

parent b84b6ea9
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -36,7 +36,7 @@ class ServicesController < ApplicationController ...@@ -36,7 +36,7 @@ class ServicesController < ApplicationController
def failure def failure
Rails.logger.info "error in oauth #{params.inspect}" 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 redirect_to services_url
end end
......
...@@ -373,6 +373,8 @@ en: ...@@ -373,6 +373,8 @@ en:
success: "Authentication successful." success: "Authentication successful."
destroy: destroy:
success: "Successfully destroyed authentication." success: "Successfully destroyed authentication."
failure:
error: "there was an error connecting that service"
notifier: notifier:
hello: "Hello %{name}!" hello: "Hello %{name}!"
love: "love," love: "love,"
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter