summaryrefslogtreecommitdiffstats
path: root/app/helpers/repositories_helper.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-23 04:41:26 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-23 04:41:26 +0000
commit82d5de4b4e3e2dbce699bb80b08ef6349e3eb5cd (patch)
tree98f125ca6477a02fceb4c89bcafe1da4d8721ea5 /app/helpers/repositories_helper.rb
parent8696835b42cd683e8d26b9d3f6442eecbe97a05d (diff)
downloadredmine-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.rb8
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")