diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-05-07 03:41:05 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-05-07 03:41:05 +0000 |
commit | dc8968b03eef71f00cb3a19272fb29014a02b1c0 (patch) | |
tree | 01af663d9f888ac0508885265c83866e9e75fd15 /app/helpers/repositories_helper.rb | |
parent | ed296ec9c6bf4860c3883c8ef1e6765800c1b301 (diff) | |
download | redmine-dc8968b03eef71f00cb3a19272fb29014a02b1c0.tar.gz redmine-dc8968b03eef71f00cb3a19272fb29014a02b1c0.zip |
scm: mercurial: change i18n l() parameter in setting from string to symbol.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5676 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/repositories_helper.rb')
-rw-r--r-- | app/helpers/repositories_helper.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb index f8e682099..acbbb23d9 100644 --- a/app/helpers/repositories_helper.rb +++ b/app/helpers/repositories_helper.rb @@ -209,16 +209,16 @@ module RepositoriesHelper def mercurial_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.root_url.blank?) ) + - '<br />' + l("text_mercurial_repository_note")) + + '<br />' + l(:text_mercurial_repository_note)) + content_tag('p', form.select( :path_encoding, [nil] + Setting::ENCODINGS, - :label => l("field_scm_path_encoding") + :label => l(:field_scm_path_encoding) ) + - '<br />' + l("text_scm_path_encoding_note")) + '<br />' + l(:text_scm_path_encoding_note)) end def git_field_tags(form, repository) |