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
This commit is contained in:
Toshi MARUYAMA 2011-05-07 03:42:26 +00:00
parent 530151e1d9
commit 9f8ede65b5
1 changed files with 5 additions and 5 deletions

View File

@ -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)
) +
'<br />' + l("text_scm_path_encoding_note"))
'<br />' + l(:text_scm_path_encoding_note))
end
def bazaar_field_tags(form, repository)