summaryrefslogtreecommitdiffstats
path: root/app/helpers/repositories_helper.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-05-07 03:43:17 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-05-07 03:43:17 +0000
commitbd26c9666d3f8cbd93d33a488bce92def827747d (patch)
treebb951bd2cbf3ca34607d2998daba1673a5583e38 /app/helpers/repositories_helper.rb
parent9f8ede65b5b515897c4fea9d9660fce2a4cd4afa (diff)
downloadredmine-bd26c9666d3f8cbd93d33a488bce92def827747d.tar.gz
redmine-bd26c9666d3f8cbd93d33a488bce92def827747d.zip
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
Diffstat (limited to 'app/helpers/repositories_helper.rb')
-rw-r--r--app/helpers/repositories_helper.rb4
1 files 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)