diff --git a/htdocs/langs/en_US/website.lang b/htdocs/langs/en_US/website.lang index 779e63b23d2..b73f3a35264 100644 --- a/htdocs/langs/en_US/website.lang +++ b/htdocs/langs/en_US/website.lang @@ -231,3 +231,7 @@ WebPortalErrorFetchLoggedThirdParty=Error when loading third-party (Id : %s) WebPortalErrorFetchLoggedMember=Error when loading member (Id : %s) WebPortalErrorFetchLoggedPartnership=Error when loading partnership (Third-party Id : %s, Member Id : %s) ExportIntoGIT=Export into sources +WebPortalMember=Membership +WebPortalOrder=Sale Order +WebPortalPartnership=Partnership +WebPortalPropal=Proposal diff --git a/htdocs/webportal/class/webportalmember.class.php b/htdocs/webportal/class/webportalmember.class.php index 89165eaf2ed..3eaef8f7379 100644 --- a/htdocs/webportal/class/webportalmember.class.php +++ b/htdocs/webportal/class/webportalmember.class.php @@ -224,7 +224,7 @@ class WebPortalMember extends Adherent $datas = []; if (getDolGlobalInt('MAIN_OPTIMIZEFORTEXTBROWSER')) { - return ['optimize' => $langs->trans("ShowWebPortalMember")]; + return ['optimize' => $langs->trans("WebPortalMember")]; } $datas['picto'] = img_picto('', $this->picto) . ' ' . $langs->trans("WebPortalMember") . ''; if (isset($this->status)) { diff --git a/htdocs/webportal/class/webportalorder.class.php b/htdocs/webportal/class/webportalorder.class.php index 7cf96715b96..12b1586e4c3 100644 --- a/htdocs/webportal/class/webportalorder.class.php +++ b/htdocs/webportal/class/webportalorder.class.php @@ -169,7 +169,7 @@ class WebPortalOrder extends Commande $datas = []; if (getDolGlobalInt('MAIN_OPTIMIZEFORTEXTBROWSER')) { - return ['optimize' => $langs->trans("ShowWebPortalOrder")]; + return ['optimize' => $langs->trans("WebPortalOrder")]; } $datas['picto'] = img_picto('', $this->picto) . ' ' . $langs->trans("WebPortalOrder") . ''; if (isset($this->status)) { diff --git a/htdocs/webportal/class/webportalpartnership.class.php b/htdocs/webportal/class/webportalpartnership.class.php index 884bdf3a57d..9aa428aa2fe 100644 --- a/htdocs/webportal/class/webportalpartnership.class.php +++ b/htdocs/webportal/class/webportalpartnership.class.php @@ -202,7 +202,7 @@ class WebPortalPartnership extends Partnership $datas = []; if (getDolGlobalInt('MAIN_OPTIMIZEFORTEXTBROWSER')) { - return ['optimize' => $langs->trans("ShowWebPortalPartnership")]; + return ['optimize' => $langs->trans("WebPortalPartnership")]; } $datas['picto'] = img_picto('', $this->picto) . ' ' . $langs->trans("WebPortalPartnership") . ''; if (isset($this->status)) { diff --git a/htdocs/webportal/class/webportalpropal.class.php b/htdocs/webportal/class/webportalpropal.class.php index 03bef3664d1..d53fa5f07ab 100644 --- a/htdocs/webportal/class/webportalpropal.class.php +++ b/htdocs/webportal/class/webportalpropal.class.php @@ -169,7 +169,7 @@ class WebPortalPropal extends Propal $datas = []; if (getDolGlobalInt('MAIN_OPTIMIZEFORTEXTBROWSER')) { - return ['optimize' => $langs->trans("ShowWebPortalPropal")]; + return ['optimize' => $langs->trans("WebPortalPropal")]; } $datas['picto'] = img_picto('', $this->picto) . ' ' . $langs->trans("WebPortalPropal") . ''; if (isset($this->status)) {