Replace "n/a" with an em dash.

Replace occurrences of "n/a" with an em dash. It matches what we do
elsewhere and reduces the need for translation.

Change-Id: Ib5b63be765b7da9ae3e66ab19bd25cb497fd722d
Reviewed-on: https://code.wireshark.org/review/20267
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Gerald Combs 2017-02-24 12:20:51 -08:00 committed by Anders Broman
parent 42cf565b50
commit faaff7d180
3 changed files with 8 additions and 6 deletions

View File

@ -27,6 +27,7 @@
#include "summary.h"
#include "wsutil/str_util.h"
#include "wsutil/utf8_entities.h"
#include "ws_version_info.h"
#include "qt_ui_utils.h"
@ -357,8 +358,7 @@ QString CaptureFilePropertiesDialog::summaryToHtml()
<< table_hheader25_tmpl.arg(tr("Marked"))
<< table_row_end;
// TRANSLATOR Abbreviation for "not applicable"
QString n_a = tr("N/A");
QString n_a = UTF8_EM_DASH;
QString captured_str, displayed_str, marked_str;
// Packets

View File

@ -38,6 +38,8 @@
#include <epan/asn1.h>
#include <epan/dissectors/packet-gsm_map.h>
#include "wsutil/utf8_entities.h"
#include "ui/capture_globals.h"
#include "ui/simple_dialog.h"
@ -184,8 +186,7 @@ QString GsmMapSummaryDialog::summaryToHtml()
out << table_end;
// TRANSLATOR Abbreviation for "not applicable"
QString n_a = tr("N/A");
QString n_a = UTF8_EM_DASH;
QString invoke_rate_str, result_rate_str, total_rate_str;
QString invoke_avg_size_str, result_avg_size_str, total_avg_size_str;

View File

@ -37,6 +37,8 @@
#include <epan/dissectors/packet-mtp3.h>
#include "wsutil/utf8_entities.h"
#include "ui/capture_globals.h"
#include "ui/simple_dialog.h"
@ -189,8 +191,7 @@ QString Mtp3SummaryDialog::summaryToHtml()
out << table_end;
// TRANSLATOR Abbreviation for "not applicable"
QString n_a = tr("N/A");
QString n_a = UTF8_EM_DASH;
int total_msus = 0;
int total_bytes = 0;
double seconds = summary.stop_time - summary.start_time;