summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-23 04:40:45 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-23 04:40:45 +0000
commit8696835b42cd683e8d26b9d3f6442eecbe97a05d (patch)
tree33af1915ad9bfad381dd89b3bc77e11afe9fa863 /app
parent7ad046f53dd0d14dec5e903480c79150b6fece2f (diff)
downloadredmine-8696835b42cd683e8d26b9d3f6442eecbe97a05d.tar.gz
redmine-8696835b42cd683e8d26b9d3f6442eecbe97a05d.zip
scm: darcs: change "url" human attribute name from "Root directory" to "Path to repository".
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5527 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/helpers/repositories_helper.rb2
-rw-r--r--app/models/repository/darcs.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb
index 37385eeeb..ee95417a2 100644
--- a/app/helpers/repositories_helper.rb
+++ b/app/helpers/repositories_helper.rb
@@ -198,7 +198,7 @@ module RepositoriesHelper
end
def darcs_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.new_record?))) +
content_tag('p', form.select(
diff --git a/app/models/repository/darcs.rb b/app/models/repository/darcs.rb
index ca38be4da..f6f85e3a3 100644
--- a/app/models/repository/darcs.rb
+++ b/app/models/repository/darcs.rb
@@ -21,7 +21,7 @@ class Repository::Darcs < Repository
validates_presence_of :url, :log_encoding
ATTRIBUTE_KEY_NAMES = {
- "url" => "Root directory",
+ "url" => "Path to repository",
}
def self.human_attribute_name(attribute_key_name)
ATTRIBUTE_KEY_NAMES[attribute_key_name] || super