diff options
author | Azamat Hackimov <azamat.hackimov@gmail.com> | 2010-04-03 11:54:24 +0000 |
---|---|---|
committer | Azamat Hackimov <azamat.hackimov@gmail.com> | 2010-04-03 11:54:24 +0000 |
commit | eb80b79c26664d48e910902b58ca9a9b135b09e6 (patch) | |
tree | fc8a181ffa84af2544cc5d73c7aeb625e304b97e /app/controllers/auth_sources_controller.rb | |
parent | f2993f6ed02e81f264359c8b7f45071a59cd0474 (diff) | |
download | redmine-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/auth_sources_controller.rb')
-rw-r--r-- | app/controllers/auth_sources_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/auth_sources_controller.rb b/app/controllers/auth_sources_controller.rb index eaedb5ba3..75a321ffe 100644 --- a/app/controllers/auth_sources_controller.rb +++ b/app/controllers/auth_sources_controller.rb @@ -63,7 +63,7 @@ class AuthSourcesController < ApplicationController @auth_method.test_connection flash[:notice] = l(:notice_successful_connection) rescue => text - flash[:error] = "Unable to connect (#{text})" + flash[:error] = l(:error_unable_to_connect, text.message) end redirect_to :action => 'index' end |