From bbbc0329abb302b60a29bb0bd56024b86caa23de Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 20 Mar 2026 15:35:36 +0100 Subject: [PATCH] Fix trans --- htdocs/langs/en_US/hrm.lang | 1 - htdocs/langs/en_US/main.lang | 1 + htdocs/website/index.php | 2 ++ 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/htdocs/langs/en_US/hrm.lang b/htdocs/langs/en_US/hrm.lang index 8d35da4fc61..778d4998d6d 100644 --- a/htdocs/langs/en_US/hrm.lang +++ b/htdocs/langs/en_US/hrm.lang @@ -98,7 +98,6 @@ SkillsExtraFields=Complementary attributes (Skills) JobsExtraFields=Complementary attributes (Job profiles) EvaluationsExtraFields=Complementary attributes (Competency assessments) NeedBusinessTravels=Business travels -NoDescription=No description TheJobProfileHasNoSkillsDefinedFixBefore=The evaluated job profile of this employee has no skill defined on it. Please add skill(s), then delete and restart the evaluation. PDFStandardHrmEvaluation=Standard template to generate a PDF document for a competency assessment SkillNotRequired=Skill not required diff --git a/htdocs/langs/en_US/main.lang b/htdocs/langs/en_US/main.lang index 7d70cb0fac7..3057829c3c6 100644 --- a/htdocs/langs/en_US/main.lang +++ b/htdocs/langs/en_US/main.lang @@ -256,6 +256,7 @@ RefOrLabel=Ref. or label Info=Log Family=Family Description=Description +NoDescription=No description Designation=Description DescriptionOfLine=Description of line DateOfLine=Date of line diff --git a/htdocs/website/index.php b/htdocs/website/index.php index 4fd910bc055..2fed0db1c0d 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -5481,9 +5481,11 @@ if ($mode == 'replacesite' || $massaction == 'replace') { $arrayofmassactions['replace'] = img_picto('', 'replacement', 'class="pictofixedwidth"').$langs->trans("Replace"); } if ($user->hasRight('website', 'write')) { + $langs->load("categories"); $arrayofmassactions['setcategory'] = img_picto('', 'category', 'class="pictofixedwidth"').$langs->trans("ClassifyInCategory"); } if ($user->hasRight('website', 'write')) { + $langs->load("categories"); $arrayofmassactions['delcategory'] = img_picto('', 'category', 'class="pictofixedwidth"').$langs->trans("RemoveCategory"); } if ($permissiontodelete) {