diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-05-07 03:43:58 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-05-07 03:43:58 +0000 |
commit | 5da0151bfb1bb98612e698e03d7f21e4e04c103c (patch) | |
tree | f3384f7acd54769de707d095166212674fe27d98 | |
parent | bd26c9666d3f8cbd93d33a488bce92def827747d (diff) | |
download | redmine-5da0151bfb1bb98612e698e03d7f21e4e04c103c.tar.gz redmine-5da0151bfb1bb98612e698e03d7f21e4e04c103c.zip |
scm: filesystem: change i18n l() parameter in setting from string to symbol.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5680 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/helpers/repositories_helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
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) ) + - '<br />' + l("text_scm_path_encoding_note")) + '<br />' + l(:text_scm_path_encoding_note)) end end |