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

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5677 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-05-07 03:41:46 +00:00
parent dc8968b03e
commit 530151e1d9
1 changed files with 4 additions and 4 deletions

View File

@ -223,16 +223,16 @@ module RepositoriesHelper
def git_field_tags(form, repository)
content_tag('p', form.text_field(
:url, :label => l("field_path_to_repository"),
:url, :label => l(:field_path_to_repository),
:size => 60, :required => true,
:disabled => (repository && !repository.root_url.blank?)
) +
'<br />' + l("text_git_repository_note")) +
'<br />' + l(:text_git_repository_note)) +
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 cvs_field_tags(form, repository)