mirror of
https://github.com/redmine/redmine.git
synced 2025-11-01 19:05:51 +01:00
notice messages translation
git-svn-id: http://redmine.rubyforge.org/svn/trunk@17 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -35,7 +35,7 @@ class IssueStatusesController < ApplicationController
|
||||
def create
|
||||
@issue_status = IssueStatus.new(params[:issue_status])
|
||||
if @issue_status.save
|
||||
flash[:notice] = 'IssueStatus was successfully created.'
|
||||
flash[:notice] = l(:notice_successful_create)
|
||||
redirect_to :action => 'list'
|
||||
else
|
||||
render :action => 'new'
|
||||
@@ -49,7 +49,7 @@ class IssueStatusesController < ApplicationController
|
||||
def update
|
||||
@issue_status = IssueStatus.find(params[:id])
|
||||
if @issue_status.update_attributes(params[:issue_status])
|
||||
flash[:notice] = 'IssueStatus was successfully updated.'
|
||||
flash[:notice] = l(:notice_successful_update)
|
||||
redirect_to :action => 'list'
|
||||
else
|
||||
render :action => 'edit'
|
||||
|
||||
Reference in New Issue
Block a user