diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2024-11-23 11:21:18 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2024-11-23 11:21:18 +0300 |
| commit | c23b76eb72b4830b101bba6d2a2a77eb529dbdbd (patch) | |
| tree | 23e9e11b7d1d4935e6ba4ed8809d63e9bd5ab7b7 /classes | |
| parent | ce5a96cb30bf47de85ee0394a8c61ef378962c9b (diff) | |
pass resulting action description through gettext
Diffstat (limited to 'classes')
| -rw-r--r-- | classes/Pref_Filters.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Pref_Filters.php b/classes/Pref_Filters.php index 104847098..60998683a 100644 --- a/classes/Pref_Filters.php +++ b/classes/Pref_Filters.php @@ -485,7 +485,7 @@ class Pref_Filters extends Handler_Protected { 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']); if ($action["action_id"] == self::ACTION_PLUGIN) { |