Skip to content

Commit

Permalink
Fixed English typos in comments and user-visible messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
rmanfredi committed Dec 10, 2012
1 parent ffbf96d commit 5e8cd12
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/core/file_object.c
Expand Up @@ -429,7 +429,7 @@ file_object_release(struct file_object **fo_ptr)
* - FO_OP_UNLINK unlinks the file, denying further access to the file
* even if it was already opened.
*
* - FO_OP_RENAME renames the file, making it transparent for users whith
* - FO_OP_RENAME renames the file, making it transparent for users with
* current accesses on the file being renamed.
*
* - FO_OP_MOVED notifies that the file was moved around (accross file
Expand Down
2 changes: 1 addition & 1 deletion src/core/settings.c
Expand Up @@ -635,7 +635,7 @@ settings_update_firewalled(void)
{
/*
* The determination of the UDP firewalled status is not 100% safe,
* since any datagram received from a host whith whom we recently
* since any datagram received from a host with whom we recently
* communicated could lead us into believing we are receiving usolicited
* traffic.
*
Expand Down
5 changes: 3 additions & 2 deletions src/core/uploads.c
Expand Up @@ -506,7 +506,8 @@ upload_no_more_early_stalling(watchdog_t *unused_wd, void *unused_obj)
if (bws_uniform_allocation(BSCHED_BWS_OUT, FALSE)) {
gnet_prop_set_boolean_val(PROP_UPLOADS_BW_UNIFORM, FALSE);
if (GNET_PROPERTY(upload_debug)) {
g_warning("UL switched back to non-uniform HTTP ougoing bandwidth");
g_warning("UL switched back to non-uniform HTTP "
"outgoing bandwidth");
}
}

Expand Down Expand Up @@ -586,7 +587,7 @@ upload_early_stall(void)
if (!bws_uniform_allocation(BSCHED_BWS_OUT, TRUE)) {
gnet_prop_set_boolean_val(PROP_UPLOADS_BW_UNIFORM, TRUE);
if (GNET_PROPERTY(upload_debug)) {
g_warning("UL switching to uniform HTTP ougoing bandwidth");
g_warning("UL switching to uniform HTTP outgoing bandwidth");
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/if/gui_property.c
Expand Up @@ -2484,7 +2484,7 @@ gui_prop_init(void) {
* General data:
*/
gui_property->props[117].name = "search_discard_alien_ip";
gui_property->props[117].desc = _("Discard search results whith an alien IP address, not matching the one from which the results come from.");
gui_property->props[117].desc = _("Discard search results with an alien IP address, not matching the one from which the results come from.");
gui_property->props[117].ev_changed = event_new("search_discard_alien_ip_changed");
gui_property->props[117].save = TRUE;
gui_property->props[117].vector_size = 1;
Expand Down Expand Up @@ -2535,7 +2535,7 @@ gui_prop_init(void) {
* General data:
*/
gui_property->props[120].name = "search_display_guess_stats";
gui_property->props[120].desc = _("Whether a summary line with GUESS search stats should be dispayed.");
gui_property->props[120].desc = _("Whether a summary line with GUESS search stats should be displayed.");
gui_property->props[120].ev_changed = event_new("search_display_guess_stats_changed");
gui_property->props[120].save = TRUE;
gui_property->props[120].vector_size = 1;
Expand Down
5 changes: 3 additions & 2 deletions src/if/gui_props.ag
Expand Up @@ -1355,7 +1355,7 @@ prop = {

prop = {
name = "search_discard_alien_ip";
desc = "Discard search results whith an alien IP address, not matching "
desc = "Discard search results with an alien IP address, not matching "
"the one from which the results come from.";
type = boolean;
data = {
Expand Down Expand Up @@ -1384,7 +1384,8 @@ prop = {

prop = {
name = "search_display_guess_stats";
desc = "Whether a summary line with GUESS search stats should be dispayed.";
desc = "Whether a summary line with GUESS search stats "
"should be displayed.";
type = boolean;
data = {
default = TRUE;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/zalloc.c
Expand Up @@ -554,7 +554,7 @@ zprepare(zone_t *zone, char **blk)
/**
* Lock zone.
*
* Don't inline to get proper lock location whith SPINLOCK_DEBUG
* Don't inline to get proper lock location with SPINLOCK_DEBUG
*/
#define zlock(zone) G_STMT_START { \
if (zone->private) \
Expand Down
4 changes: 2 additions & 2 deletions src/ui/gtk/gtk1/gtk-gnutella.glade
Expand Up @@ -8038,7 +8038,7 @@
<widget>
<class>GtkEventBox</class>
<name>eventbox_early_stall_2</name>
<tooltip>Splitting ougoing HTTP bandwidth evenly.</tooltip>
<tooltip>Splitting outgoing HTTP bandwidth evenly.</tooltip>
<child>
<padding>0</padding>
<expand>True</expand>
Expand Down Expand Up @@ -23297,7 +23297,7 @@ allowed</label>
<class>GtkCheckButton</class>
<name>checkbutton_pfsp_rare_server</name>
<can_focus>True</can_focus>
<label>Enable upload of patial files deemed rare</label>
<label>Enable upload of partial files deemed rare</label>
<active>False</active>
<draw_indicator>True</draw_indicator>
<child>
Expand Down
4 changes: 2 additions & 2 deletions src/ui/gtk/gtk1/interface-glade.c
Expand Up @@ -5784,7 +5784,7 @@ create_main_window (void)
(GtkDestroyNotify) gtk_widget_unref);
gtk_widget_show (eventbox_early_stall_2);
gtk_box_pack_start (GTK_BOX (hbox2110), eventbox_early_stall_2, TRUE, TRUE, 0);
gtk_tooltips_set_tip (tooltips, eventbox_early_stall_2, _("Splitting ougoing HTTP bandwidth evenly."), NULL);
gtk_tooltips_set_tip (tooltips, eventbox_early_stall_2, _("Splitting outgoing HTTP bandwidth evenly."), NULL);

image_early_stall_2 = create_pixmap (main_window, "upload-yellow.xpm");
gtk_widget_set_name (image_early_stall_2, "image_early_stall_2");
Expand Down Expand Up @@ -15990,7 +15990,7 @@ create_dlg_prefs (void)
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);

checkbutton_pfsp_rare_server = gtk_check_button_new_with_label (_("Enable upload of patial files deemed rare"));
checkbutton_pfsp_rare_server = gtk_check_button_new_with_label (_("Enable upload of partial files deemed rare"));
gtk_widget_set_name (checkbutton_pfsp_rare_server, "checkbutton_pfsp_rare_server");
gtk_widget_ref (checkbutton_pfsp_rare_server);
gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_pfsp_rare_server", checkbutton_pfsp_rare_server,
Expand Down
4 changes: 2 additions & 2 deletions src/ui/gtk/gtk1/interface-glade.t
Expand Up @@ -621,7 +621,7 @@ N_("DHT looking up own KUID.");
N_("DHT seeded.");
N_("DHT inactive.");
N_("Disabled stealing of outgoing HTTP bandwidth.");
N_("Splitting ougoing HTTP bandwidth evenly.");
N_("Splitting outgoing HTTP bandwidth evenly.");
N_("Capping HTTP outgoing bandwidth.");
N_("Port mapping possible through UPnP or NAT-PMP.");
N_("Port mapping configured through NAT-PMP.");
Expand All @@ -630,7 +630,7 @@ N_("Enable UPnP");
N_("Enable NAT-PMP");
N_("Enable HTTP request pipelining");
N_("Pipelining max chunk size");
N_("Enable upload of patial files deemed rare");
N_("Enable upload of partial files deemed rare");
N_("Enable GUESS (additional querying)");
N_("Issue GUESS queries as well");
N_("Bandwidth limits for GUESS queries");
Expand Down
2 changes: 1 addition & 1 deletion src/ui/gtk/gtk2/gtk-gnutella.glade
Expand Up @@ -24047,7 +24047,7 @@ message</property>
<widget class="GtkCheckButton" id="checkbutton_config_bws_dht_out">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">Global DHT ougoing traffic</property>
<property name="label" translatable="yes">Global DHT outgoing traffic</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
Expand Down
2 changes: 1 addition & 1 deletion src/ui/gtk/gtk2/interface-glade.c
Expand Up @@ -12484,7 +12484,7 @@ create_dlg_prefs_bw_tab (void)
(GtkAttachOptions) (0), 0, 0);
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_bws_dht_out), TRUE);

checkbutton_config_bws_dht_out = gtk_check_button_new_with_mnemonic (_("Global DHT ougoing traffic"));
checkbutton_config_bws_dht_out = gtk_check_button_new_with_mnemonic (_("Global DHT outgoing traffic"));
gtk_widget_set_name (checkbutton_config_bws_dht_out, "checkbutton_config_bws_dht_out");
gtk_widget_show (checkbutton_config_bws_dht_out);
gtk_table_attach (GTK_TABLE (table116), checkbutton_config_bws_dht_out, 0, 1, 0, 1,
Expand Down

0 comments on commit 5e8cd12

Please sign in to comment.