From 18dd2431822642a0f5bd71d4e8549865e20eba71 Mon Sep 17 00:00:00 2001 From: ldestailleur Date: Tue, 15 Jul 2025 16:05:46 +0200 Subject: [PATCH] Trans --- htdocs/langs/en_US/admin.lang | 2 +- htdocs/societe/admin/societe.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang index 9903ea6d859..52bcfd9120b 100644 --- a/htdocs/langs/en_US/admin.lang +++ b/htdocs/langs/en_US/admin.lang @@ -2280,7 +2280,7 @@ Protanopia=Protanopia Deuteranopes=Deuteranopes Tritanopes=Tritanopes ThisValueCanOverwrittenOnUserLevel=This value can be overwritten by each user from its user page - tab '%s' -DefaultCustomerType=Default third-party type for "New customer" creation form +DefaultCustomerType=Default third-party type on the creation form from menu "%s" or "%s" ABankAccountMustBeDefinedOnPaymentModeSetup=Note: The bank account must be defined on the module of each payment mode (Paypal, Stripe, ...) to have this feature working. RootCategoryForProductsToSell=Root category of products to sell RootCategoryForProductsToSellDesc=If defined, only products inside this category or children of this category will be available in the Point Of Sale diff --git a/htdocs/societe/admin/societe.php b/htdocs/societe/admin/societe.php index 51bb8c4a407..7b8808f84db 100644 --- a/htdocs/societe/admin/societe.php +++ b/htdocs/societe/admin/societe.php @@ -964,7 +964,7 @@ print ''; if (!getDolGlobalString('SOCIETE_DISABLE_PROSPECTSCUSTOMERS')) { // Default Prospect/Customer thirdparty type on customer création print ''; - print ''.$langs->trans("DefaultCustomerType").''; + print ''.$langs->trans("DefaultCustomerType", $langs->transnoentitiesnoconv("MenuNewThirdParty"), $langs->transnoentitiesnoconv("MenuNewCustomer")).''; print ''; print $formcompany->selectProspectCustomerType(getDolGlobalInt('THIRDPARTY_CUSTOMERTYPE_BY_DEFAULT'), 'defaultcustomertype', 'defaultcustomertype', 'admin'); print '';