scm: filesystem: change i18n l() parameter in setting from string to symbol.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5680 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-05-07 03:43:58 +00:00
parent bd26c9666d
commit 5da0151bfb
1 changed files with 3 additions and 3 deletions

View File

@ -268,13 +268,13 @@ module RepositoriesHelper
def filesystem_field_tags(form, repository)
content_tag('p', form.text_field(
:url, :label => l("field_root_directory"),
:url, :label => l(:field_root_directory),
:size => 60, :required => true,
:disabled => (repository && !repository.root_url.blank?))) +
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
end