diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/filter_log.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/filter_log.inc b/etc/inc/filter_log.inc index ed4b311..e78bc0c 100644 --- a/etc/inc/filter_log.inc +++ b/etc/inc/filter_log.inc @@ -159,7 +159,7 @@ function parse_filter_line($line) { return $flent; } else { if($g['debug']) { - log_error("There was a error parsing rule: $errline. Please report to mailing list or forum."); + log_error(sprintf(gettext("There was a error parsing rule: %s. Please report to mailing list or forum."), $errline)); } return ""; } @@ -203,7 +203,7 @@ function get_port_with_service($port, $proto) { $service = getservbyport($port, $proto); $portstr = ""; if ($service) { - $portstr = "<span title=\"Service {$port}/{$proto}: {$service}\">" . htmlspecialchars($port) . "</span>"; + $portstr = sprintf(gettext("<span title=\"Service %s/%s: %s\">%s</span>"), $port, $proto, $service, htmlspecialchars($port)); } else { $portstr = htmlspecialchars($port); } @@ -279,4 +279,4 @@ function handle_ajax($nentries, $tail = 50) { } } -?>
\ No newline at end of file +?> |