aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/wireshark_it.ts
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-11-16 02:15:47 -0800
committerGuy Harris <guy@alum.mit.edu>2018-11-16 12:21:00 +0000
commitb894c53d5ea1395e042bb05e471d651af486dfab (patch)
tree9bd6a6c5168fe4c4594508c912765a342ab9afe0 /ui/qt/wireshark_it.ts
parenteea4997f7e52e0126448225dfd04da840f73ec0c (diff)
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 <guy@alum.mit.edu> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/qt/wireshark_it.ts')
-rw-r--r--ui/qt/wireshark_it.ts12
1 files changed, 0 insertions, 12 deletions
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
@@ -937,10 +937,6 @@
<translation type="unfinished"></translation>
</message>
<message>
- <source> (gzip compressed)</source>
- <translation> (compresso con gzip)</translation>
- </message>
- <message>
<source>Format</source>
<translation>Formato</translation>
</message>
@@ -3069,10 +3065,6 @@ NOTA: un&apos;opzione DEVE essere selezionata.</translation>
<translation>Lunghezza</translation>
</message>
<message>
- <source> (gzip compressed)</source>
- <translation> (compresso con gzip)</translation>
- </message>
- <message>
<source>Format</source>
<translation>Formato</translation>
</message>
@@ -7885,10 +7877,6 @@ NOTA: un&apos;opzione DEVE essere selezionata.</translation>
<translation>Lunghezza</translation>
</message>
<message>
- <source> (gzip compressed)</source>
- <translation> (compresso con gzip)</translation>
- </message>
- <message>
<source>Format</source>
<translation>Formato</translation>
</message>