diff --git a/plugins/custom_forms/controllers/custom_forms_plugin_myprofile_controller.rb b/plugins/custom_forms/controllers/custom_forms_plugin_myprofile_controller.rb index eec5bc9..6e684f0 100644 --- a/plugins/custom_forms/controllers/custom_forms_plugin_myprofile_controller.rb +++ b/plugins/custom_forms/controllers/custom_forms_plugin_myprofile_controller.rb @@ -23,7 +23,7 @@ class CustomFormsPluginMyprofileController < MyProfileController respond_to do |format| if @form.save - flash[:notice] = _("Custom form #{@form.name} was successfully created.") + flash[:notice] = _("Custom form %s was successfully created.") % @form.name format.html { redirect_to(:action=>'index') } else format.html { render :action => 'new' } @@ -43,7 +43,7 @@ class CustomFormsPluginMyprofileController < MyProfileController respond_to do |format| if @form.save - flash[:notice] = _("Custom form #{@form.name} was successfully updated.") + flash[:notice] = _("Custom form %s was successfully updated.") % @form.name format.html { redirect_to(:action=>'index') } else session['notice'] = _('Form could not be updated') -- libgit2 0.21.2