Commit 0e8012fe989f3c6f61fd51f8bf9047a9ca4e6ec7
Exists in
master
and in
29 other branches
Merge remote-tracking branch 'origin/master'
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
plugins/custom_forms/controllers/custom_forms_plugin_myprofile_controller.rb
| ... | ... | @@ -23,7 +23,7 @@ class CustomFormsPluginMyprofileController < MyProfileController |
| 23 | 23 | |
| 24 | 24 | respond_to do |format| |
| 25 | 25 | if @form.save |
| 26 | - flash[:notice] = _("Custom form #{@form.name} was successfully created.") | |
| 26 | + flash[:notice] = _("Custom form %s was successfully created.") % @form.name | |
| 27 | 27 | format.html { redirect_to(:action=>'index') } |
| 28 | 28 | else |
| 29 | 29 | format.html { render :action => 'new' } |
| ... | ... | @@ -43,7 +43,7 @@ class CustomFormsPluginMyprofileController < MyProfileController |
| 43 | 43 | |
| 44 | 44 | respond_to do |format| |
| 45 | 45 | if @form.save |
| 46 | - flash[:notice] = _("Custom form #{@form.name} was successfully updated.") | |
| 46 | + flash[:notice] = _("Custom form %s was successfully updated.") % @form.name | |
| 47 | 47 | format.html { redirect_to(:action=>'index') } |
| 48 | 48 | else |
| 49 | 49 | session['notice'] = _('Form could not be updated') | ... | ... |