From b894c53d5ea1395e042bb05e471d651af486dfab Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 16 Nov 2018 02:15:47 -0800 Subject: Add an API to get a description of a compression type, and use it. Add wtap_compression_type_description(), which returns NULL for WTAP_UNCOMPRESSED and a descriptive string for other compression types. Instead of checking for WTAP_GZIP_COMPRESSED and appending "(gzip compressed)", just pass the compression type to wtap_compression_type_description() and, if the result is non-null, append its result, wrapped in parentheses, with a space before the left parenthesis. Change-Id: I79a999c7838a883953795d5cbab009966e14b65e Reviewed-on: https://code.wireshark.org/review/30666 Petri-Dish: Guy Harris Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris --- ui/qt/wireshark_it.ts | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'ui/qt/wireshark_it.ts') diff --git a/ui/qt/wireshark_it.ts b/ui/qt/wireshark_it.ts index 8ac3b7d174..3d2bb5cf9a 100644 --- a/ui/qt/wireshark_it.ts +++ b/ui/qt/wireshark_it.ts @@ -936,10 +936,6 @@ Hash (SHA1) - - (gzip compressed) - (compresso con gzip) - Format Formato @@ -3068,10 +3064,6 @@ NOTA: un'opzione DEVE essere selezionata. Length Lunghezza - - (gzip compressed) - (compresso con gzip) - Format Formato @@ -7884,10 +7876,6 @@ NOTA: un'opzione DEVE essere selezionata. Length Lunghezza - - (gzip compressed) - (compresso con gzip) - Format Formato -- cgit v1.2.3