From 7ad046f53dd0d14dec5e903480c79150b6fece2f Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 23 Apr 2011 04:40:04 +0000 Subject: [PATCH] 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 --- app/helpers/repositories_helper.rb | 2 +- app/models/repository/bazaar.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb index 79533efbe..37385eeeb 100644 --- a/app/helpers/repositories_helper.rb +++ b/app/helpers/repositories_helper.rb @@ -248,7 +248,7 @@ module RepositoriesHelper end 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, :disabled => (repository && !repository.new_record?))) + content_tag('p', form.select( diff --git a/app/models/repository/bazaar.rb b/app/models/repository/bazaar.rb index 481c52033..a4c39b471 100644 --- a/app/models/repository/bazaar.rb +++ b/app/models/repository/bazaar.rb @@ -22,7 +22,7 @@ class Repository::Bazaar < 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