Skip to content

Commit

Permalink
more string corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
itsTheFae committed Nov 6, 2024
1 parent 92bb1b5 commit d93a29b
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
16 changes: 8 additions & 8 deletions i18n/musicbot_logs.pot
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Just-Some-Bots/MusicBot release-250723-997-g7c8463ad\n"
"Project-Id-Version: Just-Some-Bots/MusicBot release-250723-998-g92bb1b56\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-06 10:38-0800\n"
"POT-Creation-Date: 2024-11-06 11:15-0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -893,7 +893,7 @@ msgstr ""

#: musicbot/bot.py:2421
#, python-format
msgid "Got None for autojoin channel with ID: %d"
msgid "Got None for auto join channel with ID: %d"
msgstr ""

#: musicbot/bot.py:2427
Expand Down Expand Up @@ -1207,7 +1207,7 @@ msgstr ""

#: musicbot/bot.py:3052
#, python-format
msgid "Not removing user from blocklist, not listed: %(id)s/%(name)s"
msgid "Not removing user from block list, not listed: %(id)s/%(name)s"
msgstr ""

#: musicbot/bot.py:3069
Expand Down Expand Up @@ -1391,7 +1391,7 @@ msgstr ""

#: musicbot/bot.py:4208
#, python-format
msgid "Youtube search returned no results for: %(url)s"
msgid "YouTube search returned no results for: %(url)s"
msgstr ""

#: musicbot/bot.py:4238
Expand All @@ -1405,7 +1405,7 @@ msgid "No songs were added, all songs were over max duration (%(max)s seconds)"
msgstr ""

#: musicbot/bot.py:4265
msgid "Extracted an entry with youtube:playlist as extractor key"
msgid "Extracted an entry with 'youtube:playlist' as extractor key"
msgstr ""

#: musicbot/bot.py:4277
Expand Down Expand Up @@ -1731,7 +1731,7 @@ msgstr ""
#: musicbot/bot.py:6538
#, python-format
msgid ""
"Unable to reload Permissions due to an errror:\n"
"Unable to reload Permissions due to an error:\n"
"%(raw_error)s"
msgstr ""

Expand Down Expand Up @@ -3010,7 +3010,7 @@ msgid "Changing log level to: %s"
msgstr ""

#: musicbot/logs.py:314
msgid "MusicBot loggers have been called to shutdown."
msgid "MusicBot loggers have been called to shut down."
msgstr ""

#: musicbot/permissions.py:118
Expand Down
8 changes: 4 additions & 4 deletions i18n/musicbot_messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Just-Some-Bots/MusicBot release-250723-997-g7c8463ad\n"
"Project-Id-Version: Just-Some-Bots/MusicBot release-250723-998-g92bb1b56\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-06 10:38-0800\n"
"POT-Creation-Date: 2024-11-06 11:15-0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -639,7 +639,7 @@ msgstr ""

#: musicbot/bot.py:4208
#, python-format
msgid "Youtube search returned no results for: %(url)s"
msgid "YouTube search returned no results for: %(url)s"
msgstr ""

#: musicbot/bot.py:4249
Expand Down Expand Up @@ -1600,7 +1600,7 @@ msgstr ""
#: musicbot/bot.py:6538
#, python-format
msgid ""
"Unable to reload Permissions due to an errror:\n"
"Unable to reload Permissions due to an error:\n"
"%(raw_error)s"
msgstr ""

Expand Down
10 changes: 5 additions & 5 deletions musicbot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -2418,7 +2418,7 @@ async def _on_ready_once(self) -> None:
for ch_id in self.config.autojoin_channels:
ch = self.get_channel(ch_id)
if not ch:
log.warning("Got None for autojoin channel with ID: %d", ch_id)
log.warning("Got None for auto join channel with ID: %d", ch_id)
invalids.add(ch_id)
continue

Expand Down Expand Up @@ -3049,7 +3049,7 @@ async def cmd_blockuser(
user
):
log.info(
"Not removing user from blocklist, not listed: %(id)s/%(name)s",
"Not removing user from block list, not listed: %(id)s/%(name)s",
{"id": user.id, "name": user.name},
)
user_mentions.remove(user)
Expand Down Expand Up @@ -4205,7 +4205,7 @@ async def _cmd_play(
if info.extractor.startswith("youtube:search"):
# TOOD: UI, i18n stuff
raise exceptions.CommandError(
"Youtube search returned no results for: %(url)s",
"YouTube search returned no results for: %(url)s",
fmt_args={"url": song_url},
)

Expand Down Expand Up @@ -4262,7 +4262,7 @@ async def _cmd_play(
# ^ wish I had a URL for this one.
if info.get("extractor", "").startswith("youtube:playlist"):
log.noise( # type: ignore[attr-defined]
"Extracted an entry with youtube:playlist as extractor key"
"Extracted an entry with 'youtube:playlist' as extractor key"
)

# Check the block list again, with the info this time.
Expand Down Expand Up @@ -6535,7 +6535,7 @@ async def cmd_setperms(
)
except Exception as e:
raise exceptions.CommandError(
"Unable to reload Permissions due to an errror:\n%(raw_error)s",
"Unable to reload Permissions due to an error:\n%(raw_error)s",
fmt_args={"raw_error": e},
) from e

Expand Down
2 changes: 1 addition & 1 deletion musicbot/logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def shutdown_loggers() -> None:

# This is the last log line of the logger session.
log = logging.getLogger("musicbot.logs")
log.info("MusicBot loggers have been called to shutdown.")
log.info("MusicBot loggers have been called to shut down.")

setattr(logging, "_mb_logs_open", False)

Expand Down

0 comments on commit d93a29b

Please sign in to comment.