Project

General

Profile

Actions

Bug #7555

closed

Snort settings show translation metadata when creating a new interface that is not yet defined

Added by Jim Pingle almost 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Category:
Snort
Target version:
Start date:
05/17/2017
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
2.4
Affected Plus Version:
Affected Architecture:
All

Description

A few places in snort call gettext("{$if_friendly}") but that ends up showing translation metadata when it is a new interface that has not yet been saved/enabled.

Example, the breadcrumbs when creating a new interface show:

    Services / Snort / Edit Interface / Project-Id-Version: PACKAGE VERSION Report-Msgid-Bugs-To: POT-Creation-Date: 2017-05-16 09:23-0300 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PO-Revision-Date: 2017-02-03 05:17-0500 Last-Translator: Jim Thompson Language-Team: English (United States) Language: en-US X-Generator: Zanata 3.9.6 Plural-Forms: nplurals=2; plural=(n != 1) 

In this case, $if_friendly is NULL when gettext is called.

Actions

Also available in: Atom PDF