Put a space between the number of bytes (for a file < 1024 bytes) and

"Bytes".

"Interface description" vs. "interface name" isn't Windows vs. UN*X,
it's "has a description" vs. "doesn't have a description" - the lack of
descriptions in UN*X is a result of

	1) lack of a mechanism to supply descriptions in some UN*Xes

and

	2) lack of code in libpcap to get those descriptions in some
	   other UN*Xes

and I need to work on fixing 2) (I think it can be dredged out of
FreeBSD 6 and 7, I seem to remember current OpenBSD supplying them, and
for OS X we might as well cheat the way the network preference pane does
and just call en0 the main Ethernet and en1 the AirPort interface).

Use an adverb rather than an adjective to modify a noun, as per Chris
Maynard's suggestion.

svn path=/trunk/; revision=25089
This commit is contained in:
Guy Harris 2008-04-17 02:38:21 +00:00
parent 04daff59de
commit 1b4b6462e8
1 changed files with 6 additions and 7 deletions

View File

@ -279,7 +279,7 @@ welcome_filename_link_new(const gchar *filename, GtkWidget **label)
} else if (stat_buf.st_size/1024 > 10) {
g_string_append_printf(str, " %" G_GINT64_MODIFIER "dKB", (gint64) (stat_buf.st_size/1024));
} else {
g_string_append_printf(str, " %" G_GINT64_MODIFIER "dBytes", (gint64) (stat_buf.st_size));
g_string_append_printf(str, " %" G_GINT64_MODIFIER "d Bytes", (gint64) (stat_buf.st_size));
}
} else {
g_string_append(str, " (not found)");
@ -452,11 +452,10 @@ welcome_if_panel_new(void)
continue;
}
#ifdef _WIN32
interface_hb = welcome_if_new(if_info->description, &topic_content_bg, g_strdup(if_info->name));
#else
interface_hb = welcome_if_new(if_info->name, &topic_content_bg, g_strdup(if_info->name));
#endif
if (if_info->description != NULL)
interface_hb = welcome_if_new(if_info->description, &topic_content_bg, g_strdup(if_info->name));
else
interface_hb = welcome_if_new(if_info->name, &topic_content_bg, g_strdup(if_info->name));
gtk_box_pack_start(GTK_BOX(panel_vb), interface_hb, FALSE, FALSE, 2);
}
@ -652,7 +651,7 @@ welcome_new(void)
item_hb = welcome_button(WIRESHARK_STOCK_WIKI,
"Security",
"Work with Wireshark as secure as possible",
"Work with Wireshark as securely as possible",
GTK_SIGNAL_FUNC(topic_menu_cb), GINT_TO_POINTER(ONLINEPAGE_SECURITY));
gtk_box_pack_start(GTK_BOX(topic_to_fill), item_hb, FALSE, FALSE, 5);