gforge-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gforge-commits] gforge-plugin-scmcvs/include CVSPlugin.class, 1.4, 1.5


From: cbayle
Subject: [Gforge-commits] gforge-plugin-scmcvs/include CVSPlugin.class, 1.4, 1.5
Date: Thu, 22 Jul 2004 04:17:52 -0500

Update of /cvsroot/gforge/gforge-plugin-scmcvs/include
In directory db.perdue.net:/tmp/cvs-serv18553/include

Modified Files:
        CVSPlugin.class 
Log Message:
Some i18n from Kikov


Index: CVSPlugin.class
===================================================================
RCS file: /cvsroot/gforge/gforge-plugin-scmcvs/include/CVSPlugin.class,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- CVSPlugin.class     21 Jul 2004 22:00:27 -0000      1.4
+++ CVSPlugin.class     22 Jul 2004 09:17:50 -0000      1.5
@@ -58,12 +58,9 @@
                
                if ($project->usesPlugin ("scmcvs")) {
                        
-                print '<h2>CVS</h2>
-                               <p>Documentation for CVS is available <a 
href="http://cvsbook.red-bean.com/";>here</a>.
-                                </p>' ;
-
+               print $Language->getText('plugin_scmcvs','documentation');
 
-                       if($this->cvs_single_host) {
+               if($this->cvs_single_host) {
                                
$cvsrootend=$this->default_cvs_host.':/cvsroot/'.$project->getUnixName();
                        } else {
                                
$cvsrootend='cvs.'.$project->getUnixName().'.'.$this->default_cvs_host.':/cvsroot/'.$project->getUnixName();
@@ -78,19 +75,17 @@
 // ######################## anonymous CVS instructions
 
         if ($this->UsesAnonCVS ($group_id)) {
-                // echo $Language->getText('scm_index', 'anoncvs');
-                print "<b>Anonymous CVS Access</b>
-                               <p>
+               echo $Language->getText('plugin_scmcvs', 'anoncvs');
+               print " <p>
                                <tt>cvs -d :pserver:anonymous@" . 
$this->GetGroupServer($group_id) . ":/cvsroot/".$project->getUnixName()." 
login</tt><br>
                                <tt>cvs -d :pserver:anonymous@" . 
$this->GetGroupServer($group_id) . ":/cvsroot/".$project->getUnixName()." 
checkout <em>modulename</em></tt>
-                                </p>" ;
+                        </p>" ;
         }
 
 // ############################ developer access
                        
-        // echo $Language->getText('scm_index', 'devcvs');
-                print "<b>Developer CVS Access via SSH</b>
-                               <p>
+       echo $Language->getText('plugin_scmcvs', 'devcvs');
+               print "<p>
                                 <tt>export CVS_RSH=ssh</tt><br>
                                <tt>cvs -d :ext:<em>username</em>@" . 
$this->GetGroupServer($group_id) . ":/cvsroot/".$project->getUnixName()." 
checkout <em>modulename</em></tt>
                                 </p>" ;
@@ -106,19 +101,18 @@
 
 $anonymous = 1 ;
 if (session_loggedin()) {
-   $perm =& $project->getPermission(session_get_user());
-   $anonymous = !$perm->isMember();
+       $perm =& $project->getPermission(session_get_user());
+       $anonymous = !$perm->isMember();
 }
  
 if ($this->UsesAnonCVS ($group_id)) {
-       echo $HTML->boxTop($Language->getText('scm_index', 'history'));
+       echo $HTML->boxTop($Language->getText('plugin_scmcvs', 'history'));
 
-       // echo $Language->getText('scm_index', 'browsetree');
-       echo "<b>Browse the CVS Tree</b><p>Browsing the CVS tree gives you a 
great view into the current status of this project's code. You may also view 
the complete histories of any file in the repository.</p>" ;
+       echo $Language->getText('plugin_scmcvs', 'browsetree');
 
        echo "<p><a href=\"http://"; . $this->GetGroupServer($group_id) . 
"/plugins/scmcvs/cgi-bin/cvsweb.cgi/".$project->getUnixName()."\">Browse</a> 
CVS tree</p>" ;
 
-       echo $HTML->boxBottom();
+       echo $HTML->boxBottom();
 }
 
 ?>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]