Removed useless translation keys
This commit is contained in:
parent
99f445962b
commit
731864eb4a
@ -346,7 +346,7 @@ if ($result)
|
|||||||
$paymenttmp->fetch($links[$key]['url_id']);
|
$paymenttmp->fetch($links[$key]['url_id']);
|
||||||
$paymenttmp->ref = $langs->trans("Payment").' '.$paymenttmp->ref;
|
$paymenttmp->ref = $langs->trans("Payment").' '.$paymenttmp->ref;
|
||||||
/*print '<a href="'.DOL_URL_ROOT.'/compta/paiement/card.php?id='.$links[$key]['url_id'].'">';
|
/*print '<a href="'.DOL_URL_ROOT.'/compta/paiement/card.php?id='.$links[$key]['url_id'].'">';
|
||||||
print img_object($langs->trans('ShowPayment'),'payment').' ';
|
print img_object($langs->trans('Payment'),'payment').' ';
|
||||||
print $langs->trans("Payment");
|
print $langs->trans("Payment");
|
||||||
print '</a>';*/
|
print '</a>';*/
|
||||||
print $paymenttmp->getNomUrl(1);
|
print $paymenttmp->getNomUrl(1);
|
||||||
@ -357,7 +357,7 @@ if ($result)
|
|||||||
$paymenttmp->fetch($links[$key]['url_id']);
|
$paymenttmp->fetch($links[$key]['url_id']);
|
||||||
$paymenttmp->ref = $langs->trans("Payment").' '.$paymenttmp->ref;
|
$paymenttmp->ref = $langs->trans("Payment").' '.$paymenttmp->ref;
|
||||||
/*print '<a href="'.DOL_URL_ROOT.'/fourn/paiement/card.php?id='.$links[$key]['url_id'].'">';
|
/*print '<a href="'.DOL_URL_ROOT.'/fourn/paiement/card.php?id='.$links[$key]['url_id'].'">';
|
||||||
print img_object($langs->trans('ShowPayment'),'payment').' ';
|
print img_object($langs->trans('Payment'),'payment').' ';
|
||||||
print $langs->trans("Payment");
|
print $langs->trans("Payment");
|
||||||
print '</a>';*/
|
print '</a>';*/
|
||||||
print $paymenttmp->getNomUrl(1);
|
print $paymenttmp->getNomUrl(1);
|
||||||
@ -369,67 +369,67 @@ if ($result)
|
|||||||
}
|
}
|
||||||
elseif ($links[$key]['type'] == 'sc') {
|
elseif ($links[$key]['type'] == 'sc') {
|
||||||
print '<a href="'.DOL_URL_ROOT.'/compta/sociales/card.php?id='.$links[$key]['url_id'].'">';
|
print '<a href="'.DOL_URL_ROOT.'/compta/sociales/card.php?id='.$links[$key]['url_id'].'">';
|
||||||
print img_object($langs->trans('ShowSocialContribution'), 'bill').' ';
|
print img_object($langs->trans('SocialContribution'), 'bill').' ';
|
||||||
print $langs->trans("SocialContribution").($links[$key]['label'] ? ' - '.$links[$key]['label'] : '');
|
print $langs->trans("SocialContribution").($links[$key]['label'] ? ' - '.$links[$key]['label'] : '');
|
||||||
print '</a>';
|
print '</a>';
|
||||||
}
|
}
|
||||||
elseif ($links[$key]['type'] == 'payment_sc') {
|
elseif ($links[$key]['type'] == 'payment_sc') {
|
||||||
print '<a href="'.DOL_URL_ROOT.'/compta/payment_sc/card.php?id='.$links[$key]['url_id'].'">';
|
print '<a href="'.DOL_URL_ROOT.'/compta/payment_sc/card.php?id='.$links[$key]['url_id'].'">';
|
||||||
print img_object($langs->trans('ShowPayment'), 'payment').' ';
|
print img_object($langs->trans('Payment'), 'payment').' ';
|
||||||
print $langs->trans("SocialContributionPayment");
|
print $langs->trans("SocialContributionPayment");
|
||||||
print '</a>';
|
print '</a>';
|
||||||
}
|
}
|
||||||
elseif ($links[$key]['type'] == 'payment_vat') {
|
elseif ($links[$key]['type'] == 'payment_vat') {
|
||||||
print '<a href="'.DOL_URL_ROOT.'/compta/tva/card.php?id='.$links[$key]['url_id'].'">';
|
print '<a href="'.DOL_URL_ROOT.'/compta/tva/card.php?id='.$links[$key]['url_id'].'">';
|
||||||
print img_object($langs->trans('ShowVAT'), 'payment').' ';
|
print img_object($langs->trans('VAT'), 'payment').' ';
|
||||||
print $langs->trans("VATPayment");
|
print $langs->trans("VATPayment");
|
||||||
print '</a>';
|
print '</a>';
|
||||||
}
|
}
|
||||||
elseif ($links[$key]['type'] == 'payment_salary') {
|
elseif ($links[$key]['type'] == 'payment_salary') {
|
||||||
print '<a href="'.DOL_URL_ROOT.'/salaries/card.php?id='.$links[$key]['url_id'].'">';
|
print '<a href="'.DOL_URL_ROOT.'/salaries/card.php?id='.$links[$key]['url_id'].'">';
|
||||||
print img_object($langs->trans('ShowPaymentSalary'), 'payment').' ';
|
print img_object($langs->trans('PaymentSalary'), 'payment').' ';
|
||||||
print $langs->trans("SalaryPayment");
|
print $langs->trans("SalaryPayment");
|
||||||
print '</a>';
|
print '</a>';
|
||||||
}
|
}
|
||||||
elseif ($links[$key]['type'] == 'payment_loan') {
|
elseif ($links[$key]['type'] == 'payment_loan') {
|
||||||
print '<a href="'.DOL_URL_ROOT.'/loan/payment/card.php?id='.$links[$key]['url_id'].'">';
|
print '<a href="'.DOL_URL_ROOT.'/loan/payment/card.php?id='.$links[$key]['url_id'].'">';
|
||||||
print img_object($langs->trans('ShowLoanPayment'), 'payment').' ';
|
print img_object($langs->trans('LoanPayment'), 'payment').' ';
|
||||||
print $langs->trans("PaymentLoan");
|
print $langs->trans("PaymentLoan");
|
||||||
print '</a>';
|
print '</a>';
|
||||||
}
|
}
|
||||||
elseif ($links[$key]['type'] == 'loan') {
|
elseif ($links[$key]['type'] == 'loan') {
|
||||||
print '<a href="'.DOL_URL_ROOT.'/loan/card.php?id='.$links[$key]['url_id'].'">';
|
print '<a href="'.DOL_URL_ROOT.'/loan/card.php?id='.$links[$key]['url_id'].'">';
|
||||||
print img_object($langs->trans('ShowLoan'), 'bill').' ';
|
print img_object($langs->trans('Loan'), 'bill').' ';
|
||||||
print $langs->trans("Loan");
|
print $langs->trans("Loan");
|
||||||
print '</a>';
|
print '</a>';
|
||||||
}
|
}
|
||||||
elseif ($links[$key]['type'] == 'member') {
|
elseif ($links[$key]['type'] == 'member') {
|
||||||
print '<a href="'.DOL_URL_ROOT.'/adherents/card.php?rowid='.$links[$key]['url_id'].'">';
|
print '<a href="'.DOL_URL_ROOT.'/adherents/card.php?rowid='.$links[$key]['url_id'].'">';
|
||||||
print img_object($langs->trans('ShowMember'), 'user').' ';
|
print img_object($langs->trans('Member'), 'user').' ';
|
||||||
print $links[$key]['label'];
|
print $links[$key]['label'];
|
||||||
print '</a>';
|
print '</a>';
|
||||||
}
|
}
|
||||||
elseif ($links[$key]['type'] == 'payment_donation') {
|
elseif ($links[$key]['type'] == 'payment_donation') {
|
||||||
print '<a href="'.DOL_URL_ROOT.'/don/payment/card.php?id='.$links[$key]['url_id'].'">';
|
print '<a href="'.DOL_URL_ROOT.'/don/payment/card.php?id='.$links[$key]['url_id'].'">';
|
||||||
print img_object($langs->trans('ShowDonation'), 'payment').' ';
|
print img_object($langs->trans('Donation'), 'payment').' ';
|
||||||
print $langs->trans("DonationPayment");
|
print $langs->trans("DonationPayment");
|
||||||
print '</a>';
|
print '</a>';
|
||||||
}
|
}
|
||||||
elseif ($links[$key]['type'] == 'banktransfert') {
|
elseif ($links[$key]['type'] == 'banktransfert') {
|
||||||
print '<a href="'.DOL_URL_ROOT.'/compta/bank/line.php?rowid='.$links[$key]['url_id'].'">';
|
print '<a href="'.DOL_URL_ROOT.'/compta/bank/line.php?rowid='.$links[$key]['url_id'].'">';
|
||||||
print img_object($langs->trans('ShowTransaction'), 'payment').' ';
|
print img_object($langs->trans('Transaction'), 'payment').' ';
|
||||||
print $langs->trans("TransactionOnTheOtherAccount");
|
print $langs->trans("TransactionOnTheOtherAccount");
|
||||||
print '</a>';
|
print '</a>';
|
||||||
}
|
}
|
||||||
elseif ($links[$key]['type'] == 'user') {
|
elseif ($links[$key]['type'] == 'user') {
|
||||||
print '<a href="'.DOL_URL_ROOT.'/user/card.php?id='.$links[$key]['url_id'].'">';
|
print '<a href="'.DOL_URL_ROOT.'/user/card.php?id='.$links[$key]['url_id'].'">';
|
||||||
print img_object($langs->trans('ShowUser'), 'user').' ';
|
print img_object($langs->trans('User'), 'user').' ';
|
||||||
print $langs->trans("User");
|
print $langs->trans("User");
|
||||||
print '</a>';
|
print '</a>';
|
||||||
}
|
}
|
||||||
elseif ($links[$key]['type'] == 'payment_various') {
|
elseif ($links[$key]['type'] == 'payment_various') {
|
||||||
print '<a href="'.DOL_URL_ROOT.'/compta/bank/various_payment/card.php?id='.$links[$key]['url_id'].'">';
|
print '<a href="'.DOL_URL_ROOT.'/compta/bank/various_payment/card.php?id='.$links[$key]['url_id'].'">';
|
||||||
print img_object($langs->trans('ShowVariousPayment'), 'payment').' ';
|
print img_object($langs->trans('VariousPayment'), 'payment').' ';
|
||||||
print $langs->trans("VariousPayment");
|
print $langs->trans("VariousPayment");
|
||||||
print '</a>';
|
print '</a>';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1394,11 +1394,11 @@ class Facture extends CommonInvoice
|
|||||||
$label = '';
|
$label = '';
|
||||||
|
|
||||||
if ($user->rights->facture->lire) {
|
if ($user->rights->facture->lire) {
|
||||||
$label = '<u>'.$langs->trans("ShowInvoice").'</u>';
|
$label = '<u>'.$langs->trans("Invoice").'</u>';
|
||||||
if ($this->type == self::TYPE_REPLACEMENT) $label = '<u>'.$langs->transnoentitiesnoconv("ShowInvoiceReplace").'</u>';
|
if ($this->type == self::TYPE_REPLACEMENT) $label = '<u>'.$langs->transnoentitiesnoconv("ReplacementInvoice").'</u>';
|
||||||
if ($this->type == self::TYPE_CREDIT_NOTE) $label = '<u>'.$langs->transnoentitiesnoconv("ShowInvoiceAvoir").'</u>';
|
if ($this->type == self::TYPE_CREDIT_NOTE) $label = '<u>'.$langs->transnoentitiesnoconv("CreditNote").'</u>';
|
||||||
if ($this->type == self::TYPE_DEPOSIT) $label = '<u>'.$langs->transnoentitiesnoconv("ShowInvoiceDeposit").'</u>';
|
if ($this->type == self::TYPE_DEPOSIT) $label = '<u>'.$langs->transnoentitiesnoconv("Deposit").'</u>';
|
||||||
if ($this->type == self::TYPE_SITUATION) $label = '<u>'.$langs->transnoentitiesnoconv("ShowInvoiceSituation").'</u>';
|
if ($this->type == self::TYPE_SITUATION) $label = '<u>'.$langs->transnoentitiesnoconv("InvoiceSituation").'</u>';
|
||||||
if (!empty($this->ref))
|
if (!empty($this->ref))
|
||||||
$label .= '<br><b>'.$langs->trans('Ref').':</b> '.$this->ref;
|
$label .= '<br><b>'.$langs->trans('Ref').':</b> '.$this->ref;
|
||||||
if (!empty($this->ref_client))
|
if (!empty($this->ref_client))
|
||||||
@ -1426,7 +1426,7 @@ class Facture extends CommonInvoice
|
|||||||
{
|
{
|
||||||
if (!empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER))
|
if (!empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER))
|
||||||
{
|
{
|
||||||
$label = $langs->trans("ShowInvoice");
|
$label = $langs->trans("Invoice");
|
||||||
$linkclose .= ' alt="'.dol_escape_htmltag($label, 1).'"';
|
$linkclose .= ' alt="'.dol_escape_htmltag($label, 1).'"';
|
||||||
}
|
}
|
||||||
$linkclose .= ' title="'.dol_escape_htmltag($label, 1).'"';
|
$linkclose .= ' title="'.dol_escape_htmltag($label, 1).'"';
|
||||||
|
|||||||
@ -556,7 +556,7 @@ class ChargeSociales extends CommonObject
|
|||||||
|
|
||||||
if (empty($this->ref)) $this->ref = $this->label;
|
if (empty($this->ref)) $this->ref = $this->label;
|
||||||
|
|
||||||
$label = '<u>'.$langs->trans("ShowSocialContribution").'</u>';
|
$label = '<u>'.$langs->trans("SocialContribution").'</u>';
|
||||||
if (!empty($this->ref))
|
if (!empty($this->ref))
|
||||||
$label .= '<br><b>'.$langs->trans('Ref').':</b> '.$this->ref;
|
$label .= '<br><b>'.$langs->trans('Ref').':</b> '.$this->ref;
|
||||||
if (!empty($this->label))
|
if (!empty($this->label))
|
||||||
@ -569,7 +569,7 @@ class ChargeSociales extends CommonObject
|
|||||||
{
|
{
|
||||||
if (!empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER))
|
if (!empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER))
|
||||||
{
|
{
|
||||||
$label = $langs->trans("ShowSocialContribution");
|
$label = $langs->trans("SocialContribution");
|
||||||
$linkclose .= ' alt="'.dol_escape_htmltag($label, 1).'"';
|
$linkclose .= ' alt="'.dol_escape_htmltag($label, 1).'"';
|
||||||
}
|
}
|
||||||
$linkclose .= ' title="'.dol_escape_htmltag($label, 1).'"';
|
$linkclose .= ' title="'.dol_escape_htmltag($label, 1).'"';
|
||||||
|
|||||||
@ -924,14 +924,18 @@ class Don extends CommonObject
|
|||||||
{
|
{
|
||||||
global $langs;
|
global $langs;
|
||||||
|
|
||||||
|
if (!empty($conf->dol_no_mouse_hover)) $notooltip = 1; // Force disable tooltips
|
||||||
|
|
||||||
$result = '';
|
$result = '';
|
||||||
$label = $langs->trans("ShowDonation").': '.$this->id;
|
$label = '<u>'.$langs->trans("Donation").'</u>';
|
||||||
|
if (!empty($this->id))
|
||||||
|
$label .= '<br><b>'.$langs->trans('Ref').':</b> '.$this->id;
|
||||||
|
|
||||||
$linkstart = '<a href="'.DOL_URL_ROOT.'/don/card.php?id='.$this->id.'" title="'.dol_escape_htmltag($label, 1).'" class="classfortooltip">';
|
$linkstart = '<a href="'.DOL_URL_ROOT.'/don/card.php?id='.$this->id.'" title="'.dol_escape_htmltag($label, 1).'" class="classfortooltip">';
|
||||||
$linkend = '</a>';
|
$linkend = '</a>';
|
||||||
|
|
||||||
$result .= $linkstart;
|
$result .= $linkstart;
|
||||||
if ($withpicto) $result .= img_object(($notooltip ? '' : $label), ($this->picto ? $this->picto : 'generic'), ($notooltip ? (($withpicto != 2) ? 'class="paddingright"' : '') : 'class="'.(($withpicto != 2) ? 'paddingright ' : '').'classfortooltip"'), 0, 0, $notooltip ? 0 : 1);
|
if ($withpicto) $result .= img_object(($notooltip ? '' : $label), $this->picto, ($notooltip ? (($withpicto != 2) ? 'class="paddingright"' : '') : 'class="'.(($withpicto != 2) ? 'paddingright ' : '').'classfortooltip"'), 0, 0, $notooltip ? 0 : 1);
|
||||||
if ($withpicto != 2) $result .= $this->ref;
|
if ($withpicto != 2) $result .= $this->ref;
|
||||||
$result .= $linkend;
|
$result .= $linkend;
|
||||||
|
|
||||||
|
|||||||
@ -209,13 +209,6 @@ NumberOfBillsByMonth=No. of invoices per month
|
|||||||
AmountOfBills=Amount of invoices
|
AmountOfBills=Amount of invoices
|
||||||
AmountOfBillsHT=Amount of invoices (net of tax)
|
AmountOfBillsHT=Amount of invoices (net of tax)
|
||||||
AmountOfBillsByMonthHT=Amount of invoices by month (net of tax)
|
AmountOfBillsByMonthHT=Amount of invoices by month (net of tax)
|
||||||
ShowSocialContribution=Show social/fiscal tax
|
|
||||||
ShowBill=Show invoice
|
|
||||||
ShowInvoice=Show invoice
|
|
||||||
ShowInvoiceReplace=Show replacing invoice
|
|
||||||
ShowInvoiceAvoir=Show credit note
|
|
||||||
ShowInvoiceDeposit=Show down payment invoice
|
|
||||||
ShowInvoiceSituation=Show situation invoice
|
|
||||||
UseSituationInvoices=Allow situation invoice
|
UseSituationInvoices=Allow situation invoice
|
||||||
UseSituationInvoicesCreditNote=Allow situation invoice credit note
|
UseSituationInvoicesCreditNote=Allow situation invoice credit note
|
||||||
Retainedwarranty=Retained warranty
|
Retainedwarranty=Retained warranty
|
||||||
@ -233,7 +226,6 @@ setretainedwarranty=Set retained warranty
|
|||||||
setretainedwarrantyDateLimit=Set retained warranty date limit
|
setretainedwarrantyDateLimit=Set retained warranty date limit
|
||||||
RetainedWarrantyDateLimit=Retained warranty date limit
|
RetainedWarrantyDateLimit=Retained warranty date limit
|
||||||
RetainedWarrantyNeed100Percent=The situation invoice need to be at 100%% progress to be displayed on PDF
|
RetainedWarrantyNeed100Percent=The situation invoice need to be at 100%% progress to be displayed on PDF
|
||||||
ShowPayment=Show payment
|
|
||||||
AlreadyPaid=Already paid
|
AlreadyPaid=Already paid
|
||||||
AlreadyPaidBack=Already paid back
|
AlreadyPaidBack=Already paid back
|
||||||
AlreadyPaidNoCreditNotesNoDeposits=Already paid (without credit notes and down payments)
|
AlreadyPaidNoCreditNotesNoDeposits=Already paid (without credit notes and down payments)
|
||||||
|
|||||||
@ -7,7 +7,6 @@ AddDonation=Create a donation
|
|||||||
NewDonation=New donation
|
NewDonation=New donation
|
||||||
DeleteADonation=Delete a donation
|
DeleteADonation=Delete a donation
|
||||||
ConfirmDeleteADonation=Are you sure you want to delete this donation?
|
ConfirmDeleteADonation=Are you sure you want to delete this donation?
|
||||||
ShowDonation=Show donation
|
|
||||||
PublicDonation=Public donation
|
PublicDonation=Public donation
|
||||||
DonationsArea=Donations area
|
DonationsArea=Donations area
|
||||||
DonationStatusPromiseNotValidated=Draft promise
|
DonationStatusPromiseNotValidated=Draft promise
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user