summaryrefslogtreecommitdiffstats
path: root/app/helpers/repositories_helper.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-23 07:40:23 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-23 07:40:23 +0000
commit7e77d5ddf9f7024fb37fc859a24f6e359547c40a (patch)
tree122e34dae61c68b24a4a01864093d0893eca891b /app/helpers/repositories_helper.rb
parentfbde32341eea77db3bc31c9dbcb2fdac0c2aaa19 (diff)
downloadredmine-7e77d5ddf9f7024fb37fc859a24f6e359547c40a.tar.gz
redmine-7e77d5ddf9f7024fb37fc859a24f6e359547c40a.zip
scm: cvs: use i18n string at 'CVSROOT' and 'Module' setting.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5535 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/repositories_helper.rb')
-rw-r--r--app/helpers/repositories_helper.rb10
1 files changed, 7 insertions, 3 deletions
diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb
index 10e39c819..f36a54cdd 100644
--- a/app/helpers/repositories_helper.rb
+++ b/app/helpers/repositories_helper.rb
@@ -236,10 +236,14 @@ module RepositoriesHelper
end
def cvs_field_tags(form, repository)
- content_tag('p', form.text_field(:root_url,
- :label => 'CVSROOT', :size => 60, :required => true,
+ content_tag('p', form.text_field(
+ :root_url,
+ :label => l("field_cvsroot"),
+ :size => 60, :required => true,
:disabled => !repository.new_record?)) +
- content_tag('p', form.text_field(:url, :label => 'Module',
+ content_tag('p', form.text_field(
+ :url,
+ :label => l("field_cvs_module"),
:size => 30, :required => true,
:disabled => !repository.new_record?)) +
content_tag('p', form.select(