aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaria Lisina <sekoohaka.sarisan@gmail.com>2025-10-11 01:36:31 +0500
committerMaria Lisina <sekoohaka.sarisan@gmail.com>2025-10-11 01:36:31 +0500
commit8660bcda7ebce1a1bd1ecb04b04aefd52d0c5770 (patch)
tree9d77fe63fcda26fd76f7f827f7ace080c96ecdbf
parent9fa2734a333fedd7eac19d7bb50ab7288162dac4 (diff)
*/*: Correct misspelled words
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
-rw-r--r--README.md4
-rwxr-xr-xbot.zsh4
-rw-r--r--files/help.txt.default2
-rw-r--r--units/sn_auth.zsh4
-rw-r--r--units/sn_search.zsh2
5 files changed, 8 insertions, 8 deletions
diff --git a/README.md b/README.md
index 0410375..aa760f6 100644
--- a/README.md
+++ b/README.md
@@ -76,7 +76,7 @@ Options:
-f <secs> Connrefused timeout, max: 2, default: none
-n <addr> Proxy server for Telegram Bot API
-x <addr> Proxy server for Image Boards/SauceNAO API
- -k <key> SauceNAO API Key for public use
+ -k <key> SauceNAO API key for public use
Cache modes:
none No cache reuse
@@ -99,7 +99,7 @@ Cache modes:
* `[md5]` - MD5 hash
* `[login]` - Image Board login or username
* `[key]` - Image Board API key or password
-* `[snkey]` - SauceNAO API Key
+* `[snkey]` - SauceNAO API key
### Inline search
diff --git a/bot.zsh b/bot.zsh
index fc5798e..5ffca4a 100755
--- a/bot.zsh
+++ b/bot.zsh
@@ -173,7 +173,7 @@ then
"\n -f <secs>\tConnrefused timeout, max: 2, default: none" \
"\n -n <addr>\tProxy server for Telegram Bot API" \
"\n -x <addr>\tProxy server for Image Boards/SauceNAO API" \
- "\n -k <key>\tSauceNAO API Key for public use" \
+ "\n -k <key>\tSauceNAO API key for public use" \
"\n\nCache modes:" \
"\n none\t\tNo cache reuse" \
"\n normal\tReuse inline results and posts cache" \
@@ -736,7 +736,7 @@ then
exit 1
;;
(-1)
- log_text="SauceNAO: Invalid API Key"
+ log_text="SauceNAO: Invalid API key"
. "${units}/log.zsh"
exit 1
diff --git a/files/help.txt.default b/files/help.txt.default
index 75dec3a..241f5a2 100644
--- a/files/help.txt.default
+++ b/files/help.txt.default
@@ -12,7 +12,7 @@
[md5] - MD5 hash
[login] - Image Board login or username
[key] - Image Board API key or password
-[snkey] - SauceNAO API Key
+[snkey] - SauceNAO API key
<b>Inline search:</b>
<code>pools</code> [b] [page] [options] [name] - Pools search
diff --git a/units/sn_auth.zsh b/units/sn_auth.zsh
index d962113..ed1d041 100644
--- a/units/sn_auth.zsh
+++ b/units/sn_auth.zsh
@@ -13,7 +13,7 @@ elif [[ -n "${sn_key}" ]]
then
return 0
else
- output_text="You must provide your SauceNAO API Key before you can use SauceNAO"
+ output_text="You must provide your SauceNAO API key before you can use SauceNAO"
return 0
fi
@@ -61,7 +61,7 @@ case "${sn_status}" in
output_text="Rate limit exceeded, try again later"
;;
(-1)
- output_text="Invalid API Key"
+ output_text="Invalid API key"
;;
(*)
output_text="An unknown error occurred"
diff --git a/units/sn_search.zsh b/units/sn_search.zsh
index 920071a..b5dda9c 100644
--- a/units/sn_search.zsh
+++ b/units/sn_search.zsh
@@ -50,7 +50,7 @@ case "${sn_status}" in
output_text="Rate limit exceeded, try again later"
;;
(-1)
- output_text="Invalid API Key"
+ output_text="Invalid API key"
;;
(0)
;;