API usage overhaul (#27)
* `/report` command added * Updated to libbot 1.5 * Moved to [PhotosAPI_Client](https://git.end-play.xyz/profitroll/PhotosAPI_Client) v0.5.0 from using self-made API client * Video support (almost stable) * Bug fixes and improvements Co-authored-by: profitroll <vozhd.kk@gmail.com> Reviewed-on: #27
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
{
|
||||
"commands": {
|
||||
"start": "Start using the bot",
|
||||
"rules": "Photos submission rules"
|
||||
},
|
||||
"commands_admin": {
|
||||
"rules": "Photos submission rules",
|
||||
"report": "Report this post",
|
||||
"forwards": "Check post forwards",
|
||||
"import": "Submit .zip archive with photos",
|
||||
"export": "Get .zip archive with all photos",
|
||||
@@ -60,7 +59,10 @@
|
||||
"remove_abort": "Removal aborted.",
|
||||
"remove_success": "Removed media with ID `{0}`.",
|
||||
"remove_failure": "Could not remove media with ID `{0}`. Check if provided ID is correct and if it is - you can also check bot's log for details.",
|
||||
"update_available": "**New version found**\nThere's a newer version of a bot found. You can update your bot to [{0}]({1}) using command line of your host.\n\n**Release notes**\n{2}\n\nRead more about updating you bot on the [wiki page](https://git.end-play.xyz/profitroll/TelegramPoster/wiki/Updating-Instance).\n\nPlease not that you can also disable this notification by editing `reports.update` key of the config."
|
||||
"update_available": "**New version found**\nThere's a newer version of a bot found. You can update your bot to [{0}]({1}) using command line of your host.\n\n**Release notes**\n{2}\n\nRead more about updating you bot on the [wiki page](https://git.end-play.xyz/profitroll/TelegramPoster/wiki/Updating-Instance).\n\nPlease not that you can also disable this notification by editing `reports.update` key of the config.",
|
||||
"shutdown_confirm": "There are {0} unfinished users' contexts. If you turn off the bot, those will be lost. Please confirm shutdown using a button below.",
|
||||
"report_sent": "We've notified admins about presumable violation. Thank you for cooperation.",
|
||||
"report_received": "This message has been reported by **{0}** (@{1}, `{2}`)"
|
||||
},
|
||||
"button": {
|
||||
"sub_yes": "✅ Accept",
|
||||
@@ -70,7 +72,8 @@
|
||||
"sub_unblock": "🏳️ Unblock sender",
|
||||
"post_view": "View in channel",
|
||||
"accepted": "✅ Accepted",
|
||||
"declined": "❌ Declined"
|
||||
"declined": "❌ Declined",
|
||||
"shutdown": "Confirm shutdown"
|
||||
},
|
||||
"callback": {
|
||||
"sub_yes": "✅ Submission approved",
|
||||
|
@@ -1,9 +1,8 @@
|
||||
{
|
||||
"commands": {
|
||||
"start": "Почати користуватись ботом",
|
||||
"rules": "Правила пропонування фото"
|
||||
},
|
||||
"commands_admin": {
|
||||
"rules": "Правила пропонування фото",
|
||||
"report": "Поскаржитись на цей пост",
|
||||
"forwards": "Переглянути репости",
|
||||
"import": "Надати боту .zip архів з фотографіями",
|
||||
"export": "Отримати .zip архів з усіма фотографіями",
|
||||
@@ -60,7 +59,10 @@
|
||||
"remove_abort": "Видалення перервано.",
|
||||
"remove_success": "Видалено медіа з ID `{0}`.",
|
||||
"remove_failure": "Не вдалося видалити медіа з ID `{0}`. Перевірте, чи вказано правильний ID, і якщо він правильний, ви також можете переглянути логи бота для отримання більш детальної інформації.",
|
||||
"update_available": "**Знайдено нову версію**\nЗнайдено нову версію бота. Ви можете оновити бота до [{0}]({1}) за допомогою командного рядка вашого хосту.\n\n**Примітки до релізу**\n{2}\n\nДетальніше про оновлення бота можна знайти на [вікі-сторінці](https://git.end-play.xyz/profitroll/TelegramPoster/wiki/Updating-Instance).\n\nЗверніть увагу, що ви також можете вимкнути це сповіщення, відредагувавши ключ `reports.update` у конфігурації."
|
||||
"update_available": "**Знайдено нову версію**\nЗнайдено нову версію бота. Ви можете оновити бота до [{0}]({1}) за допомогою командного рядка вашого хосту.\n\n**Примітки до релізу**\n{2}\n\nДетальніше про оновлення бота можна знайти на [вікі-сторінці](https://git.end-play.xyz/profitroll/TelegramPoster/wiki/Updating-Instance).\n\nЗверніть увагу, що ви також можете вимкнути це сповіщення, відредагувавши ключ `reports.update` у конфігурації.",
|
||||
"shutdown_confirm": "Існує {0} незавершених контекстів користувачів. Якщо ви вимкнете бота, вони будуть втрачені. Будь ласка, підтвердіть вимкнення за допомогою кнопки нижче.",
|
||||
"report_sent": "Ми повідомили адміністрацію про потенційне порушення. Дякую за співпрацю.",
|
||||
"report_received": "На це повідомлення було отримано скаргу від **{0}** (@{1}, `{2}`)"
|
||||
},
|
||||
"button": {
|
||||
"sub_yes": "✅ Прийняти",
|
||||
@@ -70,7 +72,8 @@
|
||||
"sub_unblock": "🏳️ Розблокувати відправника",
|
||||
"post_view": "Переглянути на каналі",
|
||||
"accepted": "✅ Прийнято",
|
||||
"declined": "❌ Відхилено"
|
||||
"declined": "❌ Відхилено",
|
||||
"shutdown": "Підтвердити вимкнення"
|
||||
},
|
||||
"callback": {
|
||||
"sub_yes": "✅ Подання схвалено",
|
||||
|
Reference in New Issue
Block a user