From c11ebee2bbba65cea6a6e37bbc1614aa23988655 Mon Sep 17 00:00:00 2001 From: Leandro Nunes dos Santos Date: Wed, 12 Aug 2015 15:23:47 -0300 Subject: [PATCH] fixing i18n string --- controllers/myprofile/dialoga_plugin_myprofile_controller.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/controllers/myprofile/dialoga_plugin_myprofile_controller.rb b/controllers/myprofile/dialoga_plugin_myprofile_controller.rb index 409f640..43d2230 100644 --- a/controllers/myprofile/dialoga_plugin_myprofile_controller.rb +++ b/controllers/myprofile/dialoga_plugin_myprofile_controller.rb @@ -7,10 +7,9 @@ class DialogaPluginMyprofileController < MyProfileController scripts = ['sent_event_report', 'sent_proposal_report'] scripts.map do |script| cmd = File.join(path,script) + ' ' + current_person.email.to_s -#raise IO.popen(cmd).read.inspect fork {IO.popen(cmd).read} end - session[:notice] = _("The report wil be sent to email #{current_person.email}") + session[:notice] = _("The report wil be sent to email %s") % current_person.email redirect_to :back end -- libgit2 0.21.2