diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-04-23 04:41:26 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-04-23 04:41:26 +0000 |
commit | 82d5de4b4e3e2dbce699bb80b08ef6349e3eb5cd (patch) | |
tree | 98f125ca6477a02fceb4c89bcafe1da4d8721ea5 /app/helpers/repositories_helper.rb | |
parent | 8696835b42cd683e8d26b9d3f6442eecbe97a05d (diff) | |
download | redmine-82d5de4b4e3e2dbce699bb80b08ef6349e3eb5cd.tar.gz redmine-82d5de4b4e3e2dbce699bb80b08ef6349e3eb5cd.zip |
scm: mercurial: change "url" human attribute name from "Root directory" to "Path to repository".
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5528 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/repositories_helper.rb')
-rw-r--r-- | app/helpers/repositories_helper.rb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb index ee95417a2..1c7d47620 100644 --- a/app/helpers/repositories_helper.rb +++ b/app/helpers/repositories_helper.rb @@ -207,10 +207,12 @@ module RepositoriesHelper end def mercurial_field_tags(form, repository) - content_tag('p', form.text_field(:url, :label => 'Root directory', + content_tag('p', form.text_field( + :url, :label => 'Path to repository', :size => 60, :required => true, - :disabled => (repository && !repository.root_url.blank?)) + - '<br />Local repository (e.g. /hgrepo, c:\hgrepo)' ) + + :disabled => (repository && !repository.root_url.blank?) + ) + + '<br />Local repository (e.g. /hgrepo, c:\hgrepo)' ) + content_tag('p', form.select( :path_encoding, [nil] + Setting::ENCODINGS, :label => l("field_scm_path_encoding") |