From be7e22ddc29ee7ed64f80b4fce6dccebe67aca16 Mon Sep 17 00:00:00 2001 From: Stefan Weil <sw@weilnetz.de> Date: Tue, 10 Jan 2023 19:07:51 +0100 Subject: [PATCH] Fix some typos (found by codespell) Signed-off-by: Stefan Weil <sw@weilnetz.de> --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- contrib/i18n-scan.pl | 2 +- docs/dev/build.rst | 2 +- docs/features/vpn.rst | 6 +++--- docs/releases/v2020.2.3.rst | 2 +- docs/releases/v2021.1.1.rst | 2 +- docs/user/mtu.rst | 2 +- package/gluon-config-mode-theme/sass/gluon.scss | 2 +- package/gluon-core/luasrc/usr/lib/lua/gluon/wireless.lua | 2 +- package/gluon-ebtables-limit-arp/src/lookup3.c | 8 ++++---- package/gluon-status-page/i18n/ru.README | 2 +- package/gluon-status-page/sass/status-page.scss | 2 +- .../luasrc/usr/lib/lua/gluon/web/http/protocol.lua | 4 ++-- 13 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index bbc2792d6..67daeda72 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -6,7 +6,7 @@ label: bug <!-- -Please carefully fill out the questionaire below to help improve the +Please carefully fill out the questionnaire below to help improve the timely triaging of issues. Walk through the questions below and use them as an inspiration for what information you can provide. diff --git a/contrib/i18n-scan.pl b/contrib/i18n-scan.pl index e6aaf0de2..1834eba01 100755 --- a/contrib/i18n-scan.pl +++ b/contrib/i18n-scan.pl @@ -4,7 +4,7 @@ use strict; use warnings; use Text::Balanced qw(extract_bracketed extract_delimited extract_tagged); -@ARGV >= 1 || die "Usage: $0 <source direcory>\n"; +@ARGV >= 1 || die "Usage: $0 <source directory>\n"; my %stringtable; diff --git a/docs/dev/build.rst b/docs/dev/build.rst index 92fd672bd..efde648da 100644 --- a/docs/dev/build.rst +++ b/docs/dev/build.rst @@ -91,7 +91,7 @@ update.sh getversion.sh Used to determine the version numbers of the repositories of Gluon and the - site configuraiton, to be included in the built firmware images as + site configuration, to be included in the built firmware images as */lib/gluon/gluon-version* and */lib/gluon/site-version*. By default, this uses ``git describe`` to generate a version number based diff --git a/docs/features/vpn.rst b/docs/features/vpn.rst index ce962fc68..a65750c10 100644 --- a/docs/features/vpn.rst +++ b/docs/features/vpn.rst @@ -102,7 +102,7 @@ However, the important changes to the fastd config on your Supernode are: | This tells fastd to use the l2tp kernel module. - | Set ``persist interface no;`` - | This tells fastd to only keep interfaces arround while the connection is active. + | This tells fastd to only keep interfaces around while the connection is active. Note that in ``multitap`` mode, which is required when using L2TP offloading, fastd will create one interface per peer on the supernode's. This allows @@ -114,7 +114,7 @@ There are two main options on how you can handle this: - create ``on up`` and ``on down`` hooks - to handle interface setup and destruction - - preferrably using the async keyword, so hooks are not blocking fastd + - preferably using the async keyword, so hooks are not blocking fastd - use a daemon like systemd-networkd @@ -179,7 +179,7 @@ More information about the wgpeerselector and its algorithm can be found `here <https://github.com/freifunk-gluon/packages/blob/master/net/wgpeerselector/README.md>`__. On the gluon node both VXLAN and the wgpeerselector are well integrated and no -explicit configuation of those tools is necessary, once the general WireGuard +explicit configuration of those tools is necessary, once the general WireGuard support has been configured. Attention must by paid to time synchronization. As WireGuard diff --git a/docs/releases/v2020.2.3.rst b/docs/releases/v2020.2.3.rst index 67bf7f399..665f1a183 100644 --- a/docs/releases/v2020.2.3.rst +++ b/docs/releases/v2020.2.3.rst @@ -7,7 +7,7 @@ Bugfixes - LEDs on the ASUS RT-AC51 are now fully functional. - Netgear EX6150v1 randomly booting into failsafe mode has been fixed. - This happened dependant on the state of the mode setting switch. + This happened dependent on the state of the mode setting switch. - Dnsmasq has been patched against multiple security issues in its DNS response validation. See the OpenWrt advisory at https://openwrt.org/advisory/2021-01-19-1 diff --git a/docs/releases/v2021.1.1.rst b/docs/releases/v2021.1.1.rst index eeae65415..573babf5f 100644 --- a/docs/releases/v2021.1.1.rst +++ b/docs/releases/v2021.1.1.rst @@ -30,7 +30,7 @@ ramips-mt76x8 Bugfixes -------- -- Missing bandwith limit settings resulted in a respondd crash for v2021.1. +- Missing bandwidth limit settings resulted in a respondd crash for v2021.1. - The Tunneldigger VPN provider was not registered with the Gluon VPN backend, resulting in broken Tunneldigger configurations. diff --git a/docs/user/mtu.rst b/docs/user/mtu.rst index 9bdb7110a..f731a87de 100644 --- a/docs/user/mtu.rst +++ b/docs/user/mtu.rst @@ -162,7 +162,7 @@ Maximum MTU Calculation of different derived MTUs based on a maximum WAN MTU of 1436. -Sugestions: +Suggestions: - This configuration can be used for fastd and Tunneldigger. diff --git a/package/gluon-config-mode-theme/sass/gluon.scss b/package/gluon-config-mode-theme/sass/gluon.scss index fb6808fc5..575af4f92 100644 --- a/package/gluon-config-mode-theme/sass/gluon.scss +++ b/package/gluon-config-mode-theme/sass/gluon.scss @@ -6,7 +6,7 @@ sass --sourcemap=none -C -t compressed sass/gluon.scss files/lib/gluon/config-mode/www/static/gluon.css - When commiting changes to this file make sure to commit the respective + When committing changes to this file make sure to commit the respective changes to the compilid version within the same commit! */ diff --git a/package/gluon-core/luasrc/usr/lib/lua/gluon/wireless.lua b/package/gluon-core/luasrc/usr/lib/lua/gluon/wireless.lua index ea6343b92..a46fc674d 100644 --- a/package/gluon-core/luasrc/usr/lib/lua/gluon/wireless.lua +++ b/package/gluon-core/luasrc/usr/lib/lua/gluon/wireless.lua @@ -23,7 +23,7 @@ local function find_phy_by_path(path) path_prefix = 'platform/' end - -- Get all available PHYs of the device and dertermine the one with the lowest index + -- Get all available PHYs of the device and determine the one with the lowest index local phy_names = dirent.dir('/sys/devices/' .. path_prefix .. device_path .. '/ieee80211') local device_phy_idxs = {} for _, v in ipairs(phy_names) do diff --git a/package/gluon-ebtables-limit-arp/src/lookup3.c b/package/gluon-ebtables-limit-arp/src/lookup3.c index 8908840c0..173fdef62 100644 --- a/package/gluon-ebtables-limit-arp/src/lookup3.c +++ b/package/gluon-ebtables-limit-arp/src/lookup3.c @@ -310,7 +310,7 @@ uint32_t hashlittle( const void *key, size_t length, uint32_t initval) * rest of the string. Every machine with memory protection I've seen * does it on word boundaries, so is OK with this. But VALGRIND will * still catch it and complain. The masking trick does make the hash - * noticably faster for short strings (like English words). + * noticeably faster for short strings (like English words). */ #ifndef VALGRIND @@ -494,7 +494,7 @@ void hashlittle2( * rest of the string. Every machine with memory protection I've seen * does it on word boundaries, so is OK with this. But VALGRIND will * still catch it and complain. The masking trick does make the hash - * noticably faster for short strings (like English words). + * noticeably faster for short strings (like English words). */ #ifndef VALGRIND @@ -670,7 +670,7 @@ uint32_t hashbig( const void *key, size_t length, uint32_t initval) * rest of the string. Every machine with memory protection I've seen * does it on word boundaries, so is OK with this. But VALGRIND will * still catch it and complain. The masking trick does make the hash - * noticably faster for short strings (like English words). + * noticeably faster for short strings (like English words). */ #ifndef VALGRIND @@ -802,7 +802,7 @@ void driver2() { for (j=0; j<8; ++j) /*------------------------ for each input bit, */ { - for (m=1; m<8; ++m) /*------------ for serveral possible initvals, */ + for (m=1; m<8; ++m) /*------------ for several possible initvals, */ { for (l=0; l<HASHSTATE; ++l) e[l]=f[l]=g[l]=h[l]=x[l]=y[l]=~((uint32_t)0); diff --git a/package/gluon-status-page/i18n/ru.README b/package/gluon-status-page/i18n/ru.README index b5a1b85e5..4594d1e7b 100644 --- a/package/gluon-status-page/i18n/ru.README +++ b/package/gluon-status-page/i18n/ru.README @@ -1,5 +1,5 @@ THe previous version of the status page had a Russian translation; -if we ever add Russion to gluon-web, the following strings can be reused: +if we ever add Russian to gluon-web, the following strings can be reused: "Node": "Узел", "Distance": "ДальноÑÑ‚ÑŒ", diff --git a/package/gluon-status-page/sass/status-page.scss b/package/gluon-status-page/sass/status-page.scss index 6c0cf5c7e..c093f1719 100644 --- a/package/gluon-status-page/sass/status-page.scss +++ b/package/gluon-status-page/sass/status-page.scss @@ -6,7 +6,7 @@ sass --sourcemap=none -C -t compressed sass/status-page.scss files/lib/gluon/status-page/www/static/status-page.css - When commiting changes to this file make sure to commit the respective + When committing changes to this file make sure to commit the respective changes to the compiled version within the same commit! */ diff --git a/package/gluon-web/luasrc/usr/lib/lua/gluon/web/http/protocol.lua b/package/gluon-web/luasrc/usr/lib/lua/gluon/web/http/protocol.lua index 5f56fa1b6..1638f7e8b 100644 --- a/package/gluon-web/luasrc/usr/lib/lua/gluon/web/http/protocol.lua +++ b/package/gluon-web/luasrc/usr/lib/lua/gluon/web/http/protocol.lua @@ -3,7 +3,7 @@ -- Licensed to the public under the Apache License 2.0. -- This class contains several functions useful for http message- and content --- decoding and to retrive form data from raw http messages. +-- decoding and to retrieve form data from raw http messages. local M = {} @@ -98,7 +98,7 @@ function M.urldecode_params(url) end -- Content-Type. Stores all extracted data associated with its parameter name --- in the params table withing the given message object. Multiple parameter +-- in the params table within the given message object. Multiple parameter -- values are stored as tables, ordinary ones as strings. -- If an optional file callback function is given then it is fed with the -- file contents chunk by chunk and only the extracted file name is stored -- GitLab