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

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

View File

@ -199,12 +199,12 @@ module RepositoriesHelper
def darcs_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.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))
end
def mercurial_field_tags(form, repository)