summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2018-09-14 23:49:20 -0400
committerBeniamino Galvani <bgalvani@redhat.com>2018-09-15 09:08:03 +0200
commitf985b6944a1147281e34721c96db1a41baca65b3 (patch)
tree87d7771495460461560386e704aa53c298c8c226 /examples
parent30674675cb00785d676c672488fde9e27c2c3df4 (diff)
downloadNetworkManager-f985b6944a1147281e34721c96db1a41baca65b3.tar.gz
docs: misc. typos
Found via `codespell -q 3 --skip="*.po"` https://github.com/NetworkManager/NetworkManager/pull/203
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/lua/lgi/add-connection.lua2
-rwxr-xr-xexamples/lua/lgi/deactivate-all.lua2
-rw-r--r--examples/nm-conf.d/30-anon.conf2
-rwxr-xr-xexamples/python/dbus/create-bond.py2
-rwxr-xr-xexamples/python/gi/add_connection.py2
-rwxr-xr-xexamples/python/gi/deactivate-all.py2
-rwxr-xr-xexamples/python/gi/vpn-import.py2
7 files changed, 7 insertions, 7 deletions
diff --git a/examples/lua/lgi/add-connection.lua b/examples/lua/lgi/add-connection.lua
index 3daf5f32c9..69bc8cb276 100755
--- a/examples/lua/lgi/add-connection.lua
+++ b/examples/lua/lgi/add-connection.lua
@@ -62,7 +62,7 @@ end
function added_cb(client, result, data)
local con,err,code = client:add_connection_finish(result)
if con then
- print("The connection profile has been succesfully added to NetworkManager:")
+ print("The connection profile has been successfully added to NetworkManager:")
print(con:get_id(), con:get_uuid())
else
print(string.format("Error: (%d) %s", code, err))
diff --git a/examples/lua/lgi/deactivate-all.lua b/examples/lua/lgi/deactivate-all.lua
index fb8e0ed535..2e8d8935ce 100755
--- a/examples/lua/lgi/deactivate-all.lua
+++ b/examples/lua/lgi/deactivate-all.lua
@@ -29,7 +29,7 @@
local lgi = require 'lgi'
local NM = lgi.NM
--- suported connection types
+-- supported connection types
connection_types = {
NM.SETTING_VPN_SETTING_NAME,
NM.SETTING_WIRELESS_SETTING_NAME,
diff --git a/examples/nm-conf.d/30-anon.conf b/examples/nm-conf.d/30-anon.conf
index 3e879fc2d4..c523063b35 100644
--- a/examples/nm-conf.d/30-anon.conf
+++ b/examples/nm-conf.d/30-anon.conf
@@ -38,7 +38,7 @@
#
# $ nmcli connection modify "$CON_NAME" connection.stable-id '${CONNECTION}/${BOOT}'
#
-# ... or keep it stable accross reboots, but still distinct per profile:
+# ... or keep it stable across reboots, but still distinct per profile:
#
# $ nmcli connection modify "$CON_NAME" connection.stable-id '${CONNECTION}'
#
diff --git a/examples/python/dbus/create-bond.py b/examples/python/dbus/create-bond.py
index 4600b9c222..4347b2a0b1 100755
--- a/examples/python/dbus/create-bond.py
+++ b/examples/python/dbus/create-bond.py
@@ -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")
diff --git a/examples/python/gi/add_connection.py b/examples/python/gi/add_connection.py
index f5b5e63c0e..25a59235ff 100755
--- a/examples/python/gi/add_connection.py
+++ b/examples/python/gi/add_connection.py
@@ -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()
diff --git a/examples/python/gi/deactivate-all.py b/examples/python/gi/deactivate-all.py
index a45885224a..13d14bc9ac 100755
--- a/examples/python/gi/deactivate-all.py
+++ b/examples/python/gi/deactivate-all.py
@@ -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,
diff --git a/examples/python/gi/vpn-import.py b/examples/python/gi/vpn-import.py
index 6210908aa5..2cb4e744aa 100755
--- a/examples/python/gi/vpn-import.py
+++ b/examples/python/gi/vpn-import.py
@@ -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()