Skip to content
Snippets Groups Projects
Commit cd740ace authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Missing translation loading

parent 47d3a77f
Branches
Tags
No related merge requests found
......@@ -22,6 +22,7 @@
<!-- BEGIN PHP TEMPLATE -->
<?php
$langs->load("orders");
if ($somethingshown) { echo '<br>'; }
print_titre($langs->trans('RelatedOrders'));
?>
......
......@@ -22,6 +22,7 @@
<!-- BEGIN PHP TEMPLATE -->
<?php
$langs->load("bills");
if ($somethingshown) { echo '<br>'; }
if ($num > 1) print_titre($langs->trans("RelatedBills"));
else print_titre($langs->trans("RelatedBill"));
......
......@@ -22,8 +22,9 @@
<!-- BEGIN PHP TEMPLATE -->
<?php
$langs->load("contracts");
if ($somethingshown) { echo '<br>'; }
print_titre($langs->trans('RelatedContract'));
print_titre($langs->trans('RelatedContracts'));
?>
<table class="noborder" width="100%">
<tr class="liste_titre">
......
......@@ -1099,9 +1099,9 @@ class CommonObject
$num = sizeof($objectid);
if ($num)
{
// TODO uniformiser emplacement classe
$classpath = $object.'/class';
$tplpath = $object;
// TODO uniformiser emplacement classe
if ($object == 'facture') $tplpath = 'compta/'.$object; $classpath = $tplpath.'/class';
if ($object == 'propal') $tplpath = 'comm/'.$object; $classpath = $tplpath.'/class';
......
......@@ -273,6 +273,8 @@ ConfirmSplitDiscount=Are you sure you want to split this discount of <b>%s</b> %
TypeAmountOfEachNewDiscount=Input amount for each of two parts :
TotalOfTwoDiscountMustEqualsOriginal=Total of two new discount must be equal to original discount amount.
ConfirmRemoveDiscount=Are you sure you want to remove this discount ?
RelatedBill=Related invoice
RelatedBills=Related invoices
# PaymentConditions
PaymentConditionShortRECEP=Immediate
......
......@@ -84,6 +84,7 @@ ConfirmMoveToAnotherContract=I choosed new target contract and confirm I want to
ConfirmMoveToAnotherContractQuestion=Choose in which existing contract (of same third party), you want to move this service to ?
PaymentRenewContractId=Renew contract line (number %s)
ExpiredSince=Expiration date
RelatedContracts=Related contracts
##### Types de contacts #####
TypeContact_contrat_internal_SALESREPSIGN=Sales representative signing contract
TypeContact_contrat_internal_SALESREPFOLL=Sales representative following-up contract
......
......@@ -67,8 +67,6 @@ ValidityDuration=Validity duration
CloseAs=Close with status
ClassifyBilled=Classify billed
BuildBill=Build invoice
RelatedBill=Related invoice
RelatedBills=Related invoices
ErrorPropalNotFound=Propal %s not found
Estimate=Estimate :
EstimateShort=Estimate
......
......@@ -270,6 +270,8 @@ ConfirmSplitDiscount=Êtes-vous sûr de vouloir scinder la réduction de <b>%s</
TypeAmountOfEachNewDiscount=Saisissez le montant de chacune des deux parts :
TotalOfTwoDiscountMustEqualsOriginal=La somme du montant des 2 nouvelles réductions doit être équivalente au montant de la réduction à scinder.
ConfirmRemoveDiscount=Êtes-vous sûr de vouloir supprimer cette réduction ?
RelatedBill=Facture associée
RelatedBills=Factures associées
# PaymentConditions
PaymentConditionShortRECEP=A réception
......
......@@ -84,6 +84,7 @@ ConfirmMoveToAnotherContract=J'ai choisi le contrat cible et confirme le déplac
ConfirmMoveToAnotherContractQuestion=Choisissez vers quel autre contrat de ce même tiers, vous voulez déplacer ce service ?
PaymentRenewContractId=Renouvellement service (numéro %s)
ExpiredSince=Expiration le
RelatedContracts=Contrats associés
##### Types de contacts #####
TypeContact_contrat_internal_SALESREPSIGN=Commercial signataire du contrat
TypeContact_contrat_internal_SALESREPFOLL=Commercial suivi du contrat
......
......@@ -67,8 +67,6 @@ ValidityDuration=Durée de validité
CloseAs=Clôturer au statut
ClassifyBilled=Classer facturée
BuildBill=Créer facture
RelatedBill=Facture associée
RelatedBills=Factures associées
ErrorPropalNotFound=Propale %s inexistante
Estimate=Devis :
EstimateShort=Devis
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment