[Xfce-i18n] More stuff about the error on Credits page

scootergrisen scootergrisen at gmail.com
Sat Dec 10 03:27:40 CET 2016


Found this in www.xfce.org/lib/translators.php:
     'Gatis Kalniņš <> <Gatis Kalniņš' => '>',

Suggest correction to:
     'Gatis Kalniņš' => '',

An empty value still gives "<>" on the webpage so i suggest changing in 
file www.xfce.org/pages/about/credits.php:

     foreach ($people as $person => $mail)
     {
       echo $person.' <'.mungify_mail($mail).'>';

       if ($mail != $last)
         echo "<br />\n";
     }

To:

     foreach ($people as $person => $mail)
     {
       echo $person;

       if (!empty($mail))
         echo ' <'.mungify_mail($mail).'>';

       if ($mail != $last)
         echo "<br />\n";
     }

Maybe functions print_credits and print_translator_credits should go 
into one function instead of two as they seem to do almost the same.


More information about the Xfce-i18n mailing list