scm: filesystem: add note "Default: UTF-8" in path encoding setting (#2274).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4988 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-03-02 07:11:00 +00:00 committed by Eric Davis
parent fb4601221a
commit ce16f4a278
1 changed files with 2 additions and 1 deletions

View File

@ -229,7 +229,8 @@ module RepositoriesHelper
def filesystem_field_tags(form, repository)
content_tag('p', form.text_field(:url, :label => :label_filesystem_path, :size => 60, :required => true, :disabled => (repository && !repository.root_url.blank?))) +
content_tag('p', form.select(:path_encoding, [nil] + Setting::ENCODINGS,
:label => 'Path encoding'))
:label => 'Path encoding') +
'<br />Default: UTF-8')
end
end