scm: bazaar: change "url" human attribute name from "Root directory" to "Path to repository".

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5526 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-04-23 04:40:04 +00:00
parent 8c853fe66f
commit 7ad046f53d
2 changed files with 2 additions and 2 deletions

View File

@ -248,7 +248,7 @@ module RepositoriesHelper
end end
def bazaar_field_tags(form, repository) def bazaar_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, :size => 60, :required => true,
:disabled => (repository && !repository.new_record?))) + :disabled => (repository && !repository.new_record?))) +
content_tag('p', form.select( content_tag('p', form.select(

View File

@ -22,7 +22,7 @@ class Repository::Bazaar < Repository
validates_presence_of :url, :log_encoding validates_presence_of :url, :log_encoding
ATTRIBUTE_KEY_NAMES = { ATTRIBUTE_KEY_NAMES = {
"url" => "Root directory", "url" => "Path to repository",
} }
def self.human_attribute_name(attribute_key_name) def self.human_attribute_name(attribute_key_name)
ATTRIBUTE_KEY_NAMES[attribute_key_name] || super ATTRIBUTE_KEY_NAMES[attribute_key_name] || super