]> source.dussan.org Git - redmine.git/commitdiff
scm: git: use i18n text of repository note in setting.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 23 Apr 2011 09:22:47 +0000 (09:22 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 23 Apr 2011 09:22:47 +0000 (09:22 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5538 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/repositories_helper.rb
config/locales/en.yml

index f36a54cdd15a37fc7bc61efc4bd8f8238597d682..1a824779526f34e4e37af607469689b0fdd28186 100644 (file)
@@ -227,7 +227,7 @@ module RepositoriesHelper
                        :size => 60, :required => true,
                        :disabled => (repository && !repository.root_url.blank?)
                          ) +
-                      '<br />Bare and local repository (e.g. /gitrepo, c:\gitrepo)') +
+                      '<br />' + l("text_git_repository_note")) +
     content_tag('p', form.select(
                         :path_encoding, [nil] + Setting::ENCODINGS,
                         :label => l("field_scm_path_encoding")
index 7ea23ec2feb937c386df0f1c41a2eba9373cb005..69fe30ae6d15641e59a5824dbc0b2aad37521a5a 100644 (file)
@@ -941,6 +941,7 @@ en:
   text_zoom_out: Zoom out
   text_warn_on_leaving_unsaved: "The current page contains unsaved text that will be lost if you leave this page."
   text_scm_path_encoding_note: "Default: UTF-8"
+  text_git_repository_note: "Bare and local repository (e.g. /gitrepo, c:\gitrepo)"
 
   default_role_manager: Manager
   default_role_developer: Developer