Commit c11ebee2bbba65cea6a6e37bbc1614aa23988655
1 parent
f2c1a6f9
Exists in
master
fixing i18n string
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
controllers/myprofile/dialoga_plugin_myprofile_controller.rb
| ... | ... | @@ -7,10 +7,9 @@ class DialogaPluginMyprofileController < MyProfileController |
| 7 | 7 | scripts = ['sent_event_report', 'sent_proposal_report'] |
| 8 | 8 | scripts.map do |script| |
| 9 | 9 | cmd = File.join(path,script) + ' ' + current_person.email.to_s |
| 10 | -#raise IO.popen(cmd).read.inspect | |
| 11 | 10 | fork {IO.popen(cmd).read} |
| 12 | 11 | end |
| 13 | - session[:notice] = _("The report wil be sent to email #{current_person.email}") | |
| 12 | + session[:notice] = _("The report wil be sent to email %s") % current_person.email | |
| 14 | 13 | redirect_to :back |
| 15 | 14 | end |
| 16 | 15 | ... | ... |