pass resulting action description through gettext

This commit is contained in:
Andrew Dolgov
2024-11-23 11:21:18 +03:00
parent ce5a96cb30
commit c23b76eb72

View File

@@ -485,7 +485,7 @@ class Pref_Filters extends Handler_Protected {
return ""; return "";
} }
$title = $this->action_descriptions[$action['action_id']]['description'] ?? $title = __($this->action_descriptions[$action['action_id']]['description']) ??
T_sprintf('Unknown action: %d', $action['action_id']); T_sprintf('Unknown action: %d', $action['action_id']);
if ($action["action_id"] == self::ACTION_PLUGIN) { if ($action["action_id"] == self::ACTION_PLUGIN) {