diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb index f8e682099..acbbb23d9 100644 --- a/app/helpers/repositories_helper.rb +++ b/app/helpers/repositories_helper.rb @@ -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?) ) + - '
' + l("text_mercurial_repository_note")) + + '
' + 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) ) + - '
' + l("text_scm_path_encoding_note")) + '
' + l(:text_scm_path_encoding_note)) end def git_field_tags(form, repository)