diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb
index 5ca9971e0..883abd8e6 100644
--- a/app/helpers/repositories_helper.rb
+++ b/app/helpers/repositories_helper.rb
@@ -268,13 +268,13 @@ module RepositoriesHelper
def filesystem_field_tags(form, repository)
content_tag('p', form.text_field(
- :url, :label => l("field_root_directory"),
+ :url, :label => l(:field_root_directory),
:size => 60, :required => true,
:disabled => (repository && !repository.root_url.blank?))) +
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
end