[Git][noosfero/noosfero][master] fix translation string

Leandro Nunes gitlab at gitlab.com
Fri Aug 28 18:40:41 BRT 2015


Leandro Nunes pushed to branch master at Noosfero / noosfero


Commits:
15eb68fe by Leandro Nunes dos Santos at 2015-08-28T18:40:13Z
fix translation string

- - - - -


1 changed file:

- plugins/oauth_client/controllers/public/oauth_client_plugin_public_controller.rb


Changes:

=====================================
plugins/oauth_client/controllers/public/oauth_client_plugin_public_controller.rb
=====================================
--- a/plugins/oauth_client/controllers/public/oauth_client_plugin_public_controller.rb
+++ b/plugins/oauth_client/controllers/public/oauth_client_plugin_public_controller.rb
@@ -27,7 +27,7 @@ class OauthClientPluginPublicController < PublicController
     if auth.enabled? && provider.enabled?
       self.current_user = person.user
     else
-      session[:notice] = _("Can't login with #{provider.name}")
+      session[:notice] = _("Can't login with %s") % provider.name
     end
 
     redirect_to :controller => :account, :action => :login



View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/15eb68fef856a9b593e2e670f24b71b2d6b7ac62
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150828/88b11d86/attachment.html>


More information about the Noosfero-dev mailing list