123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496 |
- """Default messages for bot functions."""
- language_messages = {
- 'language_command': {
- 'name': {
- 'en': "/language",
- 'it': "/lingua"
- },
- 'reply_keyboard_button': {
- 'en': "Language 🗣",
- 'it': "Lingua 🗣"
- },
- 'alias': {
- 'en': "Language 🗣",
- 'it': "Lingua 🗣"
- },
- 'description': {
- 'en': "Change language settings",
- 'it': "Cambia le impostazioni della lingua"
- }
- },
- 'language_button': {
- 'description': {
- 'en': "Change language settings",
- 'it': "Cambia le impostazioni della lingua"
- },
- 'language_set': {
- 'en': "Selected language: English 🇬🇧",
- 'it': "Lingua selezionata: Italiano 🇮🇹"
- }
- },
- 'language_panel': {
- 'text': {
- 'en': "<b>Choose a language</b>",
- 'it': "<b>Seleziona una lingua</b>"
- }
- }
- }
- supported_languages = {
- 'en': {
- 'flag': '🇬🇧',
- 'name': 'English'
- },
- 'it': {
- 'flag': '🇮🇹',
- 'name': 'Italiano'
- }
- }
- default_ciclopi_messages = {
- 'help': {
- "name": "ciclopi",
- "label": {
- 'en': "CicloPi 🚲",
- 'it': "CicloPi 🚲",
- },
- "authorization_level": "everybody",
- "description": {
- 'en': "Use /ciclopi command to know how many available bikes and "
- "free stalls are available in each station.",
- 'it': "Per vedere quante bici disponibili e quanti posti liberi "
- "ci sono in ogni stazione CicloPi usa il comando /ciclopi.",
- },
- },
- 'command': {
- 'description': {
- 'en': "CiloPi stations status",
- 'it': "Stato delle stazioni CicloPi",
- },
- 'reply_keyboard_button': {
- 'en': "CicloPi 🚲",
- 'it': "CicloPi 🚲",
- },
- 'updating': {
- 'en': "Updating",
- 'it': "Aggiornamento in corso",
- },
- 'unavailable_website': {
- 'en': "CicloPi's website cannot be reached at the moment.\n"
- "Please retry later :/",
- 'it': "Il sito del CicloPi è momentaneamente irraggiungibile.\n"
- "Riprova tra un po' :/",
- },
- 'no_station_available': {
- 'en': "No station available",
- 'it': "Nessuna stazione",
- },
- 'title': {
- 'en': "CicloPi stations",
- 'it': "Stazioni CicloPi",
- },
- 'buttons': {
- 'all': {
- 'en': "All",
- 'it': "Tutte",
- },
- 'only_fav': {
- 'en': "Favourites only",
- 'it': "Solo preferite",
- },
- 'first_n': {
- 'en': "First {n}",
- 'it': "Prime {n}",
- },
- 'update': {
- 'en': "🔄 Update",
- 'it': "🔄 Aggiorna",
- },
- 'legend': {
- 'en': "📜 Legend",
- 'it': "📜 Legenda",
- },
- 'settings': {
- 'en': "⚙️ Settings",
- 'it': "⚙️ Impostazioni",
- },
- }
- },
- 'settings': {
- 'sort': {
- 'name': {
- 'en': "Order",
- 'it': "Ordina"
- },
- 'description': {
- 'en': "customize CicloPi stations display order.",
- 'it': "scegli in che ordine visualizzare le stazioni CicloPi."
- },
- 'symbol': {
- 'en': "⏬",
- 'it': "⏬"
- }
- },
- 'limit': {
- 'name': {
- 'en': "Number of stations",
- 'it': "Numero di stazioni"
- },
- 'description': {
- 'en': "choose how many stations you want to view.",
- 'it': "scegli quante stazioni visualizzare."
- },
- 'symbol': {
- 'en': "#️⃣",
- 'it': "#️⃣"
- }
- },
- 'fav': {
- 'name': {
- 'en': "Favourite stations",
- 'it': "Stazioni preferite"
- },
- 'description': {
- 'en': "edit favourite stations.",
- 'it': "cambia le tue stazioni preferite."
- },
- 'symbol': {
- 'en': "⭐️",
- 'it': "⭐️"
- }
- },
- 'setpos': {
- 'name': {
- 'en': "Set location",
- 'it': "Cambia posizione",
- },
- 'description': {
- 'en': "set a location from which stations may be sorted by "
- "distance.",
- 'it': "imposta una posizione da cui ordinare le stazioni per "
- "distanza."
- },
- 'symbol': {
- 'en': "🧭",
- 'it': "🧭"
- }
- }
- },
- 'sorting': {
- 'center': {
- 'name': {
- 'en': "City center",
- 'it': "Borgo"
- },
- 'description': {
- 'en': "sorted by distance from city center (Borgo Stretto "
- " station.)",
- 'it': "in ordine di distanza crescente da Borgo Stretto."
- },
- 'short_description': {
- 'en': "by distance from city center",
- 'it': "per distanza da Borgo Stretto"
- }
- },
- 'alphabetical': {
- 'name': {
- 'en': "Alphabetical",
- 'it': "Alfabetico"
- },
- 'description': {
- 'en': "in alphabetical order.",
- 'it': "in ordine alfabetico."
- },
- 'short_description': {
- 'en': "by name",
- 'it': "per nome"
- }
- },
- 'position': {
- 'name': {
- 'en': "Position",
- 'it': "Posizione"
- },
- 'description': {
- 'en': "sorted by distance from last set position. "
- "City center position is set by default.",
- 'it': "in ordine di distanza crescente dall'ultima posizione "
- "inviata. Di default sarà Borgo Stretto."
- },
- 'short_description': {
- 'en': "by distance",
- 'it': "per distanza"
- }
- },
- 'custom': {
- 'name': {
- 'en': "Favourites",
- 'it': "Preferite"
- },
- 'description': {
- 'en': "sorted by custom order.",
- 'it': "nell'ordine che hai scelto."
- },
- 'short_description': {
- 'en': "customly ordered",
- 'it': "in ordine personalizzato"
- },
- }
- },
- 'filters': {
- 'fav': {
- 'name': {
- 'en': "Only favourite stations",
- 'it': "Solo le preferite"
- },
- 'all': {
- 'en': "favourite stations first",
- 'it': "prima le preferite"
- },
- 'only': {
- 'en': "only favourite stations",
- 'it': "solo le preferite"
- }
- },
- 'num': {
- 'en': "first {n}",
- 'it': "prime {n}"
- },
- 'all': {
- 'name': {
- 'en': "All stations",
- 'it': "Tutte"
- },
- },
- '3': {
- 'name': {
- 'en': "3",
- 'it': "3"
- },
- },
- '5': {
- 'name': {
- 'en': "5",
- 'it': "5"
- },
- },
- '10': {
- 'name': {
- 'en': "10",
- 'it': "10"
- },
- }
- },
- 'status': {
- 'not_available': {
- 'en': "Not available",
- 'it': "Non disponibile"
- }
- },
- 'set_position': {
- 'success': {
- 'en': "Position set!\n"
- "From now on, stations will be sorted by distance from "
- "this position.",
- 'it': "Ho salvato questa posizione!\n"
- "D'ora in poi ordinerò le stazioni dalla più vicina alla "
- "più lontana da qui."
- },
- 'cancel': {
- 'en': "Operation cancelled.",
- 'it': "Operazione annullata."
- },
- 'cancel_and_remind': {
- 'en': "I could not understand your position.\n"
- "Try again with /ciclopi > Settings > Set location",
- 'it': "Non ho capito la tua posizione.\n"
- "Per riprovare fai "
- "/ciclopi > Impostazioni > Cambia posizione"
- }
- },
- 'button': {
- 'title': {
- 'en': "CicloPi Settings",
- 'it': "Impostazioni CicloPi"
- },
- 'back_to_settings': {
- 'en': "Back to settings",
- 'it': "Torna alle impostazioni"
- },
- 'back_to_stations': {
- 'en': "Back to stations",
- 'it': "Torna alle stazioni"
- },
- 'legend': {
- 'name': {
- 'en': "Station name",
- 'it': "Nome della stazione",
- },
- 'distance': {
- 'en': "Distance in meters",
- 'it': "Distanza in m",
- },
- 'description': {
- 'en': "Station address",
- 'it': "Indirizzo della stazione",
- },
- 'bikes': {
- 'en': "Available bikes",
- 'it': "Bici disponibili",
- },
- 'free': {
- 'en': "Free parking stalls",
- 'it': "Posti liberi",
- }
- },
- 'no_change': {
- 'en': "No change detected!",
- 'it': "È già così!",
- },
- 'unknown_option': {
- 'en': "Unknown option!",
- 'it': "Opzione sconosciuta!",
- },
- 'done': {
- 'en': "Done!",
- 'it': "Fatto!",
- },
- 'sorting_header': {
- 'en': "📜 CicloPi stations display order 🚲\n\n"
- "{{options}}\n\n"
- "Choose a mode or go back to stations list using the "
- "buttons.",
- 'it': "📜 Ordine di visualizzazione delle stazioni CicloPi 🚲\n\n"
- "{{options}}\n\n"
- "Scegli una nuova modalità o torna all'elenco delle "
- "stazioni usando i bottoni."
- },
- 'limit_header': {
- 'en': "📜 Number of CicloPi stations to show 🚲\n\n"
- "{{options}}\n\n"
- "Choose a mode or go back to stations list using the "
- "buttons.",
- 'it': "📜 Numero di stazioni CicloPi da mostrare 🚲\n\n"
- "{{options}}\n\n"
- "Scegli una nuova modalità o torna all'elenco delle "
- "stazioni usando i bottoni."
- },
- 'favourites': {
- 'popup': {
- 'en': "Touch a station to add or remove it",
- 'it': "Tocca una stazione per aggiungerla o rimuoverla",
- },
- 'header': {
- 'en': "🚲 <b>Favourite stations</b> ⭐️\n"
- "{options}\n\n"
- "Add or remove your favourite stations.",
- 'it': "🚲 <b>Stazioni preferite</b> ⭐️\n"
- "{options}\n\n"
- "Aggiungi o togli le tue stazioni preferite."
- },
- 'sort': {
- 'buttons': {
- 'change_order': {
- 'en': "🔃 Change order",
- 'it': "🔃 Riordina",
- },
- 'edit': {
- 'en': "✏️ Edit favourite stations ⭐️",
- 'it': "✏️ Modifica stazioni preferite ⭐️",
- },
- 'move_down': {
- 'en': "Move down ⬇️",
- 'it': "Sposta in basso ⬇️",
- },
- 'move_up': {
- 'en': "Move up ⬆️",
- 'it': "Sposta in alto ⬆️",
- },
- },
- 'end': {
- 'en': "End of the line reached!",
- 'it': "Capolinea!",
- },
- 'header': {
- 'en': "🚲 <b>Favourite stations</b> ⭐️\n"
- "{options}\n\n"
- "Add, remove or sort your favourite stations.",
- 'it': "🚲 <b>Stazioni preferite</b> ⭐️\n"
- "{options}\n\n"
- "Aggiungi, togli o riordina le tue stazioni "
- "preferite.",
- },
- },
- },
- 'location': {
- 'popup': {
- 'en': "Send a location!",
- 'it': "Inviami una posizione!",
- },
- 'instructions': {
- 'en': "Send a location.\n"
- "Use the button to send your current location.",
- 'it': "Inviami una posizione.\n"
- "Per inviare la tua posizione attuale, usa il "
- "pulsante.",
- },
- 'send_current_location': {
- 'en': "Send current location",
- 'it': "Invia la mia posizione",
- },
- 'cancel': {
- 'en': "Cancel",
- 'it': "Annulla",
- },
- },
- }
- }
- default_help_messages = {
- 'help_command': {
- 'header': {
- 'en': "<b>{bot.name} commands</b>\n\n"
- "{commands}",
- 'it': "<b>Comandi di {bot.name}</b>\n\n"
- "{commands}",
- },
- 'text': {
- 'en': "<b>📖 {bot.name} guide</b>\n\n"
- "Welcome!\n"
- "To visit a guide section, press the corresponding button.\n"
- "To view all available commands, see section `Comandi`.\n\n"
- "Bot author and administrator: @Davte",
- 'it': "<b>📖 Guida di {bot.name}\n\n</b>"
- "Benvenuto!\n"
- "Per leggere una sezione della guida premi il bottone "
- "corrispondente. Per conoscere tutti i comandi "
- "disponibili, visita l'apposita sezione della guida "
- "premendo il pulsante Comandi.\n\n"
- "Autore e amministratore del bot: @Davte"
- },
- 'reply_keyboard_button': {
- 'en': "Help 📖",
- 'it': "Guida 📖"
- },
- 'description': {
- 'en': "Help",
- 'it': "Aiuto"
- },
- 'access_denied_message': {
- 'en': "Ask for authorization. If your request is accepted, send "
- "/help command again to read the guide.",
- 'it': "Chiedi di essere autorizzato: se la tua richiesta "
- "verrà accolta, ripeti il comando /help per leggere "
- "il messaggio di aiuto."
- },
- 'back_to_help_menu': {
- 'en': "Back to guide menu 📖",
- 'it': "Torna al menu Guida 📖",
- },
- },
- 'commands_button_label': {
- 'en': "Commands 🤖",
- 'it': "Comandi 🤖",
- },
- }
|