summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_rrd_graph_img.php
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-08-11 22:18:34 -0600
committerErik Fonnesbeck <efonnes@gmail.com>2010-08-11 22:18:34 -0600
commitddc55e124418ff8b417a4353afcc5a814af4041d (patch)
tree6e4988855444d56ad77e7b562d0ee052c2117f19 /usr/local/www/status_rrd_graph_img.php
parente36c52f4c0cc9819f7fd6ed6daa3e0f36d57bba5 (diff)
downloadpfsense-ddc55e124418ff8b417a4353afcc5a814af4041d.zip
pfsense-ddc55e124418ff8b417a4353afcc5a814af4041d.tar.gz
Modify various (s)printf format strings to allow translations to change the order of the inserted strings.
Diffstat (limited to 'usr/local/www/status_rrd_graph_img.php')
-rw-r--r--usr/local/www/status_rrd_graph_img.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/status_rrd_graph_img.php b/usr/local/www/status_rrd_graph_img.php
index 6414a9c..4e7b887 100644
--- a/usr/local/www/status_rrd_graph_img.php
+++ b/usr/local/www/status_rrd_graph_img.php
@@ -930,7 +930,7 @@ if (file_exists("$rrdtmppath$curdatabase-$curgraph.png")) {
usleep(500);
}
if(($graphcmdreturn <> 0) || (! $data)) {
- log_error(sprintf(gettext("Failed to create graph with error code %s, the error is: %s"),$graphcmdreturn,$graphcmdoutput));
+ log_error(sprintf(gettext('Failed to create graph with error code %1$s, the error is: %2$s'),$graphcmdreturn,$graphcmdoutput));
if(strstr($curdatabase, "queues")) {
log_error(sprintf(gettext("failed to create graph from %s%s, removing database"),$rrddbpath,$curdatabase));
exec("/bin/rm -f $rrddbpath$curif$queues");
OpenPOWER on IntegriCloud