diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-05-07 03:40:34 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-05-07 03:40:34 +0000 |
commit | ed296ec9c6bf4860c3883c8ef1e6765800c1b301 (patch) | |
tree | 6577f7264a7a79e2d2ef3ba2707f47cd7c4a233c /app/helpers/repositories_helper.rb | |
parent | f69572b956f0468406c728d52d81c6271c31a9bd (diff) | |
download | redmine-ed296ec9c6bf4860c3883c8ef1e6765800c1b301.tar.gz redmine-ed296ec9c6bf4860c3883c8ef1e6765800c1b301.zip |
scm: darcs: change i18n l() parameter in setting from string to symbol.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5675 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/repositories_helper.rb')
-rw-r--r-- | app/helpers/repositories_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb index fd32e6e3b..f8e682099 100644 --- a/app/helpers/repositories_helper.rb +++ b/app/helpers/repositories_helper.rb @@ -199,12 +199,12 @@ module RepositoriesHelper def darcs_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 mercurial_field_tags(form, repository) |