Skip to content

Commit 8ea9c26

Browse files
authored
Translate key in CSV export (#43464)
1 parent e11bd13 commit 8ea9c26

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

administrator/components/com_actionlogs/src/Helper/ActionlogsHelper.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,10 @@ public static function getLogContentTypeParams($context)
177177
*/
178178
public static function getHumanReadableLogMessage($log, $generateLinks = true)
179179
{
180+
static::loadActionLogPluginsLanguage();
180181
static $links = [];
181-
182-
$message = Text::_($log->message_language_key);
183-
$messageData = json_decode($log->message, true);
182+
$message = Text::_($log->message_language_key);
183+
$messageData = json_decode($log->message, true);
184184

185185
// Special handling for translation extension name
186186
if (isset($messageData['extension_name'])) {

0 commit comments

Comments
 (0)