Commit 15eb68fef856a9b593e2e670f24b71b2d6b7ac62
1 parent
aae52175
Exists in
master
and in
29 other branches
fix translation string
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
plugins/oauth_client/controllers/public/oauth_client_plugin_public_controller.rb
@@ -27,7 +27,7 @@ class OauthClientPluginPublicController < PublicController | @@ -27,7 +27,7 @@ class OauthClientPluginPublicController < PublicController | ||
27 | if auth.enabled? && provider.enabled? | 27 | if auth.enabled? && provider.enabled? |
28 | self.current_user = person.user | 28 | self.current_user = person.user |
29 | else | 29 | else |
30 | - session[:notice] = _("Can't login with #{provider.name}") | 30 | + session[:notice] = _("Can't login with %s") % provider.name |
31 | end | 31 | end |
32 | 32 | ||
33 | redirect_to :controller => :account, :action => :login | 33 | redirect_to :controller => :account, :action => :login |