From 2cb7dc922421430db1ed0f823d294f5b0caa8dee Mon Sep 17 00:00:00 2001 From: ywarnier Date: Tue, 31 Jul 2007 03:14:56 +0000 Subject: [PATCH] =?UTF-8?q?Fix=20sur=20label=20hardcod=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/langs/en_US/stocks.lang | 1 + htdocs/langs/fr_FR/stocks.lang | 45 ++++++++++++++++---------------- htdocs/product/stock/product.php | 2 +- 3 files changed, 25 insertions(+), 23 deletions(-) diff --git a/htdocs/langs/en_US/stocks.lang b/htdocs/langs/en_US/stocks.lang index 7c31bcb7bc2..8a721687f3c 100644 --- a/htdocs/langs/en_US/stocks.lang +++ b/htdocs/langs/en_US/stocks.lang @@ -42,3 +42,4 @@ DeStockReStockOnValidateOrder=Decrease/increase stocks on orders notes DeStockReStockOnShipment=Decrease/increase stocks on shipment StockAvailable=Available stock StockInstant=Real stock +StockLimit=Limit \ No newline at end of file diff --git a/htdocs/langs/fr_FR/stocks.lang b/htdocs/langs/fr_FR/stocks.lang index e912e238a5f..4b8e80de1bd 100644 --- a/htdocs/langs/fr_FR/stocks.lang +++ b/htdocs/langs/fr_FR/stocks.lang @@ -1,23 +1,23 @@ # Dolibarr language file - fr_FR - stocks -WarehouseCard=Fiche entrepôt -Warehouse=Entrepôt -NewWarehouse=Nouvel entrepôt ou zone de stockage -MenuNewWarehouse=Nouvel entrepôt -WarehouseOpened=Entrepôt ouvert -WarehouseClosed=Entrepôt fermé -WarehouseSource=Entrepôt source -WarehouseTarget=Entrepôt cible -ValidateSending=Valider expédition -CancelSending=Annuler expédition -DeleteSending=Supprimer expédition +WarehouseCard=Fiche entrep�t +Warehouse=Entrep�t +NewWarehouse=Nouvel entrep�t ou zone de stockage +MenuNewWarehouse=Nouvel entrep�t +WarehouseOpened=Entrep�t ouvert +WarehouseClosed=Entrep�t ferm� +WarehouseSource=Entrep�t source +WarehouseTarget=Entrep�t cible +ValidateSending=Valider exp�dition +CancelSending=Annuler exp�dition +DeleteSending=Supprimer exp�dition Stock=Stock Stocks=Stocks Movement=Mouvement Movements=Mouvements -ErrorWarehouseRefRequired=Le nom de référence de l'entrepôt est obligatoire -ErrorWarehouseLabelRequired=Le libellé de l'entrepôt est obligatoire +ErrorWarehouseRefRequired=Le nom de r�f�rence de l'entrep�t est obligatoire +ErrorWarehouseLabelRequired=Le libell� de l'entrep�t est obligatoire CorrectStock=Corriger stock -ListOfWarehouses=Liste des entrepôts +ListOfWarehouses=Liste des entrep�ts ListOfStockMovements=Liste des mouvements de stock StocksArea=Espace stocks Location=Lieu @@ -25,20 +25,21 @@ LocationSummary=Nom court du lieu NumberOfProducts=Nombre total de produits LastMovement=Dernier mouvement LastMovements=Derniers mouvements -Units=Unités +Units=Unit�s StockCorrection=Correction stock StockMovement=Transfert StockMovements=Mouvements de stock -NumberOfUnit=Nombre de pièces +NumberOfUnit=Nombre de pi�ces TotalStock=Total en stock StockTooLow=Stock insuffisant EnhancedValue=Valorisation EnhancedValueOfWarehouses=Valorisation des stocks -UserWarehouseAutoCreate=Créer un stock automatiquement à la création d'un utilisateur -QtyDispatched=Quantité ventilée +UserWarehouseAutoCreate=Cr�er un stock automatiquement � la cr�ation d'un utilisateur +QtyDispatched=Quantit� ventil�e OrderDispatch=Ventilation commande -DeStockReStockOnBill=Décrémente/Incrémente les stocks sur les factures/avoirs -DeStockReStockOnValidateOrder=Décrémente/Incrémente les stocks sur les commandes -DeStockReStockOnShipment=Décrémente/Incrémente les stocks sur les expéditions +DeStockReStockOnBill=D�cr�mente/Incr�mente les stocks sur les factures/avoirs +DeStockReStockOnValidateOrder=D�cr�mente/Incr�mente les stocks sur les commandes +DeStockReStockOnShipment=D�cr�mente/Incr�mente les stocks sur les exp�ditions StockAvailable=Stock disponible -StockInstant=Stock actuel \ No newline at end of file +StockInstant=Stock actuel +StockLimit=Seuil \ No newline at end of file diff --git a/htdocs/product/stock/product.php b/htdocs/product/stock/product.php index 9f0991af1c3..fa2243338ac 100644 --- a/htdocs/product/stock/product.php +++ b/htdocs/product/stock/product.php @@ -153,7 +153,7 @@ if ($_GET["id"] || $_GET["ref"]) { if ($product->stock_reel <= $product->seuil_stock_alerte) { - print ''.img_warning().' '.$product->stock_reel.' Seuil : '.$product->seuil_stock_alerte; + print ''.img_warning().' '.$product->stock_reel.' '.$langs->trans("StockLimit").' : '.$product->seuil_stock_alerte; } else {