From ceee4f3fd4312b2d03ef063fc045160bb33717cd Mon Sep 17 00:00:00 2001 From: Tony Roman Date: Sat, 7 Oct 2017 12:12:01 -0400 Subject: [PATCH] Remove translation of log messages (for now). --- lib/rrd.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/rrd.php b/lib/rrd.php index 44a9b6726..bfaa48c9c 100644 --- a/lib/rrd.php +++ b/lib/rrd.php @@ -2862,7 +2862,7 @@ function rrd_datasource_add($file_array, $ds_array, $debug) { rrdtool_execute("restore -f $xml_file $file", false, RRDTOOL_OUTPUT_STDOUT, $rrdtool_pipe, 'UTIL'); /* scratch that XML file to avoid filling up the disk */ unlink($xml_file); - cacti_log(__('Added Data Source(s) to RRDfile: %s', $file), false, 'UTIL'); + cacti_log('Added Data Source(s) to RRDfile: ' . $file, false, 'UTIL'); } else { $check['err_msg'] = __('ERROR: RRDfile %s not writeable', $file); return $check; @@ -2917,7 +2917,7 @@ function rrd_rra_delete($file_array, $rra_array, $debug) { rrdtool_execute("restore -f $xml_file $file", false, RRDTOOL_OUTPUT_STDOUT, $rrdtool_pipe, 'UTIL'); /* scratch that XML file to avoid filling up the disk */ unlink($xml_file); - cacti_log(__('Deleted RRA(s) from RRDfile: %s', $file), false, 'UTIL'); + cacti_log('Deleted RRA(s) from RRDfile: ' . $file, false, 'UTIL'); } else { $check['err_msg'] = __('ERROR: RRDfile %s not writeable', $file); return $check; @@ -2973,7 +2973,7 @@ function rrd_rra_clone($file_array, $cf, $rra_array, $debug) { rrdtool_execute("restore -f $xml_file $file", false, RRDTOOL_OUTPUT_STDOUT, $rrdtool_pipe, 'UTIL'); /* scratch that XML file to avoid filling up the disk */ unlink($xml_file); - cacti_log(__('Deleted rra(s) from rrd file: %s', $file), false, 'UTIL'); + cacti_log('Deleted rra(s) from rrd file: ' . $file, false, 'UTIL'); } else { $check['err_msg'] = __('ERROR: RRD file %s not writeable', $file); return $check;