From ce16f4a27873fa1c8d12bbe009ad2540fd3fac65 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 2 Mar 2011 07:11:00 +0000 Subject: [PATCH] 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 --- app/helpers/repositories_helper.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb index b820eadd..23899a88 100644 --- a/app/helpers/repositories_helper.rb +++ b/app/helpers/repositories_helper.rb @@ -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') + + '
Default: UTF-8') end end