no error on image_graph missing, and correct instructions + translations

This commit is contained in:
Benjamin Sonntag 2007-08-26 20:03:46 +00:00
parent fa64b33d55
commit ad38c2ec0f
2 changed files with 7 additions and 3 deletions

View File

@ -27,9 +27,9 @@
Purpose of file:
----------------------------------------------------------------------
*/
require_once("../class/config.php");
if ((include_once 'Image/Graph.php') === FALSE) {
echo "<p class=\"error\">". _("Image_Graph not installed. pear install Image_Graph-devel to see the graph.")."</p>";
@require_once("../class/config.php");
if ((@include_once 'Image/Graph.php') === FALSE) {
echo "<p class=\"error\">". _("Image_Graph not installed. use 'aptitude install php-pear' then 'pear --alldeps install Image_Graph-devel' to see the graph.")."</p>";
exit(0);
}

View File

@ -2207,3 +2207,7 @@ msgstr "Ancien nom : "
msgid "New Name:"
msgstr "Nouveau nom : "
msgid "Image_Graph not installed. use 'aptitude install php-pear' then 'pear --alldeps install Image_Graph-devel' to see the graph."
msgstr "Image_Graph n'est pas installée. Lancez 'aptitude install php-pear' puis 'pear --alldeps install Image_Graph-devel' pour voir le graphique."