summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/status_logs_common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/status_logs_common.inc')
-rw-r--r--src/usr/local/www/status_logs_common.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/status_logs_common.inc b/src/usr/local/www/status_logs_common.inc
index 99610da..efeeaf5 100644
--- a/src/usr/local/www/status_logs_common.inc
+++ b/src/usr/local/www/status_logs_common.inc
@@ -682,12 +682,12 @@ function manage_log_code() {
// If any of the logging settings were changed then backup and sync (standard write_config). Otherwise only write config (don't backup, don't sync).
if ($logging_changed) {
- write_config($desc = "Log Display Settings Saved: " . gettext($allowed_logs[$logfile]["name"]), $backup = true, $write_config_only = false);
+ write_config($desc = gettext("Log Display Settings Saved: ") . gettext($allowed_logs[$logfile]["name"]), $backup = true, $write_config_only = false);
$retval = 0;
$retval = system_syslogd_start();
$savemsg = gettext("The changes have been applied successfully.");
} else {
- write_config($desc = "Log Display Settings Saved (no backup, no sync): " . gettext($allowed_logs[$logfile]["name"]), $backup = false, $write_config_only = true);
+ write_config($desc = gettext("Log Display Settings Saved (no backup, no sync): ") . gettext($allowed_logs[$logfile]["name"]), $backup = false, $write_config_only = true);
$savemsg = '';
}
OpenPOWER on IntegriCloud