From 15d90174d6779a51ba6fff1c8bcd06c31c853ea4 Mon Sep 17 00:00:00 2001
From: TheWitness <1439914+TheWitness@users.noreply.github.com>
Date: Mon, 12 Oct 2026 16:18:01 -0400
Subject: [PATCH] issue: shorten syslog graph drilldown button title to
'Syslog'
The graph action menu now renders each drilldown button's title as a visible label, so 'Display Syslog in Range' reads as an overlong menu entry. Shorten it to 'Syslog' and regenerate locales/po/cacti.pot for the removed translatable string.
---
CHANGELOG.md | 1 +
includes/navigation.php | 2 +-
locales/po/cacti.pot | 8 ++------
3 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2fab5170..fb6ac0eb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,7 @@
--- develop ---
+* issue: Shorten the graph drilldown button title from 'Display Syslog in Range' to 'Syslog' so it reads cleanly as a label in Cacti's graph action menu
* feature: Add an auto-refresh interval dropdown and a manual refresh glyph to the Syslog Status toolbar (mirroring the intropage refresh concept); the interval persists through the page's auto-reload and the refresh glyphs spin while their cards reload
* bug: Show the Syslog Status card refresh glyph again by using Font Awesome's fa-sync-alt (the bundled Font Awesome 6 no longer renders the Font Awesome 4 fa-refresh alias)
* change: Repaint the Syslog Status card headers with the active theme's native html_start_box title bar (sampled from the live cactiTableTitle at runtime) instead of a flat surface tint so they match Cacti on every theme, widen the card grid from 6 to 8 columns, drop the card corner radius, and give each header one of four translucent severity overlays - a neutral grey "no severity" default plus intropage's good / warning / error palette (#94b36b / #ff8f1e / #cc0000)
diff --git a/includes/navigation.php b/includes/navigation.php
index 1018026f..c16bf3f5 100644
--- a/includes/navigation.php
+++ b/includes/navigation.php
@@ -144,7 +144,7 @@ function syslog_graph_buttons($graph_elements = []): void {
if ($host_id) {
$url = $config['url_path'] . 'plugins/syslog/syslog.php?tab=syslog&reset=1&host=' . $host_id . '&date1=' . $date1 . '&date2=' . $date2;
- print "
";
+ print "
";
}
}
}
diff --git a/locales/po/cacti.pot b/locales/po/cacti.pot
index 58a080f0..97fdd8ea 100644
--- a/locales/po/cacti.pot
+++ b/locales/po/cacti.pot
@@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: Cacti 1.2.32\n"
+"Project-Id-Version: Cacti \n"
"Report-Msgid-Bugs-To: developers@cacti.net\n"
-"POT-Creation-Date: 2026-10-10 09:25-0400\n"
+"POT-Creation-Date: 2026-10-12 16:17-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Cacti Developers >\n"
"Language-Team: Cacti Developers \n"
@@ -493,10 +493,6 @@ msgstr ""
msgid "Dashboards"
msgstr ""
-#: includes/navigation.php
-msgid "Display Syslog in Range"
-msgstr ""
-
#: includes/settings.php
msgid "Monday"
msgstr ""