From e6d796547680579276d3a6d5284f6b8345d9bc5c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 14 Sep 2005 22:46:33 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20Le=20libell=E9=20du=20pays=20est=20tradu?= =?UTF-8?q?it?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/societe.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/htdocs/societe.class.php b/htdocs/societe.class.php index 495842b9465..af81f4e36af 100644 --- a/htdocs/societe.class.php +++ b/htdocs/societe.class.php @@ -21,7 +21,6 @@ * * $Id$ * $Source$ - * */ /** @@ -490,7 +489,7 @@ class Societe { $this->departement_id = $obj->fk_departement; $this->pays_id = $obj->fk_pays; $this->pays_code = $obj->fk_pays?$obj->pays_code:''; - $this->pays = $obj->fk_pays?$obj->pays:''; + $this->pays = $obj->fk_pays?($langs->trans("Country".$obj->pays_code)!="Country".$obj->pays_code?$langs->trans("Country".$obj->pays_code):$obj->pays):''; $transcode=$langs->trans("StatusProspect".$obj->fk_stcomm); $libelle=($transcode!="StatusProspect".$obj->fk_stcomm?$transcode:$obj->stcomm);