dolibarr-bugtrack
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-bugtrack] [Bug #1174] Product translated description not good


From: Doliforge
Subject: [Dolibarr-bugtrack] [Bug #1174] Product translated description not good into PDF
Date: Mon, 20 Jan 2014 01:08:37 +0100

Doliforge
Is this email not displaying correctly?
update email preferences.

Product translated description not good into PDF

Latest modifications

2014-01-20 01:08 (Europe/Paris)
Changes:
  • Status: 
OpenClosed

Answer now

Snapshot

 Details
Submitted by:  HENRY Florian (fhenry) Submitted on:  2013-12-01 22:42
Last Modified On:  2013-12-02 10:14 
Summary:  Product translated description not good into PDF
Description:  Product translated description not good into PDF
Step to reproduce bug:  Activate multilangues feature
Set Product/service Description and note WYSIWYG feature to Yes

Default lang=FR_fr

Create product A
Set Label in french : "Produit A"
Set Description in french : "Super produit avec des éè accentué et
un retour chariot" (<br />)
Set Label in english : "Product A"
Set Translation for desc in English : "Nice product without strange french e accent"

Add the product to a proposal for a customer with Enhlish as defaut langauges

Check the PDF generated, it's in french.

It s due to added string (Orign from Country) and test into core/lib/pdf.lib.php line 926
if (! empty($prodser->multilangs[$outputlangs->defaultlang]["description"]) && $desc == $prodser->description)
$desc == $prodser->description will always be diffrent because Dolibarr add automaticly (Orign from Country)
at the end of the line description
Detected in version:  3.4.1 Category:  Core Problem
Severity:  5 - Major OS Type/Version:  
PHP version:   Database type and version:  
 Status
Status:  Closed Assigned to:  HENRY Florian (fhenry)
Resolution:  Fixed 

Comments

HENRY Florian 2013-12-01 22:48
https://github.com/Dolibarr/dolibarr/pull/1335
https://github.com/FHenry/dolibarr/commit/c6991f97d40a3e710900dcb12bd9e06ef7e3f68c


reply via email to

[Prev in Thread] Current Thread [Next in Thread]