Initial commit

This commit is contained in:
2023-08-27 22:43:16 +02:00
commit 502ed0406e
40 changed files with 1854 additions and 0 deletions

46
locale/en.json Normal file
View File

@@ -0,0 +1,46 @@
{
"metadata": {
"flag": "🇬🇧",
"name": "English",
"codes": [
"en",
"en-GB"
]
},
"formats": {
"date": "%d/%m/%Y",
"time": "%H:%M"
},
"garbage_types": {
"0": "🟤 Bio",
"1": "🟡 Plastic",
"2": "🔵 Paper",
"3": "⚫️ General",
"4": "🟢 Glass",
"5": "❓ Unspecified"
},
"commands": {
"help": "Show help message",
"setup": "Select the location",
"toggle": "Enable/disable notifications",
"set_time": "Set notification time",
"set_offset": "Set notification days offset",
"upcoming": "Collection for the next 30 days",
"language": "Change bot's messages language",
"checkout": "Export or delete user data",
"import": "Upload from JSON to database",
"shutdown": "Turn off the bot",
"remove_commands": "Unregister all commands"
},
"messages": {
"help": "Help message here, lol.",
"start": "👋 Welcome!\n\nThis small open-source bot is made to simplify your life a bit easier by sending you notifications about upcoming garbage collection in your location.\n\nBy using this bot you accept [Privacy Policy]({privacy_policy}), otherwise please block and remove this bot before further interaction.\n\nNow the official part is over so you can dive into the bot.",
"locale_choice": "Alright. Please choose the language using keyboard below."
},
"buttons": {
"configure": "Let's configure the bot"
},
"callbacks": {
"locale_set": "Your language now is: {locale}"
}
}

46
locale/uk.json Normal file
View File

@@ -0,0 +1,46 @@
{
"metadata": {
"flag": "🇺🇦",
"name": "Українська",
"codes": [
"uk",
"uk-UA"
]
},
"formats": {
"date": "%d.%m.%Y",
"time": "%H:%M"
},
"garbage_types": {
"0": "🟤 Біо",
"1": "🟡 Пластик",
"2": "🔵 Папір",
"3": "⚫️ Загальне",
"4": "🟢 Скло",
"5": "❓Невизначене"
},
"commands": {
"help": "Показати меню допомоги",
"setup": "Обрати місто та район",
"toggle": "Вимкнути/вимкнути повідомлення",
"set_time": "Встановити час повідомлень",
"set_offset": "Встановити дні випередження",
"upcoming": "Дати збирання на наступні 30 днів",
"language": "Змінити мову повідомлень бота",
"checkout": "Експортувати чи видалити дані",
"import": "Завантажити з JSON до бази даних",
"shutdown": "Вимкнути бота",
"remove_commands": "Видалити всі команди"
},
"messages": {
"help": "Привіт! Я твій бот!",
"start": "Hi! By using this bot you accept **terms of service** and **privacy policy**, otherwise please block and remove this bot before further interaction.",
"locale_choice": "Гаразд. Будь ласка, оберіть мову за допомогою клавіатури нижче."
},
"buttons": {
"configure": "Давайте налаштуємо бота"
},
"callbacks": {
"locale_set": "Встановлено мову: {locale}"
}
}