From b884f9aa670f82dcd744f54ad4a313e472deb0fc Mon Sep 17 00:00:00 2001 From: yannis Date: Mon, 7 Jul 2025 17:07:39 +0200 Subject: [PATCH] feat: change translation --- htdocs/user/api_token/card.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/user/api_token/card.php b/htdocs/user/api_token/card.php index 04c269accdf..1ddd46d46ff 100644 --- a/htdocs/user/api_token/card.php +++ b/htdocs/user/api_token/card.php @@ -266,7 +266,7 @@ if (empty($reshook)) { $useridtoadd = !empty($userid) && $userid > 0 ? $userid : $id; if (empty($tokenstring)) { - setEventMessages($langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("ApiToken")), null, 'errors'); + setEventMessages($langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("Token")), null, 'errors'); $action = 'create'; $error++; } @@ -291,7 +291,7 @@ if (empty($reshook)) { } if (isset($nbtotalofrecords) && $nbtotalofrecords > 0) { - setEventMessages($langs->trans("ErrorFieldExist", $langs->transnoentitiesnoconv("ApiToken")), null, 'errors'); + setEventMessages($langs->trans("ErrorFieldExist", $langs->transnoentitiesnoconv("Token")), null, 'errors'); $action = 'create'; $error++; }