From bd26c9666d3f8cbd93d33a488bce92def827747d Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 7 May 2011 03:43:17 +0000 Subject: [PATCH] scm: bazaar: change i18n l() parameter in setting from string to symbol. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5679 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/repositories_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb index 43ab493ef..5ca9971e0 100644 --- a/app/helpers/repositories_helper.rb +++ b/app/helpers/repositories_helper.rb @@ -258,12 +258,12 @@ module RepositoriesHelper def bazaar_field_tags(form, repository) content_tag('p', form.text_field( - :url, :label => l("field_path_to_repository"), + :url, :label => l(:field_path_to_repository), :size => 60, :required => true, :disabled => (repository && !repository.new_record?))) + content_tag('p', form.select( :log_encoding, [nil] + Setting::ENCODINGS, - :label => l("field_commit_logs_encoding"), :required => true)) + :label => l(:field_commit_logs_encoding), :required => true)) end def filesystem_field_tags(form, repository) -- 2.39.5