diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang index f00493c5c415540da24e7e20939ce7bc585b5875..9bffc29f5bfebbfb46f86fb7504adbd8ad229a1f 100644 --- a/htdocs/langs/en_US/admin.lang +++ b/htdocs/langs/en_US/admin.lang @@ -49,9 +49,11 @@ ErrorReservedTypeSystemSystemAuto=Value 'system' and 'systemauto' for type is re ErrorCodeCantContainZero=Code can't contain value 0 DisableJavascript=Disable JavaScript and Ajax functions ConfirmAjax=Use Ajax confirmation popups -UseSearchToSelectCompany=Use autocompletion fields to choose third parties (instead of using a list box).<br><br>Also if you have a large number of third parties (> 100 000), you can increase speed by setting constant COMPANY_DONOTSEARCH_ANYWHERE to 1 in Setup->Other. Search will then be limited to start of string. +UseSearchToSelectCompanyTooltip=Also if you have a large number of third parties (> 100 000), you can increase speed by setting constant COMPANY_DONOTSEARCH_ANYWHERE to 1 in Setup->Other. Search will then be limited to start of string. +UseSearchToSelectCompany=Use autocompletion fields to choose third parties instead of using a list box. ActivityStateToSelectCompany= Add a filter option to show/hide thirdparties which are currently in activity or has ceased it -UseSearchToSelectContact=Use autocompletion fields to choose contact (instead of using a list box).<br><br>Also if you have a large number of third parties (> 100 000), you can increase speed by setting constant CONTACT_DONOTSEARCH_ANYWHERE to 1 in Setup->Other. Search will then be limited to start of string. +UseSearchToSelectContactTooltip=Also if you have a large number of third parties (> 100 000), you can increase speed by setting constant CONTACT_DONOTSEARCH_ANYWHERE to 1 in Setup->Other. Search will then be limited to start of string. +UseSearchToSelectContact=Use autocompletion fields to choose contact (instead of using a list box). SearchFilter=Search filters options NumberOfKeyToSearch=Nbr of characters to trigger search: %s ViewFullDateActions=Show full dates events in the third sheet @@ -1307,7 +1309,8 @@ ConfirmDeleteProductLineAbility=Confirmation when removing product lines in form ModifyProductDescAbility=Personalization of product descriptions in forms ViewProductDescInFormAbility=Visualization of product descriptions in the forms (otherwise as popup tooltip) ViewProductDescInThirdpartyLanguageAbility=Visualization of products descriptions in the thirdparty language -UseSearchToSelectProduct=Use a search form to choose a product (rather than a drop-down list).<br>Also if you have a large number of product (> 100 000), you can increase speed by setting constant PRODUCT_DONOTSEARCH_ANYWHERE to 1 in Setup->Other. Search will then be limited to start of string. +UseSearchToSelectProductTooltip=Also if you have a large number of product (> 100 000), you can increase speed by setting constant PRODUCT_DONOTSEARCH_ANYWHERE to 1 in Setup->Other. Search will then be limited to start of string. +UseSearchToSelectProduct=Use a search form to choose a product (rather than a drop-down list). UseEcoTaxeAbility=Support Eco-Taxe (WEEE) SetDefaultBarcodeTypeProducts=Default barcode type to use for products SetDefaultBarcodeTypeThirdParties=Default barcode type to use for third parties diff --git a/htdocs/product/admin/product.php b/htdocs/product/admin/product.php index 5aa65d69b5a0b208e7b197c4307fe856e03f6492..c040488b3c62eef733b3ca86b02a1a65704594da 100644 --- a/htdocs/product/admin/product.php +++ b/htdocs/product/admin/product.php @@ -372,7 +372,7 @@ print '<form method="POST" action="'.$_SERVER['PHP_SELF'].'">'; print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">'; print '<input type="hidden" name="action" value="usesearchtoselectproduct">'; print '<tr '.$bc[$var].'>'; -print '<td>'.$langs->trans("UseSearchToSelectProduct").'</td>'; +print '<td>'.$form->textwithpicto($langs->trans("UseSearchToSelectProduct"),$langs->trans('UseSearchToSelectProductTooltip'),1).'</td>'; if (empty($conf->use_javascript_ajax)) { print '<td class="nowrap" align="right" colspan="2">'; diff --git a/htdocs/societe/admin/societe.php b/htdocs/societe/admin/societe.php index 9834959273cc6ace9967d15dc63b22865652a2af..b37197c007a17fba120766ae45c166eb562e6a4d 100644 --- a/htdocs/societe/admin/societe.php +++ b/htdocs/societe/admin/societe.php @@ -715,7 +715,7 @@ print '<td width="80"> </td></tr>'."\n"; // Utilisation formulaire Ajax sur choix societe $var=!$var; print "<tr ".$bc[$var].">"; -print '<td width="80%">'.$langs->trans("UseSearchToSelectCompany").'</td>'; +print '<td width="80%">'.$form->textwithpicto($langs->trans("UseSearchToSelectCompany"),$langs->trans('UseSearchToSelectCompanyTooltip'),1).' </td>'; if (! $conf->use_javascript_ajax) { print '<td class="nowrap" align="right" colspan="2">'; @@ -739,7 +739,7 @@ print '</tr>'; $var=!$var; print "<tr ".$bc[$var].">"; -print '<td width="80%">'.$langs->trans("UseSearchToSelectContact").'</td>'; +print '<td width="80%">'.$form->textwithpicto($langs->trans("UseSearchToSelectContact"),$langs->trans('UseSearchToSelectContactTooltip'),1).'</td>'; if (! $conf->use_javascript_ajax) { print '<td class="nowrap" align="right" colspan="2">';