scm: bazaar: change i18n l() parameter in setting from string to symbol.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5679 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
9f8ede65b5
commit
bd26c9666d
|
@ -258,12 +258,12 @@ module RepositoriesHelper
|
|||
|
||||
def bazaar_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 filesystem_field_tags(form, repository)
|
||||
|
|
Loading…
Reference in New Issue