Skip to content

Commit 8861097

Browse files
authored
Spelling and grammar fixes (#135)
1 parent 8114de4 commit 8861097

32 files changed

Lines changed: 50 additions & 50 deletions

lib/addons.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
# ==============================================================================
33
# Home Assistant Community Add-ons: Bashio
4-
# Bashio is an bash function library for use with Home Assistant add-ons.
4+
# Bashio is a bash function library for use with Home Assistant add-ons.
55
#
66
# It contains a set of commonly used operations and can be used
77
# to be included in add-on scripts to reduce code duplication across add-ons.
@@ -311,7 +311,7 @@ function bashio::addon.url() {
311311
}
312312

313313
# ------------------------------------------------------------------------------
314-
# Returns the deatched state of an add-on.
314+
# Returns the detached state of an add-on.
315315
#
316316
# Arguments:
317317
# $1 Add-on slug (optional, default: self)
@@ -603,7 +603,7 @@ function bashio::addon.network_description() {
603603
}
604604

605605
# ------------------------------------------------------------------------------
606-
# Returns a user configured port number for a original port number.
606+
# Returns a user configured port number for an original port number.
607607
#
608608
# Arguments:
609609
# $1 Original port number
@@ -783,7 +783,7 @@ function bashio::addon.usb() {
783783
}
784784

785785
# ------------------------------------------------------------------------------
786-
# Returns whether or not this add-on has a icon available.
786+
# Returns whether or not this add-on has an icon available.
787787
#
788788
# Arguments:
789789
# $1 Add-on slug

lib/api.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
# ==============================================================================
33
# Home Assistant Community Add-ons: Bashio
4-
# Bashio is an bash function library for use with Home Assistant add-ons.
4+
# Bashio is a bash function library for use with Home Assistant add-ons.
55
#
66
# It contains a set of commonly used operations and can be used
77
# to be included in add-on scripts to reduce code duplication across add-ons.
@@ -82,7 +82,7 @@ function bashio::api.supervisor() {
8282
fi
8383

8484
if [[ "${status}" -ne 200 ]]; then
85-
bashio::log.error "Unknown HTTP error occured"
85+
bashio::log.error "Unknown HTTP error occurred"
8686
return "${__BASHIO_EXIT_NOK}"
8787
fi
8888

lib/audio.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
# ==============================================================================
33
# Home Assistant Community Add-ons: Bashio
4-
# Bashio is an bash function library for use with Home Assistant add-ons.
4+
# Bashio is a bash function library for use with Home Assistant add-ons.
55
#
66
# It contains a set of commonly used operations and can be used
77
# to be included in add-on scripts to reduce code duplication across add-ons.

lib/bashio

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
# ==============================================================================
33
# Home Assistant Community Add-ons: Bashio
4-
# Bashio is an bash function library for use with Home Assistant add-ons.
4+
# Bashio is a bash function library for use with Home Assistant add-ons.
55
#
66
# It contains a set of commonly used operations and can be used
77
# to be included in add-on scripts to reduce code duplication across add-ons.

lib/bashio.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# shellcheck disable=SC2034,SC2155
33
# ==============================================================================
44
# Home Assistant Community Add-ons: Bashio
5-
# Bashio is an bash function library for use with Home Assistant add-ons.
5+
# Bashio is a bash function library for use with Home Assistant add-ons.
66
#
77
# It contains a set of commonly used operations and can be used
88
# to be included in add-on scripts to reduce code duplication across add-ons.

lib/cache.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
# ==============================================================================
33
# Home Assistant Community Add-ons: Bashio
4-
# Bashio is an bash function library for use with Home Assistant add-ons.
4+
# Bashio is a bash function library for use with Home Assistant add-ons.
55
#
66
# It contains a set of commonly used operations and can be used
77
# to be included in add-on scripts to reduce code duplication across add-ons.

lib/cli.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
# ==============================================================================
33
# Home Assistant Community Add-ons: Bashio
4-
# Bashio is an bash function library for use with Home Assistant add-ons.
4+
# Bashio is a bash function library for use with Home Assistant add-ons.
55
#
66
# It contains a set of commonly used operations and can be used
77
# to be included in add-on scripts to reduce code duplication across add-ons.

lib/color.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
# ==============================================================================
33
# Home Assistant Community Add-ons: Bashio
4-
# Bashio is an bash function library for use with Home Assistant add-ons.
4+
# Bashio is a bash function library for use with Home Assistant add-ons.
55
#
66
# It contains a set of commonly used operations and can be used
77
# to be included in add-on scripts to reduce code duplication across add-ons.

lib/config.sh

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
# ==============================================================================
33
# Home Assistant Community Add-ons: Bashio
4-
# Bashio is an bash function library for use with Home Assistant add-ons.
4+
# Bashio is a bash function library for use with Home Assistant add-ons.
55
#
66
# It contains a set of commonly used operations and can be used
77
# to be included in add-on scripts to reduce code duplication across add-ons.
@@ -544,13 +544,13 @@ function bashio::config.require.ssl() {
544544
if bashio::config.is_empty "${certfile}"; then
545545
bashio::log.fatal
546546
bashio::log.fatal "SSL has been enabled using the '${key}' option,"
547-
bashio::log.fatal "this requires a SSL certificate file which is"
547+
bashio::log.fatal "this requires an SSL certificate file which is"
548548
bashio::log.fatal "configured using the '${certfile}' option in the"
549549
bashio::log.fatal "add-on configuration."
550550
bashio::log.fatal
551551
bashio::log.fatal "Unfortunately, the '${certfile}' option is empty."
552552
bashio::log.fatal
553-
bashio::log.fatal "Consider configuring or getting a SSL certificate"
553+
bashio::log.fatal "Consider configuring or getting an SSL certificate"
554554
bashio::log.fatal "or setting the '${key}' option to 'false' in case"
555555
bashio::log.fatal "you are not planning on using SSL with this add-on."
556556
bashio::log.fatal
@@ -563,13 +563,13 @@ function bashio::config.require.ssl() {
563563
if bashio::config.is_empty "${keyfile}"; then
564564
bashio::log.fatal
565565
bashio::log.fatal "SSL has been enabled using the '${key}' option,"
566-
bashio::log.fatal "this requires a SSL certificate key file which is"
566+
bashio::log.fatal "this requires an SSL certificate key file which is"
567567
bashio::log.fatal "configured using the '${keyfile}' option in the"
568568
bashio::log.fatal "add-on configuration."
569569
bashio::log.fatal
570570
bashio::log.fatal "Unfortunately, the '${keyfile}' option is empty."
571571
bashio::log.fatal
572-
bashio::log.fatal "Consider configuring or getting a SSL certificate"
572+
bashio::log.fatal "Consider configuring or getting an SSL certificate"
573573
bashio::log.fatal "or setting the '${key}' option to 'false' in case"
574574
bashio::log.fatal "you are not planning on using SSL with this add-on."
575575
bashio::log.fatal
@@ -582,18 +582,18 @@ function bashio::config.require.ssl() {
582582
if ! bashio::fs.file_exists "/ssl/$(bashio::config "${certfile}")"; then
583583
bashio::log.fatal
584584
bashio::log.fatal "SSL has been enabled using the '${key}' option,"
585-
bashio::log.fatal "this requires a SSL certificate file which is"
585+
bashio::log.fatal "this requires an SSL certificate file which is"
586586
bashio::log.fatal "configured using the '${certfile}' option in the"
587587
bashio::log.fatal "add-on configuration."
588588
bashio::log.fatal
589589
bashio::log.fatal "Unfortunately, the file specified in the"
590-
bashio::log.fatal "'${certfile}' option does not exists."
590+
bashio::log.fatal "'${certfile}' option does not exist."
591591
bashio::log.fatal
592592
bashio::log.fatal "Please ensure the certificate file exists and"
593593
bashio::log.fatal "is placed in the '/ssl/' directory."
594594
bashio::log.fatal
595595
bashio::log.fatal "In case you don't have SSL yet, consider getting"
596-
bashio::log.fatal "a SSL certificate or setting the '${key}' option"
596+
bashio::log.fatal "an SSL certificate or setting the '${key}' option"
597597
bashio::log.fatal "to 'false' in case you are not planning on using"
598598
bashio::log.fatal "SSL with this add-on."
599599
bashio::log.fatal
@@ -606,18 +606,18 @@ function bashio::config.require.ssl() {
606606
if ! bashio::fs.file_exists "/ssl/$(bashio::config "${keyfile}")"; then
607607
bashio::log.fatal
608608
bashio::log.fatal "SSL has been enabled using the '${key}' option,"
609-
bashio::log.fatal "this requires a SSL certificate key file which is"
609+
bashio::log.fatal "this requires an SSL certificate key file which is"
610610
bashio::log.fatal "configured using the '${keyfile}' option in the"
611611
bashio::log.fatal "add-on configuration."
612612
bashio::log.fatal
613613
bashio::log.fatal "Unfortunately, the file specified in the"
614-
bashio::log.fatal "'${keyfile}' option does not exists."
614+
bashio::log.fatal "'${keyfile}' option does not exist."
615615
bashio::log.fatal
616616
bashio::log.fatal "Please ensure the certificate key file exists and"
617617
bashio::log.fatal "is placed in the '/ssl/' directory."
618618
bashio::log.fatal
619619
bashio::log.fatal "In case you don't have SSL yet, consider getting"
620-
bashio::log.fatal "a SSL certificate or setting the '${key}' option"
620+
bashio::log.fatal "an SSL certificate or setting the '${key}' option"
621621
bashio::log.fatal "to 'false' in case you are not planning on using"
622622
bashio::log.fatal "SSL with this add-on."
623623
bashio::log.fatal

lib/const.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# shellcheck disable=SC2004,SC2034
33
# ==============================================================================
44
# Home Assistant Community Add-ons: Bashio
5-
# Bashio is an bash function library for use with Home Assistant add-ons.
5+
# Bashio is a bash function library for use with Home Assistant add-ons.
66
#
77
# It contains a set of commonly used operations and can be used
88
# to be included in add-on scripts to reduce code duplication across add-ons.

0 commit comments

Comments
 (0)