diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb index c6cf61389..43ab493ef 100644 --- a/app/helpers/repositories_helper.rb +++ b/app/helpers/repositories_helper.rb @@ -238,22 +238,22 @@ module RepositoriesHelper def cvs_field_tags(form, repository) content_tag('p', form.text_field( :root_url, - :label => l("field_cvsroot"), + :label => l(:field_cvsroot), :size => 60, :required => true, :disabled => !repository.new_record?)) + content_tag('p', form.text_field( :url, - :label => l("field_cvs_module"), + :label => l(:field_cvs_module), :size => 30, :required => true, :disabled => !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)) + content_tag('p', form.select( :path_encoding, [nil] + Setting::ENCODINGS, - :label => l("field_scm_path_encoding") + :label => l(:field_scm_path_encoding) ) + - '
' + l("text_scm_path_encoding_note")) + '
' + l(:text_scm_path_encoding_note)) end def bazaar_field_tags(form, repository)