From 9f8ede65b5b515897c4fea9d9660fce2a4cd4afa Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 7 May 2011 03:42:26 +0000 Subject: [PATCH] scm: cvs: change i18n l() parameter in setting from string to symbol. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5678 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/repositories_helper.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb index c6cf61389..43ab493ef 100644 --- a/app/helpers/repositories_helper.rb +++ b/app/helpers/repositories_helper.rb @@ -238,22 +238,22 @@ module RepositoriesHelper def cvs_field_tags(form, repository) content_tag('p', form.text_field( :root_url, - :label => l("field_cvsroot"), + :label => l(:field_cvsroot), :size => 60, :required => true, :disabled => !repository.new_record?)) + content_tag('p', form.text_field( :url, - :label => l("field_cvs_module"), + :label => l(:field_cvs_module), :size => 30, :required => true, :disabled => !repository.new_record?)) + content_tag('p', form.select( :log_encoding, [nil] + Setting::ENCODINGS, - :label => l("field_commit_logs_encoding"), :required => true)) + + :label => l(:field_commit_logs_encoding), :required => true)) + content_tag('p', form.select( :path_encoding, [nil] + Setting::ENCODINGS, - :label => l("field_scm_path_encoding") + :label => l(:field_scm_path_encoding) ) + - '
' + l("text_scm_path_encoding_note")) + '
' + l(:text_scm_path_encoding_note)) end def bazaar_field_tags(form, repository)