summaryrefslogtreecommitdiffstats
path: root/app/controllers/custom_fields_controller.rb
diff options
context:
space:
mode:
authorAzamat Hackimov <azamat.hackimov@gmail.com>2010-04-03 11:54:24 +0000
committerAzamat Hackimov <azamat.hackimov@gmail.com>2010-04-03 11:54:24 +0000
commiteb80b79c26664d48e910902b58ca9a9b135b09e6 (patch)
treefc8a181ffa84af2544cc5d73c7aeb625e304b97e /app/controllers/custom_fields_controller.rb
parentf2993f6ed02e81f264359c8b7f45071a59cd0474 (diff)
downloadredmine-eb80b79c26664d48e910902b58ca9a9b135b09e6.tar.gz
redmine-eb80b79c26664d48e910902b58ca9a9b135b09e6.zip
New strings to localization (#5225)
* error_can_not_delete_custom_field: Unable to delete custom field * error_unable_to_connect: Unable to connect ({{value}}) * error_can_not_remove_role: This role is in use and can not be deleted. * error_can_not_delete_tracker: This tracker contains issues and can't be deleted. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3627 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/custom_fields_controller.rb')
-rw-r--r--app/controllers/custom_fields_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/custom_fields_controller.rb b/app/controllers/custom_fields_controller.rb
index e8e9e4947..51457e74c 100644
--- a/app/controllers/custom_fields_controller.rb
+++ b/app/controllers/custom_fields_controller.rb
@@ -56,7 +56,7 @@ class CustomFieldsController < ApplicationController
@custom_field = CustomField.find(params[:id]).destroy
redirect_to :action => 'index', :tab => @custom_field.class.name
rescue
- flash[:error] = "Unable to delete custom field"
+ flash[:error] = l(:error_can_not_delete_custom_field)
redirect_to :action => 'index'
end
end