Dolibarr ERP & CRM » Bugs » bug #1174 Product translated description not good into PDFDernières modifications
Répondre
État Détails |
Submitted by: | HENRY Florian (fhenry) | | Submitted on: | 01/12/2013 22:42 |
Last Modified On: | 01/12/2013 22:48 | |
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é"
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: | |
Etat |
Status: | Open | | Assigned to: | HENRY Florian (fhenry) |
Resolution: | Fixed | |
Commentaires- HENRY Florian 01/12/2013 22:48
- https://github.com/Dolibarr/dolibarr/pull/1335
https://github.com/FHenry/dolibarr/commit/c6991f97d40a3e710900dcb12bd9e06ef7e3f68c |
|
transaltionfor desc in EnglishGeneratetheproposal in English,Translation is not the good one