Commit: 03338117f4428b33f7a19fed6b6ee245f5d29916 Author: Hannes Magnusson <[email protected]> Thu, 10 Oct 2013 18:05:13 -0700 Parents: 78da735f072c12e072a7efa570fdb0d89dff9aed Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=03338117f4428b33f7a19fed6b6ee245f5d29916 Log: Swap the logic, we only have archives of 2 translations these days See also bug #65178 Bugs: https://bugs.php.net/65178 Changed paths: M manual/help-translate.php Diff: diff --git a/manual/help-translate.php b/manual/help-translate.php index 5d7f175..f348971 100644 --- a/manual/help-translate.php +++ b/manual/help-translate.php @@ -25,13 +25,13 @@ The following list of languages already contain SVN modules, and will show up on <h3>Inactive languages already in SVN</h3> <ul> <?php -// $none are manuals we don't even have old versions of -$none = array('ar'); +// $archived are manuals we have old versions of +$archived = array('da', 'kr'); foreach ($INACTIVE_ONLINE_LANGUAGES as $cc => $lang) { - $link = '<a href="http://docs.php.net/manual/'. $cc .'">archive</a>'; - if (in_array($cc, $none)) { - $link = 'no archive'; + $link = 'no archive'; + if (in_array($cc, $archived)) { + $link = '<a href="http://docs.php.net/manual/'. $cc .'">archive</a>'; } echo '<li>', $lang, ' : (', $link, ')</li>'; } -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
