From 20a718c28443cfa770c7323be695b65342e4975d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Thu, 29 Aug 2024 13:30:08 +0200 Subject: [PATCH] fix missing translation (#30792) * fix missing translation * fix missing translation --- dev/translation/ignore_translation_keys.lst | 3 --- htdocs/hrm/class/skill.class.php | 2 +- htdocs/langs/en_US/hrm.lang | 3 +++ 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dev/translation/ignore_translation_keys.lst b/dev/translation/ignore_translation_keys.lst index 3cc7b562e30..fcde147d65f 100644 --- a/dev/translation/ignore_translation_keys.lst +++ b/dev/translation/ignore_translation_keys.lst @@ -806,7 +806,6 @@ ShowRecruitmentCandidature ShowRecruitmentJobPosition ShowSearchFields ShowSkill -ShowSkillRank ShowSkilldet ShowStockTransfer ShowStockTransferLine @@ -819,8 +818,6 @@ SignatureOK Siren Situation SizeUnit -SkillCreated -SkillRank SmsTestSubstitutionReplacedByGenericValues SomeShipmentExists SourceType diff --git a/htdocs/hrm/class/skill.class.php b/htdocs/hrm/class/skill.class.php index 88a02b79692..320db66de04 100644 --- a/htdocs/hrm/class/skill.class.php +++ b/htdocs/hrm/class/skill.class.php @@ -267,7 +267,7 @@ class Skill extends CommonObject if (!$error) { $this->db->commit(); - setEventMessage($langs->trans('SkillCreated'), $i); + setEventMessage($langs->trans('SkillCreated', $i)); return 1; } else { $this->db->rollback(); diff --git a/htdocs/langs/en_US/hrm.lang b/htdocs/langs/en_US/hrm.lang index 8d2d2cf651d..2a557ba7759 100644 --- a/htdocs/langs/en_US/hrm.lang +++ b/htdocs/langs/en_US/hrm.lang @@ -72,6 +72,9 @@ AddSkill=Add skills to job profile RequiredSkills=Required skills for this job profile UserRank=User Rank SkillList=Skill list +SkillCreated=%s skills created +SkillRank=Skill rank +ShowSkillRank=Show skill rank SaveRank=Save rank TypeKnowHow=Know-how TypeHowToBe=How to be