Commit:    2abc210fc1ac759fa8f804158af0970f41284ded
Author:    Sobak <[email protected]>         Sun, 6 Apr 2014 12:55:47 +0200
Parents:   3198c14092ef7067f9b3b7141695d20bb7cfd5c6
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=2abc210fc1ac759fa8f804158af0970f41284ded

Log:
We have archives for every inactive language currently, don't we?

Changed paths:
  M  manual/help-translate.php


Diff:
diff --git a/manual/help-translate.php b/manual/help-translate.php
index f348971..381418d 100644
--- a/manual/help-translate.php
+++ b/manual/help-translate.php
@@ -25,15 +25,8 @@ The following list of languages already contain SVN modules, 
and will show up on
 <h3>Inactive languages already in SVN</h3>
 <ul>
 <?php
-// $archived are manuals we have old versions of
-$archived = array('da', 'kr');
-
 foreach ($INACTIVE_ONLINE_LANGUAGES as $cc => $lang) {
-    $link = 'no archive';
-    if (in_array($cc, $archived)) {
-        $link = '<a href="http://docs.php.net/manual/'. $cc .'">archive</a>';
-    }
-    echo '<li>', $lang, ' : (', $link, ')</li>';
+    echo '<li>'.$lang.': (<a 
href="http://docs.php.net/manual/'.$cc.'">archive</a>)</li>';
 }
 ?>
 </ul>


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to