]> source.dussan.org Git - redmine.git/commitdiff
improve git repository note at project setting (#9129).
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 26 Aug 2011 05:11:01 +0000 (05:11 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 26 Aug 2011 05:11:01 +0000 (05:11 +0000)
Contributed by Tomas Pospisek.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6638 e93f8b46-1217-0410-a6f0-8f06a7374b81

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

index 6a1a4cc532e2b6cda5e3c8e2be2bd41658fad385..533a776301ac56f94bf220da7ed66ca0d4c8c35c 100644 (file)
@@ -228,7 +228,7 @@ module RepositoriesHelper
                        :disabled => (repository && !repository.root_url.blank?)
                          ) +
                       '<br />' + 
-                      'Repository is bare and local (e.g. /gitrepo, c:\gitrepo)') +
+                      l(:text_git_repository_note)) +
     content_tag('p', form.select(
                         :path_encoding, [nil] + Setting::ENCODINGS,
                         :label => l(:field_scm_path_encoding)
index 55b74a38e49d629aafee24ca085b5dbeca571d9e..e1bfce95e1ae10398453cde2ba3b4faa1a9537b8 100644 (file)
@@ -945,6 +945,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: "Repository is bare and local (e.g. /gitrepo, c:\gitrepo)"
   text_mercurial_repository_note: "Local repository (e.g. /hgrepo, c:\hgrepo)"
   text_scm_command: Command
   text_scm_command_version: Version