Dolibarr ERP & CRM » Bugs » bug #1902 proforma & proformaTDernières modifications
Répondre
État Détails |
Submitted by: | Ruben Almeida (aruben) | | Submitted on: | 10/03/2015 15:14 |
Last Modified On: | 12/03/2015 12:26 | |
Summary: | proforma & proformaT |
Description: | Il y a une erreur de label de traduction dans les fichiers : certains ont "proforma" et d'autres "proformaT" (avec un 't').
Affecte "pdf_crabe.modules.php" depuis v2.9.0 (donc présent dans 3.6.3, 3.7 et 3.8). |
Step to reproduce bug: | Fichiers :
*bills.lang, fiche.php, card.php (v3.7 et + [renommage de fiche.php]), pdf_proforma.modules.php : InvoiceProForma
*pdf_crabe.modules.php : InvoiceProFormat
*La constante cachée : FACTURE_USE_PROFORMAT (avec un T) (cette constante n'est plus utilisée, voir forum http://www.dolibarr.fr/forum/15-retours-dexperiences-utilisateursintegrateurs/19246-facture-proforma )
Cette erreur est présente dans les fichiers bills.lang depuis la 2.9.0 :
de 2.6.0 à 2.8.1 : avec le 't'
depuis 2.9.0 : sans le 't'
(exceptions : it_IT qui a conservé les 2 formes de 2.9.0 à 3.4.2 ; et tr_TR qui a conservé les 2 formes de 3.1.0 à 3.3.5 ; et certaines langues qui mettent en commentaires les 3 lignes (ex: uz_UZ en v3.5.6)).
Solution:
- corriger le fichier "pdf_crabe.modules.php" pour enlever le 't'
- homogénéiser tous les fichiers "bills.lang" pour traiter les 3 traductions (InvoiceProForma, InvoiceProFormaAsk, InvoiceProFormaDesc) (généralement vers les lignes 20). |
Detected in version: | 3.6.2 | | Category: | Module: Accounting |
Severity: | 1 - Minor | | OS Type/Version: | |
PHP version: | | | Database type and version: | |
Etat |
Status: | Open | | Assigned to: | Aucun |
Resolution: | Aucun | |
Commentaires- Ruben Almeida 13/03/2015 00:22
- [in english]
Description:
There is a translation error in label files: some files have "proforma" and others "proformaT" (without/with a 't').
This error affects "pdf_crabe.modules.php" since v2.9.0 (and also in 3.6.3, 3.7 and 3.8).
Step to reproduce bug:
Files:
* bills.lang, fiche.php, card.php (since v3.7 and after [renaming of fiche.php]), pdf_proforma.modules.php: InvoiceProForma (without the T)
* pdf_crabe.modules.php: InvoiceProFormat (with the T)
* The hidden constant: FACTURE_USE_PROFORMAT (with a T) (this constant is no longer used, see http://www.dolibarr.fr/forum/15-retours-dexperiences-utilisateursintegrateurs/19246-facture-proforma )
This error is present in 'bills.lang' files since v2.9.0:
*v2.6.0 to v2.8.1: with the 't'
*since v2.9.0: without the 't'
(exceptions: it_IT had kept the two forms (with/without T) from v2.9.0 to v3.4.2, and tr_TR had kept the 2 forms from v3.1.0 to v3.3.5, and some languages that comments the 3 lines (eg uz_UZ in v3.5.6)).
solution:
- Fix the "pdf_crabe.modules.php" file to remove the 't' (change the word "InvoiceProFormat" to "InvoiceProForma")
- Homogenize all "bills.lang" files to reference the 3 translations (InvoiceProForma, InvoiceProFormaAsk, InvoiceProFormaDesc) (generally around lines 20). - Marcos García 12/03/2015 12:26
- Would you mind reporting bugs in English? Thanks.
|
|
Description:
There is a translation error in label files: some files have "proforma" and others "proformaT" (without/with a 't').
This error affects "pdf_crabe.modules.php" since v2.9.0 (and also in 3.6.3, 3.7 and 3.8).
Step to reproduce bug:
Files:
* bills.lang, fiche.php, card.php (since v3.7 and after [renaming of fiche.php]), pdf_proforma.modules.php: InvoiceProForma (without the T)
* pdf_crabe.modules.php: InvoiceProFormat (with the T)
* The hidden constant: FACTURE_USE_PROFORMAT (with a T) (this constant is no longer used, see http://www.dolibarr.fr/forum/15-retours-dexperiences-utilisateursintegrateurs/19246-facture-proforma )
This error is present in 'bills.lang' files since v2.9.0:
*v2.6.0 to v2.8.1: with the 't'
*since v2.9.0: without the 't'
(exceptions: it_IT had kept the two forms (with/without T) from v2.9.0 to v3.4.2, and tr_TR had kept the 2 forms from v3.1.0 to v3.3.5, and some languages that comments the 3 lines (eg uz_UZ in v3.5.6)).
solution:
- Fix the "pdf_crabe.modules.php" file to remove the 't' (change the word "InvoiceProFormat" to "InvoiceProForma")
- Homogenize all "bills.lang" files to reference the 3 translations (InvoiceProForma, InvoiceProFormaAsk, InvoiceProFormaDesc) (generally around lines 20).