scm: cvs: change i18n l() parameter in setting from string to symbol.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5678 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
530151e1d9
commit
9f8ede65b5
@ -238,22 +238,22 @@ module RepositoriesHelper
|
|||||||
def cvs_field_tags(form, repository)
|
def cvs_field_tags(form, repository)
|
||||||
content_tag('p', form.text_field(
|
content_tag('p', form.text_field(
|
||||||
:root_url,
|
:root_url,
|
||||||
:label => l("field_cvsroot"),
|
:label => l(:field_cvsroot),
|
||||||
:size => 60, :required => true,
|
:size => 60, :required => true,
|
||||||
:disabled => !repository.new_record?)) +
|
:disabled => !repository.new_record?)) +
|
||||||
content_tag('p', form.text_field(
|
content_tag('p', form.text_field(
|
||||||
:url,
|
:url,
|
||||||
:label => l("field_cvs_module"),
|
:label => l(:field_cvs_module),
|
||||||
:size => 30, :required => true,
|
:size => 30, :required => true,
|
||||||
:disabled => !repository.new_record?)) +
|
:disabled => !repository.new_record?)) +
|
||||||
content_tag('p', form.select(
|
content_tag('p', form.select(
|
||||||
:log_encoding, [nil] + Setting::ENCODINGS,
|
:log_encoding, [nil] + Setting::ENCODINGS,
|
||||||
:label => l("field_commit_logs_encoding"), :required => true)) +
|
:label => l(:field_commit_logs_encoding), :required => true)) +
|
||||||
content_tag('p', form.select(
|
content_tag('p', form.select(
|
||||||
:path_encoding, [nil] + Setting::ENCODINGS,
|
: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
|
||||||
|
|
||||||
def bazaar_field_tags(form, repository)
|
def bazaar_field_tags(form, repository)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user