diff --git a/htdocs/compta/bank/line.php b/htdocs/compta/bank/line.php
index 5c64c4ee5d9..6e53dd00c37 100644
--- a/htdocs/compta/bank/line.php
+++ b/htdocs/compta/bank/line.php
@@ -346,7 +346,7 @@ if ($result)
$paymenttmp->fetch($links[$key]['url_id']);
$paymenttmp->ref = $langs->trans("Payment").' '.$paymenttmp->ref;
/*print '';
- print img_object($langs->trans('ShowPayment'),'payment').' ';
+ print img_object($langs->trans('Payment'),'payment').' ';
print $langs->trans("Payment");
print '';*/
print $paymenttmp->getNomUrl(1);
@@ -357,7 +357,7 @@ if ($result)
$paymenttmp->fetch($links[$key]['url_id']);
$paymenttmp->ref = $langs->trans("Payment").' '.$paymenttmp->ref;
/*print '';
- print img_object($langs->trans('ShowPayment'),'payment').' ';
+ print img_object($langs->trans('Payment'),'payment').' ';
print $langs->trans("Payment");
print '';*/
print $paymenttmp->getNomUrl(1);
@@ -369,67 +369,67 @@ if ($result)
}
elseif ($links[$key]['type'] == 'sc') {
print '';
- 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 '';
}
elseif ($links[$key]['type'] == 'payment_sc') {
print '';
- print img_object($langs->trans('ShowPayment'), 'payment').' ';
+ print img_object($langs->trans('Payment'), 'payment').' ';
print $langs->trans("SocialContributionPayment");
print '';
}
elseif ($links[$key]['type'] == 'payment_vat') {
print '';
- print img_object($langs->trans('ShowVAT'), 'payment').' ';
+ print img_object($langs->trans('VAT'), 'payment').' ';
print $langs->trans("VATPayment");
print '';
}
elseif ($links[$key]['type'] == 'payment_salary') {
print '';
- print img_object($langs->trans('ShowPaymentSalary'), 'payment').' ';
+ print img_object($langs->trans('PaymentSalary'), 'payment').' ';
print $langs->trans("SalaryPayment");
print '';
}
elseif ($links[$key]['type'] == 'payment_loan') {
print '';
- print img_object($langs->trans('ShowLoanPayment'), 'payment').' ';
+ print img_object($langs->trans('LoanPayment'), 'payment').' ';
print $langs->trans("PaymentLoan");
print '';
}
elseif ($links[$key]['type'] == 'loan') {
print '';
- print img_object($langs->trans('ShowLoan'), 'bill').' ';
+ print img_object($langs->trans('Loan'), 'bill').' ';
print $langs->trans("Loan");
print '';
}
elseif ($links[$key]['type'] == 'member') {
print '';
- print img_object($langs->trans('ShowMember'), 'user').' ';
+ print img_object($langs->trans('Member'), 'user').' ';
print $links[$key]['label'];
print '';
}
elseif ($links[$key]['type'] == 'payment_donation') {
print '';
- print img_object($langs->trans('ShowDonation'), 'payment').' ';
+ print img_object($langs->trans('Donation'), 'payment').' ';
print $langs->trans("DonationPayment");
print '';
}
elseif ($links[$key]['type'] == 'banktransfert') {
print '';
- print img_object($langs->trans('ShowTransaction'), 'payment').' ';
+ print img_object($langs->trans('Transaction'), 'payment').' ';
print $langs->trans("TransactionOnTheOtherAccount");
print '';
}
elseif ($links[$key]['type'] == 'user') {
print '';
- print img_object($langs->trans('ShowUser'), 'user').' ';
+ print img_object($langs->trans('User'), 'user').' ';
print $langs->trans("User");
print '';
}
elseif ($links[$key]['type'] == 'payment_various') {
print '';
- print img_object($langs->trans('ShowVariousPayment'), 'payment').' ';
+ print img_object($langs->trans('VariousPayment'), 'payment').' ';
print $langs->trans("VariousPayment");
print '';
}
diff --git a/htdocs/compta/facture/class/facture.class.php b/htdocs/compta/facture/class/facture.class.php
index e3757e15e85..8e415658a98 100644
--- a/htdocs/compta/facture/class/facture.class.php
+++ b/htdocs/compta/facture/class/facture.class.php
@@ -1394,11 +1394,11 @@ class Facture extends CommonInvoice
$label = '';
if ($user->rights->facture->lire) {
- $label = ''.$langs->trans("ShowInvoice").'';
- if ($this->type == self::TYPE_REPLACEMENT) $label = ''.$langs->transnoentitiesnoconv("ShowInvoiceReplace").'';
- if ($this->type == self::TYPE_CREDIT_NOTE) $label = ''.$langs->transnoentitiesnoconv("ShowInvoiceAvoir").'';
- if ($this->type == self::TYPE_DEPOSIT) $label = ''.$langs->transnoentitiesnoconv("ShowInvoiceDeposit").'';
- if ($this->type == self::TYPE_SITUATION) $label = ''.$langs->transnoentitiesnoconv("ShowInvoiceSituation").'';
+ $label = ''.$langs->trans("Invoice").'';
+ if ($this->type == self::TYPE_REPLACEMENT) $label = ''.$langs->transnoentitiesnoconv("ReplacementInvoice").'';
+ if ($this->type == self::TYPE_CREDIT_NOTE) $label = ''.$langs->transnoentitiesnoconv("CreditNote").'';
+ if ($this->type == self::TYPE_DEPOSIT) $label = ''.$langs->transnoentitiesnoconv("Deposit").'';
+ if ($this->type == self::TYPE_SITUATION) $label = ''.$langs->transnoentitiesnoconv("InvoiceSituation").'';
if (!empty($this->ref))
$label .= '
'.$langs->trans('Ref').': '.$this->ref;
if (!empty($this->ref_client))
@@ -1426,7 +1426,7 @@ class Facture extends CommonInvoice
{
if (!empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER))
{
- $label = $langs->trans("ShowInvoice");
+ $label = $langs->trans("Invoice");
$linkclose .= ' alt="'.dol_escape_htmltag($label, 1).'"';
}
$linkclose .= ' title="'.dol_escape_htmltag($label, 1).'"';
diff --git a/htdocs/compta/sociales/class/chargesociales.class.php b/htdocs/compta/sociales/class/chargesociales.class.php
index f6ff04ebe54..6d3f4dffa4a 100644
--- a/htdocs/compta/sociales/class/chargesociales.class.php
+++ b/htdocs/compta/sociales/class/chargesociales.class.php
@@ -556,7 +556,7 @@ class ChargeSociales extends CommonObject
if (empty($this->ref)) $this->ref = $this->label;
- $label = ''.$langs->trans("ShowSocialContribution").'';
+ $label = ''.$langs->trans("SocialContribution").'';
if (!empty($this->ref))
$label .= '
'.$langs->trans('Ref').': '.$this->ref;
if (!empty($this->label))
@@ -569,7 +569,7 @@ class ChargeSociales extends CommonObject
{
if (!empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER))
{
- $label = $langs->trans("ShowSocialContribution");
+ $label = $langs->trans("SocialContribution");
$linkclose .= ' alt="'.dol_escape_htmltag($label, 1).'"';
}
$linkclose .= ' title="'.dol_escape_htmltag($label, 1).'"';
diff --git a/htdocs/don/class/don.class.php b/htdocs/don/class/don.class.php
index bbd2a9b4577..d2786cd2a79 100644
--- a/htdocs/don/class/don.class.php
+++ b/htdocs/don/class/don.class.php
@@ -924,14 +924,18 @@ class Don extends CommonObject
{
global $langs;
+ if (!empty($conf->dol_no_mouse_hover)) $notooltip = 1; // Force disable tooltips
+
$result = '';
- $label = $langs->trans("ShowDonation").': '.$this->id;
+ $label = ''.$langs->trans("Donation").'';
+ if (!empty($this->id))
+ $label .= '
'.$langs->trans('Ref').': '.$this->id;
$linkstart = '';
$linkend = '';
$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;
$result .= $linkend;
diff --git a/htdocs/langs/en_US/bills.lang b/htdocs/langs/en_US/bills.lang
index ab26114d905..55de1591689 100644
--- a/htdocs/langs/en_US/bills.lang
+++ b/htdocs/langs/en_US/bills.lang
@@ -209,13 +209,6 @@ NumberOfBillsByMonth=No. of invoices per month
AmountOfBills=Amount of invoices
AmountOfBillsHT=Amount of invoices (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
UseSituationInvoicesCreditNote=Allow situation invoice credit note
Retainedwarranty=Retained warranty
@@ -233,7 +226,6 @@ setretainedwarranty=Set retained warranty
setretainedwarrantyDateLimit=Set retained warranty date limit
RetainedWarrantyDateLimit=Retained warranty date limit
RetainedWarrantyNeed100Percent=The situation invoice need to be at 100%% progress to be displayed on PDF
-ShowPayment=Show payment
AlreadyPaid=Already paid
AlreadyPaidBack=Already paid back
AlreadyPaidNoCreditNotesNoDeposits=Already paid (without credit notes and down payments)
diff --git a/htdocs/langs/en_US/donations.lang b/htdocs/langs/en_US/donations.lang
index a810c61c8f4..de4bdf68f03 100644
--- a/htdocs/langs/en_US/donations.lang
+++ b/htdocs/langs/en_US/donations.lang
@@ -7,7 +7,6 @@ AddDonation=Create a donation
NewDonation=New donation
DeleteADonation=Delete a donation
ConfirmDeleteADonation=Are you sure you want to delete this donation?
-ShowDonation=Show donation
PublicDonation=Public donation
DonationsArea=Donations area
DonationStatusPromiseNotValidated=Draft promise