From b2dd9466707f284786e7e6ffb279f86969d174dc Mon Sep 17 00:00:00 2001 From: Alain Peyrat Date: Mon, 7 May 2012 19:43:36 +0000 Subject: [PATCH] GIT => Git --- src/plugins/scmgit/common/GitPlugin.class.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/plugins/scmgit/common/GitPlugin.class.php b/src/plugins/scmgit/common/GitPlugin.class.php index 2f311e299d..9ea01cab3b 100644 --- a/src/plugins/scmgit/common/GitPlugin.class.php +++ b/src/plugins/scmgit/common/GitPlugin.class.php @@ -114,19 +114,19 @@ class GitPlugin extends SCMPlugin { $d = $u->getUnixName(); if (forge_get_config('use_ssh', 'scmgit')) { $b = '

'; - $b .= _('Developer GIT Access via SSH'); + $b .= _('Developer Git Access via SSH'); $b .= '

'; $b .= '

'; - $b .= _('Only project developers can access the GIT tree via this method. SSH must be installed on your client machine. Enter your site password when prompted.'); + $b .= _('Only project developers can access the Git tree via this method. SSH must be installed on your client machine. Enter your site password when prompted.'); $b .= '

'; $b .= '

git clone git+ssh://'.$d.'@' . $this->getBoxForProject($project) . '/'. forge_get_config('repos_path', 'scmgit') .'/'. $project->getUnixName() .'/'. $project->getUnixName() .'.git

' ; } elseif (forge_get_config('use_dav', 'scmgit')) { $protocol = forge_get_config('use_ssl', 'scmgit')? 'https' : 'http'; $b = '

'; - $b .= _('Developer GIT Access via HTTP'); + $b .= _('Developer Git Access via HTTP'); $b .= '

'; $b .= '

'; - $b .= _('Only project developers can access the GIT tree via this method. Enter your site password when prompted.'); + $b .= _('Only project developers can access the Git tree via this method. Enter your site password when prompted.'); $b .= '

'; $b .= '

git clone '.$protocol.'://'.$d.'@' . $this->getBoxForProject($project) . '/'. forge_get_config('scm_root', 'scmgit') .'/'. $project->getUnixName() .'/'. $project->getUnixName() .'.git

' ; } else { @@ -135,19 +135,19 @@ class GitPlugin extends SCMPlugin { } else { if (forge_get_config('use_ssh', 'scmgit')) { $b = '

'; - $b .= _('Developer GIT Access via SSH'); + $b .= _('Developer Git Access via SSH'); $b .= '

'; $b .= '

'; - $b .= _('Only project developers can access the GIT tree via this method. SSH must be installed on your client machine. Substitute developername with the proper value. Enter your site password when prompted.'); + $b .= _('Only project developers can access the Git tree via this method. SSH must be installed on your client machine. Substitute developername with the proper value. Enter your site password when prompted.'); $b .= '

'; $b .= '

git clone git+ssh://'._('developername').'@' . $this->getBoxForProject($project) . '/'. forge_get_config('repos_path', 'scmgit') .'/'. $project->getUnixName() .'/'. $project->getUnixName() .'.git

' ; } elseif (forge_get_config('use_dav', 'scmgit')) { $protocol = forge_get_config('use_ssl', 'scmgit')? 'https' : 'http'; $b = '

'; - $b .= _('Developer GIT Access via HTTP'); + $b .= _('Developer Git Access via HTTP'); $b .= '

'; $b .= '

'; - $b .= _('Only project developers can access the GIT tree via this method. Enter your site password when prompted.'); + $b .= _('Only project developers can access the Git tree via this method. Enter your site password when prompted.'); $b .= '

'; $b .= '

git clone '.$protocol.'://'._('developername').'@' . $this->getBoxForProject($project) . '/'. forge_get_config('scm_root', 'scmgit') .'/'. $project->getUnixName() .'/'. $project->getUnixName() .'.git

' ; } -- 2.30.2