From 4861161bd4ae8562e30ad085175aba8451f58d57 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Sat, 27 Jul 2013 12:43:53 +0200 Subject: [PATCH] trivial: fix spelling errors in code comments and README file Signed-off-by: Thomas Haller --- po/gl.po | 2 +- src/devices/nm-device-adsl.c | 2 +- src/modem-manager/README | 2 +- src/settings/plugins/example/writer.c | 2 +- src/settings/plugins/ifnet/connection_parser.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/po/gl.po b/po/gl.po index 5131f2b919..310b66f8d5 100644 --- a/po/gl.po +++ b/po/gl.po @@ -1194,7 +1194,7 @@ msgstr "" " disconnect iface [--nowait] [--timeout ]\n" " wifi [list [iface ] [bssid ]]\n" " wifi connect <(B)SSID> [password ] [wep-key-type chave|frase] " -"[iface ] [bssid ] [name ]\n" +"[iface ] [bssid ] [name ]\n" " [--private] [--nowait] [--timeout ]\n" " wimax [list [iface ] [nsp ]]\n" "\n" diff --git a/src/devices/nm-device-adsl.c b/src/devices/nm-device-adsl.c index 72e3f7a4e1..0a7b98f5a5 100644 --- a/src/devices/nm-device-adsl.c +++ b/src/devices/nm-device-adsl.c @@ -448,7 +448,7 @@ act_stage3_ip4_config_start (NMDevice *device, s_adsl = nm_connection_get_setting_adsl (connection); g_assert (s_adsl); - /* PPPoE uses the NAS inteface, not the ATM interface */ + /* PPPoE uses the NAS interface, not the ATM interface */ if (g_strcmp0 (nm_setting_adsl_get_protocol (s_adsl), NM_SETTING_ADSL_PROTOCOL_PPPOE) == 0) { g_assert (priv->nas_ifname); ppp_iface = priv->nas_ifname; diff --git a/src/modem-manager/README b/src/modem-manager/README index 3aacda7308..4661c04287 100644 --- a/src/modem-manager/README +++ b/src/modem-manager/README @@ -12,7 +12,7 @@ Common source * nm-modem-manager.[h|c]: Defines the `NMModemManager' object, which takes care of listening to - signals from the DBus inteface notifying about added or removed modems. + signals from the DBus interface notifying about added or removed modems. It also takes care of creating proper `NMModem' objects from the information retrieved from the DBus interface. diff --git a/src/settings/plugins/example/writer.c b/src/settings/plugins/example/writer.c index 4703fa9482..f0a9ea2102 100644 --- a/src/settings/plugins/example/writer.c +++ b/src/settings/plugins/example/writer.c @@ -42,7 +42,7 @@ write_connection (NMConnection *connection, /* There are two approaches to converting the data. The first more manual * approach consists of grabbing each setting value from the NMConnection * and converting it into the appropriate value for the plugin's data - * format. This is usually taken by distro plugins becuase their format + * format. This is usually taken by distro plugins because their format * is significantly different than NetworkManager's internal format. * The second uses nm_connection_for_each_setting_value() to iterate * through each value of each setting in the NMConnection, convert it to diff --git a/src/settings/plugins/ifnet/connection_parser.c b/src/settings/plugins/ifnet/connection_parser.c index 8aed34437b..cec573cfe2 100644 --- a/src/settings/plugins/ifnet/connection_parser.c +++ b/src/settings/plugins/ifnet/connection_parser.c @@ -1273,7 +1273,7 @@ parse_wpa_psk (const char *psk, GError **error) return NULL; } - /* Passphrase must be between 10 and 66 characters in length becuase WPA + /* Passphrase must be between 10 and 66 characters in length because WPA * hex keys are exactly 64 characters (no quoting), and WPA passphrases * are between 8 and 63 characters (inclusive), plus optional quoting if * the passphrase contains spaces.