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

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

View File

@ -209,16 +209,16 @@ module RepositoriesHelper
def mercurial_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_mercurial_repository_note")) +
'<br />' + l(:text_mercurial_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 git_field_tags(form, repository)