trivial: fix spelling errors in code comments and README file

Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
Thomas Haller 2013-07-27 12:43:53 +02:00 committed by Dan Williams
parent 04bd4a9ea5
commit 4861161bd4
5 changed files with 5 additions and 5 deletions

View file

@ -1194,7 +1194,7 @@ msgstr ""
" disconnect iface <interface> [--nowait] [--timeout <tempo de espera>]\n"
" wifi [list [iface <interface>] [bssid <BSSID>]]\n"
" wifi connect <(B)SSID> [password <contrasinal>] [wep-key-type chave|frase] "
"[iface <inteface>] [bssid <BSSID>] [name <nome>]\n"
"[iface <interface>] [bssid <BSSID>] [name <nome>]\n"
" [--private] [--nowait] [--timeout <tempo de espera>]\n"
" wimax [list [iface <interface>] [nsp <nome>]]\n"
"\n"

View file

@ -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;

View file

@ -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.

View file

@ -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

View file

@ -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.