add trans to copied to clipboard text

This commit is contained in:
lmarcouiller 2021-01-21 09:54:26 +01:00
parent cd4225aee0
commit b2809e4ee2
2 changed files with 3 additions and 2 deletions

View File

@ -467,3 +467,4 @@ RestOfEurope=Rest of Europe (EEC)
OutOfEurope=Out of Europe (EEC)
CurrentOutstandingBillLate=Current outstanding bill late
BecarefullChangeThirdpartyBeforeAddProductToInvoice=Be carefull, depending on your product price settings, you should change thirdparty before adding product to POS.
CopiedToClipboard = Copied to clipboard

View File

@ -2438,10 +2438,10 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action))
selection.addRange( range );
}
document.execCommand( 'copy' );
window.getSelection().removeAllRanges();
document.getElementById( \"clipboardChar\" ).innerHTML = 'Copied to clipboard!';
document.getElementById( \"clipboardChar\" ).innerHTML = '".$langs->trans("CopiedToClipboard")."';
}
</script>";
print '<td id="code_client">';