docs: misc. typos

Found via `codespell -q 3 --skip="*.po"`

https://github.com/NetworkManager/NetworkManager/pull/203
This commit is contained in:
luz.paz
2018-09-14 23:49:20 -04:00
committed by Beniamino Galvani
parent 30674675cb
commit f985b6944a
47 changed files with 95 additions and 95 deletions

View File

@@ -101,7 +101,7 @@ loop = GObject.MainLoop()
def properties_changed(props):
if 'State' in props:
if props['State'] == 2:
print("Succesfully connected")
print("Successfully connected")
loop.quit()
if props['State'] == 3 or props['State'] == 4:
print("Bond activation failed")

View File

@@ -69,7 +69,7 @@ def create_profile(name):
def added_cb(client, result, data):
try:
client.add_connection_finish(result)
print("The connection profile has been succesfully added to NetworkManager.")
print("The connection profile has been successfully added to NetworkManager.")
except Exception as e:
sys.stderr.write("Error: %s\n" % e)
main_loop.quit()

View File

@@ -35,7 +35,7 @@ import gi
gi.require_version('NM', '1.0')
from gi.repository import NM
# suported connection types
# supported connection types
connection_types = {
NM.SETTING_VPN_SETTING_NAME,
NM.SETTING_WIRELESS_SETTING_NAME,

View File

@@ -64,7 +64,7 @@ main_loop = GLib.MainLoop()
def added_cb(client, result, data):
try:
client.add_connection_finish(result)
print("The connection profile has been succesfully added to NetworkManager.")
print("The connection profile has been successfully added to NetworkManager.")
except Exception, e:
print("ERROR: failed to add connection: %s\n" % e)
main_loop.quit()