-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(lastfm): handle missing album covers in
/lfmcollage
command
Fixed a bug where the bot did not respond to the /lfmcollage command if one of the albums in the collage lacked a cover.
- Loading branch information
Showing
8 changed files
with
22 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PROJECT VERSION\n" | ||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" | ||
"POT-Creation-Date: 2024-09-12 16:23-0300\n" | ||
"POT-Creation-Date: 2024-09-13 14:02-0300\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
@@ -801,52 +801,58 @@ msgstr "" | |
msgid "<b>Supported languages</b>:\n" | ||
msgstr "" | ||
|
||
#: src/korone/modules/piston/handlers/run.py:23 | ||
#: src/korone/modules/piston/handlers/run.py:24 | ||
msgid "" | ||
"You need to provide a command to run. Example: <code>/piston python " | ||
"print('Hello, World!')</code>" | ||
msgstr "" | ||
|
||
#: src/korone/modules/piston/handlers/run.py:33 | ||
#: src/korone/modules/piston/handlers/run.py:34 | ||
msgid "Sorry, I couldn't fetch the available languages. Please try again later." | ||
msgstr "" | ||
|
||
#: src/korone/modules/piston/handlers/run.py:40 | ||
#: src/korone/modules/piston/handlers/run.py:41 | ||
msgid "" | ||
"Invalid language. Use <code>/pistonlangs</code> to see the available " | ||
"languages. Then use it like this: <code>/piston python print('Hello, " | ||
"World!')</code>" | ||
msgstr "" | ||
|
||
#: src/korone/modules/piston/handlers/run.py:52 | ||
#: src/korone/modules/piston/handlers/run.py:53 | ||
msgid "" | ||
"You need to provide a valid language and code. Example: <code>/piston " | ||
"python print('Hello, World!')</code>" | ||
msgstr "" | ||
|
||
#: src/korone/modules/piston/handlers/run.py:62 | ||
#: src/korone/modules/piston/handlers/run.py:63 | ||
msgid "An error occurred while running the code." | ||
msgstr "" | ||
|
||
#: src/korone/modules/piston/handlers/run.py:65 | ||
#: src/korone/modules/piston/handlers/run.py:66 | ||
msgid "" | ||
"<b>Code</b>:\n" | ||
"<pre language='{lang}'>{code}</pre>\n" | ||
"\n" | ||
msgstr "" | ||
|
||
#: src/korone/modules/piston/handlers/run.py:70 | ||
#: src/korone/modules/piston/handlers/run.py:71 | ||
msgid "" | ||
"<b>Output</b>:\n" | ||
"<pre language='bash'>{output}</pre>\n" | ||
msgstr "" | ||
|
||
#: src/korone/modules/piston/handlers/run.py:75 | ||
#: src/korone/modules/piston/handlers/run.py:76 | ||
msgid "" | ||
"<b>Compiler Output</b>:\n" | ||
"<pre language='bash'>{output}</pre>" | ||
msgstr "" | ||
|
||
#: src/korone/modules/piston/handlers/run.py:84 | ||
msgid "" | ||
"The result exceeds the 4096 character limit of Telegram. Please refine " | ||
"your code." | ||
msgstr "" | ||
|
||
#: src/korone/modules/pm_menu/handlers/about.py:28 | ||
msgid "" | ||
"Korone is a comprehensive and cutting-edge Telegram bot that offers a " | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fixed a bug where the bot did not respond to the `/lfmcollage` command if one of the albums in the collage lacked a cover. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fixed an error that occurred when the result of `/piston` evaluation exceeded the 4096-character limit for Telegram messages. |
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters