Complete inline suggestions

Add all commands that are available to all users and do not require arguments
This commit is contained in:
bursa-pastoris 2023-03-24 15:48:44 +01:00
parent a651b66898
commit bfc9e793ce
4 changed files with 288 additions and 245 deletions

View File

@ -191,7 +191,10 @@ async def help(update, context):
async def init(update, context):
"""Initialize the bot."""
# Set commands suggestions
commands=[BotCommand(_('roll'),_('Roll dice'))]
commands=[BotCommand(_('christmas'),_('Get an image')),
BotCommand(_('easter'),_('Get a citation')),
BotCommand(_('end_of_year_dinner'),_('Send all citations to a random user')),
BotCommand(_('help'),_('Get help'))]
await context.bot.send_message(
chat_id=update.effective_chat.id,
text=_('Initializing...'))

View File

@ -3,11 +3,12 @@
# This file is distributed under the same license as the Albatrobot package.
# bursa-pastoris <bursapastoris at disroot dot org>, 2021, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Albatrobot 0.3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-23 00:00+0000\n"
"POT-Creation-Date: 2023-03-24 00:00+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -16,55 +17,55 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: main.py:48 main.py:60 albatrobot.py:161
#: main.py:46 main.py:58 albatrobot.py:159
msgid "stop"
msgstr ""
#: main.py:48 main.py:69 albatrobot.py:159
#: main.py:46 main.py:67 albatrobot.py:157
msgid "init"
msgstr ""
#: main.py:65 albatrobot.py:143
#: main.py:63 albatrobot.py:141 albatrobot.py:197
msgid "help"
msgstr ""
#: main.py:73 albatrobot.py:144
#: main.py:71 albatrobot.py:142
msgid "legal"
msgstr ""
#: main.py:77 albatrobot.py:148
#: main.py:75 albatrobot.py:146
msgid "version"
msgstr ""
#: main.py:84 albatrobot.py:136
#: main.py:82 albatrobot.py:134 albatrobot.py:194
msgid "christmas"
msgstr ""
#: main.py:88 albatrobot.py:137
#: main.py:86 albatrobot.py:135 albatrobot.py:195
msgid "easter"
msgstr ""
#: main.py:92
#: main.py:90 albatrobot.py:196
msgid "end_of_year_dinner"
msgstr ""
#: main.py:96 albatrobot.py:141
#: main.py:94 albatrobot.py:139
msgid "epiphony"
msgstr ""
#: main.py:100 albatrobot.py:145 albatrobot.py:196
#: main.py:98 albatrobot.py:143
msgid "roll"
msgstr ""
#: albatrobot.py:81
#: albatrobot.py:79
msgid "User not authorized."
msgstr ""
#: albatrobot.py:89
#: albatrobot.py:87
msgid "Unknown command."
msgstr ""
#: albatrobot.py:103
#: albatrobot.py:101
msgid ""
"Hello, I'm Albatrobot\\! Type \\/help for help\\!\n"
"\n"
@ -75,89 +76,89 @@ msgid ""
"albatrobot)\\._"
msgstr ""
#: albatrobot.py:121
#: albatrobot.py:119
msgid "Albatrobot will be stopped in a few moments."
msgstr ""
#: albatrobot.py:134
#: albatrobot.py:132
msgid "*Albatrobot commands*"
msgstr ""
#: albatrobot.py:136
#: albatrobot.py:134
msgid "get an image"
msgstr ""
#: albatrobot.py:137
#: albatrobot.py:135
msgid " `\\(\\<author\\>\\)`"
msgstr ""
#: albatrobot.py:137
#: albatrobot.py:135
msgid ""
"get a citation from given author, or a random one if no author is "
"specified\\."
msgstr ""
#: albatrobot.py:139
#: albatrobot.py:137
msgid "end\\_of\\_year\\_dinner"
msgstr ""
#: albatrobot.py:139
#: albatrobot.py:137
msgid "send all citations in the archive to a random user\\."
msgstr ""
#: albatrobot.py:141
#: albatrobot.py:139
msgid " `\\(\\<text\\>\\)`"
msgstr ""
#: albatrobot.py:141
#: albatrobot.py:139
msgid "get a voice message from Albatrobot reading given text"
msgstr ""
#: albatrobot.py:143
#: albatrobot.py:141
msgid "get help about bot commands\\."
msgstr ""
#: albatrobot.py:144
#: albatrobot.py:142
msgid "get legal info about privacy and copyright\\."
msgstr ""
#: albatrobot.py:145
#: albatrobot.py:143
msgid " `\\<dice\\>\\(\\<modifiers\\>\\)`"
msgstr ""
#: albatrobot.py:145
#: albatrobot.py:143
msgid ""
"roll dice, with or without modifiers\\. Launch without arguments to get help "
"on the modifiers\\."
msgstr ""
#: albatrobot.py:148
#: albatrobot.py:146
msgid "get Albatrobot's version"
msgstr ""
#: albatrobot.py:157
#: albatrobot.py:155
msgid "*Additional commands for bot admins*"
msgstr ""
#: albatrobot.py:159
#: albatrobot.py:157
msgid ""
"reinitialize the bot\\. This updates inline suggestions and purges /epiphony "
"cached files\\."
msgstr ""
#: albatrobot.py:161
#: albatrobot.py:159
msgid ""
"stop Albatrobot\\. To be used _only_ in case of emergency: restarting the "
"bot after this command is used requires direct access to the server\\."
msgstr ""
#: albatrobot.py:173
#: albatrobot.py:171
msgid ""
"Bot admins have access to additional commands and can get help on them "
"using /help in a private chat\\."
msgstr ""
#: albatrobot.py:182
#: albatrobot.py:180
#, python-brace-format
msgid ""
"{ccom_help}\n"
@ -165,7 +166,7 @@ msgid ""
"{acom_help}"
msgstr ""
#: albatrobot.py:188
#: albatrobot.py:186
#, python-brace-format
msgid ""
"{ccom_help}\n"
@ -173,42 +174,54 @@ msgid ""
"{non_admin_addendum}"
msgstr ""
#: albatrobot.py:196
msgid "Roll dice"
#: albatrobot.py:194
msgid "Get an image"
msgstr ""
#: albatrobot.py:199
#: albatrobot.py:195
msgid "Get a citation"
msgstr ""
#: albatrobot.py:196
msgid "Send all citations to a random user"
msgstr ""
#: albatrobot.py:197
msgid "Get help"
msgstr ""
#: albatrobot.py:200
msgid "Initializing..."
msgstr ""
#: albatrobot.py:203
#: albatrobot.py:204
msgid "Done"
msgstr ""
#: albatrobot.py:228
#: albatrobot.py:229
msgid "*Albatrobot's version:* {}"
msgstr ""
#: albatrobot.py:242
#: albatrobot.py:243
msgid ""
"Christmas is good, but you can't invoke it so often! Try again in some "
"seconds..."
msgstr ""
#: albatrobot.py:273
#: albatrobot.py:274
msgid ""
"Easter is good, but you can't invoke it so often! Retry in some seconds..."
msgstr ""
#: albatrobot.py:296
#: albatrobot.py:297
msgid "The most similar is {}."
msgstr ""
#: albatrobot.py:300
#: albatrobot.py:301
msgid "The most similar are {} and {}."
msgstr ""
#: albatrobot.py:304
#: albatrobot.py:305
#, python-brace-format
msgid ""
"Author {required_author} is not present in the archive! {suggestion}\n"
@ -216,7 +229,7 @@ msgid ""
"N.b.: CaSe Is ImPoRtAnT!"
msgstr ""
#: albatrobot.py:324 albatrobot.py:352
#: albatrobot.py:325 albatrobot.py:353
#, python-brace-format
msgid ""
"{cit}\n"
@ -224,142 +237,142 @@ msgid ""
"~{author}"
msgstr ""
#: albatrobot.py:345
#: albatrobot.py:346
msgid "Hello there, here an end of year dinner offered by {}!"
msgstr ""
#: albatrobot.py:359
#: albatrobot.py:360
#, python-brace-format
msgid "End of year dinner of {cits_number} plates delvered to {dest}!"
msgstr ""
#: albatrobot.py:372
#: albatrobot.py:373
msgid "What should I say?"
msgstr ""
#: albatrobot.py:402
#: albatrobot.py:403
msgid "add `n` to the roll"
msgstr ""
#: albatrobot.py:403
#: albatrobot.py:404
msgid "subtract `n` from the roll"
msgstr ""
#: albatrobot.py:404
#: albatrobot.py:405
msgid "multiply the roll by `n`"
msgstr ""
#: albatrobot.py:405
#: albatrobot.py:406
msgid "divide the roll by `n`"
msgstr ""
#: albatrobot.py:406
#: albatrobot.py:407
msgid "floor divide the roll by `n`"
msgstr ""
#: albatrobot.py:407
#: albatrobot.py:408
msgid "exponentiate the roll to `n`"
msgstr ""
#: albatrobot.py:408
#: albatrobot.py:409
msgid "keep highest `n` rolls \\(defaults to `1`\\)"
msgstr ""
#: albatrobot.py:409
#: albatrobot.py:410
msgid "keep lowest `n` rolls \\(defaults to `1`\\)"
msgstr ""
#: albatrobot.py:410
#: albatrobot.py:411
msgid "drop highest `n` rolls \\(defaults to `1`\\)"
msgstr ""
#: albatrobot.py:411
#: albatrobot.py:412
msgid "drop lowest `n` rolls \\(defaults to `1`\\)"
msgstr ""
#: albatrobot.py:412
#: albatrobot.py:413
msgid "explode rolls equal to `n` \\(defaults to die size\\)"
msgstr ""
#: albatrobot.py:413
#: albatrobot.py:414
msgid "explode rolls lower than `n`"
msgstr ""
#: albatrobot.py:414
#: albatrobot.py:415
msgid "explode rolls higher than `n`"
msgstr ""
#: albatrobot.py:415
#: albatrobot.py:416
msgid "count failures as rolls lower than `n`"
msgstr ""
#: albatrobot.py:416
#: albatrobot.py:417
msgid "count failures as rolls higher than `n`"
msgstr ""
#: albatrobot.py:417
#: albatrobot.py:418
msgid "count successes as rolls lower than `n`"
msgstr ""
#: albatrobot.py:418
#: albatrobot.py:419
msgid "count successes as rolls higher than `n`"
msgstr ""
#: albatrobot.py:419
#: albatrobot.py:420
msgid "penetrate rolls equal to dice size"
msgstr ""
#: albatrobot.py:420
#: albatrobot.py:421
msgid "penetrate rolls lower than `n`"
msgstr ""
#: albatrobot.py:421
#: albatrobot.py:422
msgid "penetrate rolls higher than `n`"
msgstr ""
#: albatrobot.py:422
#: albatrobot.py:423
msgid "add `n` to each roll"
msgstr ""
#: albatrobot.py:423
#: albatrobot.py:424
msgid "subtract `n` from each roll"
msgstr ""
#: albatrobot.py:424
#: albatrobot.py:425
msgid "multiply by `n` each roll"
msgstr ""
#: albatrobot.py:425
#: albatrobot.py:426
msgid ""
"reroll each dice that rolled `n` until there are no `n` left\\(defaults to "
"`1`\\)"
msgstr ""
#: albatrobot.py:427
#: albatrobot.py:428
msgid "reroll once each dice that rolled `n` \\(defaults to 1\\)"
msgstr ""
#: albatrobot.py:429
#: albatrobot.py:430
msgid ""
"reroll dice that rolled lower than `n` until there are no results lower than "
"`n` left"
msgstr ""
#: albatrobot.py:431
#: albatrobot.py:432
msgid ""
"reroll dice that rolled higher than `n` until there no results higher than "
"`n` left"
msgstr ""
#: albatrobot.py:433
#: albatrobot.py:434
msgid "reroll once dice that roll lower than `n`"
msgstr ""
#: albatrobot.py:434
#: albatrobot.py:435
msgid "reroll once dice that roll higher than `n`"
msgstr ""
#: albatrobot.py:439
#: albatrobot.py:440
msgid ""
"To roll, use the syntax `\\<number of dice\\>d\\<dice size\\>`\\. You can "
"also use the following modifiers\\. Note that:\n"
@ -371,15 +384,15 @@ msgid ""
"\n"
msgstr ""
#: albatrobot.py:458
#: albatrobot.py:459
msgid "You can roll up to 500 dice with up to 500 faces at once!"
msgstr ""
#: albatrobot.py:465
#: albatrobot.py:466
#, python-brace-format
msgid "{user_name} rolled {rolls} = {result}"
msgstr ""
#: albatrobot.py:473
#: albatrobot.py:474
msgid "You used a wrong syntax!"
msgstr ""

View File

@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: 0.3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-23 00:00+0000\n"
"PO-Revision-Date: 2023-03-0 00:00+0000\n"
"POT-Creation-Date: 2023-03-24 00:00+0000\n"
"PO-Revision-Date: 2023-03-24 00:00+0000\n"
"Last-Translator: bursa-pastoris <bursapastoris at disroot dot org>\n"
"Language-Team: Italian <bursapastoris at disroot dot org>\n"
"Language: it\n"
@ -16,55 +16,55 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: main.py:48 main.py:60 albatrobot.py:161
#: main.py:46 main.py:58 albatrobot.py:159
msgid "stop"
msgstr "stop"
#: main.py:48 main.py:69 albatrobot.py:159
#: main.py:46 main.py:67 albatrobot.py:157
msgid "init"
msgstr "imposta"
#: main.py:65 albatrobot.py:143
#: main.py:63 albatrobot.py:141 albatrobot.py:197
msgid "help"
msgstr "aiuto"
#: main.py:73 albatrobot.py:144
#: main.py:71 albatrobot.py:142
msgid "legal"
msgstr "burocrazia"
#: main.py:77 albatrobot.py:148
#: main.py:75 albatrobot.py:146
msgid "version"
msgstr "versione"
#: main.py:84 albatrobot.py:136
#: main.py:82 albatrobot.py:134 albatrobot.py:194
msgid "christmas"
msgstr "natale"
#: main.py:88 albatrobot.py:137
#: main.py:86 albatrobot.py:135 albatrobot.py:195
msgid "easter"
msgstr "pasqua"
#: main.py:92
#: main.py:90 albatrobot.py:196
msgid "end_of_year_dinner"
msgstr "cenone_di_fine_anno"
#: main.py:96 albatrobot.py:141
#: main.py:94 albatrobot.py:139
msgid "epiphony"
msgstr "epifonia"
#: main.py:100 albatrobot.py:145 albatrobot.py:196
#: main.py:98 albatrobot.py:143
msgid "roll"
msgstr "tira"
#: albatrobot.py:81
#: albatrobot.py:79
msgid "User not authorized."
msgstr "Utente non autorizzato."
#: albatrobot.py:89
#: albatrobot.py:87
msgid "Unknown command."
msgstr "Comando sconosciuto."
#: albatrobot.py:103
#: albatrobot.py:101
msgid ""
"Hello, I'm Albatrobot\\! Type \\/help for help\\!\n"
"\n"
@ -82,23 +82,23 @@ msgstr ""
"pubblicamente disponibile su [Disroot](https:\\/\\/git.disroot.org\\/"
"bursapastoris\\/albatrobot)\\._"
#: albatrobot.py:121
#: albatrobot.py:119
msgid "Albatrobot will be stopped in a few moments."
msgstr "L'Albatrobot sarà arrestato tra un istante."
#: albatrobot.py:134
#: albatrobot.py:132
msgid "*Albatrobot commands*"
msgstr "*Comandi dell'Albatrobot*"
#: albatrobot.py:136
#: albatrobot.py:134
msgid "get an image"
msgstr "ricevi un'immagine"
#: albatrobot.py:137
#: albatrobot.py:135
msgid " `\\(\\<author\\>\\)`"
msgstr " `\\(\\<autore\\>\\)`"
#: albatrobot.py:137
#: albatrobot.py:135
msgid ""
"get a citation from given author, or a random one if no author is "
"specified\\."
@ -106,36 +106,36 @@ msgstr ""
"ricevi una citazione dall'autore indicato, o da uno casuale se non viene "
"specificato nessun autore\\."
#: albatrobot.py:139
#: albatrobot.py:137
msgid "end\\_of\\_year\\_dinner"
msgstr "cenone\\_di\\_fine\\_anno"
#: albatrobot.py:139
#: albatrobot.py:137
msgid "send all citations in the archive to a random user\\."
msgstr "invia tutte le citazioni nell'archivio a un utente casuale\\."
#: albatrobot.py:141
#: albatrobot.py:139
msgid " `\\(\\<text\\>\\)`"
msgstr " `\\(\\testo\\>\\)`"
#: albatrobot.py:141
#: albatrobot.py:139
msgid "get a voice message from Albatrobot reading given text"
msgstr ""
"ricevi un messaggio vocale dall'Albatrobot che legge il testo specificato"
#: albatrobot.py:143
#: albatrobot.py:141
msgid "get help about bot commands\\."
msgstr "ricevi aiuto sui comandi del bot\\."
#: albatrobot.py:144
#: albatrobot.py:142
msgid "get legal info about privacy and copyright\\."
msgstr "ricevi informazioni legali su riservatezza e diritto d'autore\\."
#: albatrobot.py:145
#: albatrobot.py:143
msgid " `\\<dice\\>\\(\\<modifiers\\>\\)`"
msgstr " `\\dadi\\>\\(\\<modificatori\\>\\)`"
#: albatrobot.py:145
#: albatrobot.py:143
msgid ""
"roll dice, with or without modifiers\\. Launch without arguments to get help "
"on the modifiers\\."
@ -143,15 +143,15 @@ msgstr ""
"tira dei dadi, con o senza modificatori\\. Lancia senza argomenti per "
"ricevere aiuto sui modificatori\\."
#: albatrobot.py:148
#: albatrobot.py:146
msgid "get Albatrobot's version"
msgstr "ricevi la versione dell'Albatrobot"
#: albatrobot.py:157
#: albatrobot.py:155
msgid "*Additional commands for bot admins*"
msgstr "*Comandi aggiuntivi per gli amministratori del bot*"
#: albatrobot.py:159
#: albatrobot.py:157
msgid ""
"reinitialize the bot\\. This updates inline suggestions and purges /epiphony "
"cached files\\."
@ -159,7 +159,7 @@ msgstr ""
"reimposta il bot\\. Questo aggiorna i suggerimenti in linea e rimuove i "
"documenti conservati per /epifonia\\."
#: albatrobot.py:161
#: albatrobot.py:159
msgid ""
"stop Albatrobot\\. To be used _only_ in case of emergency: restarting the "
"bot after this command is used requires direct access to the server\\."
@ -168,7 +168,7 @@ msgstr ""
"bot dopo che questo comando è stato utilizzato richiede accesso diretto al "
"server\\."
#: albatrobot.py:173
#: albatrobot.py:171
msgid ""
"Bot admins have access to additional commands and can get help on them "
"using /help in a private chat\\."
@ -176,7 +176,7 @@ msgstr ""
"Gli amministratori del bot hanno accesso a comandi aggiuntivi e possono "
"ricevere aiuto su di essi usando /aiuto in una conversazione privata\\."
#: albatrobot.py:182
#: albatrobot.py:180
#, python-brace-format
msgid ""
"{ccom_help}\n"
@ -187,7 +187,7 @@ msgstr ""
"\n"
"{acom_help}"
#: albatrobot.py:188
#: albatrobot.py:186
#, python-brace-format
msgid ""
"{ccom_help}\n"
@ -198,23 +198,35 @@ msgstr ""
"\n"
"{non_admin_addendum}"
#: albatrobot.py:194
msgid "Get an image"
msgstr "Ricevi un'immagine"
#: albatrobot.py:195
msgid "Get a citation"
msgstr "Ricevi una citazione"
#: albatrobot.py:196
msgid "Roll dice"
msgstr "Tira dei dadi"
msgid "Send all citations to a random user"
msgstr "Invia tutte le citazioni a un utente casuale"
#: albatrobot.py:199
#: albatrobot.py:197
msgid "Get help"
msgstr "Ricevi aiuto"
#: albatrobot.py:200
msgid "Initializing..."
msgstr "Reimpostazione in corso..."
#: albatrobot.py:203
#: albatrobot.py:204
msgid "Done"
msgstr "Fatto"
#: albatrobot.py:228
#: albatrobot.py:229
msgid "*Albatrobot's version:* {}"
msgstr "*Versione dell'Albatrobot:* {}"
#: albatrobot.py:242
#: albatrobot.py:243
msgid ""
"Christmas is good, but you can't invoke it so often! Try again in some "
"seconds..."
@ -222,22 +234,22 @@ msgstr ""
"Il Natale è bello, ma non puoi invocarlo così spesso! RIprova tra qualche "
"secondo..."
#: albatrobot.py:273
#: albatrobot.py:274
msgid ""
"Easter is good, but you can't invoke it so often! Retry in some seconds..."
msgstr ""
"La Pasqua è bella, ma non puoi invocarla così spesso! Riprova tra qualche "
"secondo..."
#: albatrobot.py:296
#: albatrobot.py:297
msgid "The most similar is {}."
msgstr "Il più simile è {}."
#: albatrobot.py:300
#: albatrobot.py:301
msgid "The most similar are {} and {}."
msgstr "I più simili sono {} e {}."
#: albatrobot.py:304
#: albatrobot.py:305
#, python-brace-format
msgid ""
"Author {required_author} is not present in the archive! {suggestion}\n"
@ -248,7 +260,7 @@ msgstr ""
"\n"
"N.b.: Le MaIuScOlE sOnO iMpOrTaNtI!"
#: albatrobot.py:324 albatrobot.py:352
#: albatrobot.py:325 albatrobot.py:353
#, python-brace-format
msgid ""
"{cit}\n"
@ -259,113 +271,113 @@ msgstr ""
"\n"
"~{author}"
#: albatrobot.py:345
#: albatrobot.py:346
msgid "Hello there, here an end of year dinner offered by {}!"
msgstr "Ciao, ecco un cenone di fine anno offerta da {}!"
#: albatrobot.py:359
#: albatrobot.py:360
#, python-brace-format
msgid "End of year dinner of {cits_number} plates delvered to {dest}!"
msgstr "Cenone di fine anno di {cits_number} portate consegnato a {dest}!"
#: albatrobot.py:372
#: albatrobot.py:373
msgid "What should I say?"
msgstr "Cosa dovrei dire?"
#: albatrobot.py:402
#: albatrobot.py:403
msgid "add `n` to the roll"
msgstr "aggiungi `n` al tiro"
#: albatrobot.py:403
#: albatrobot.py:404
msgid "subtract `n` from the roll"
msgstr "sottrati `n` dal tiro"
#: albatrobot.py:404
#: albatrobot.py:405
msgid "multiply the roll by `n`"
msgstr "moltiplica il tiro per `n`"
#: albatrobot.py:405
#: albatrobot.py:406
msgid "divide the roll by `n`"
msgstr "dividi il tiro per `n`"
#: albatrobot.py:406
#: albatrobot.py:407
msgid "floor divide the roll by `n`"
msgstr "ottieni il quoto del tiro diviso per `n`"
#: albatrobot.py:407
#: albatrobot.py:408
msgid "exponentiate the roll to `n`"
msgstr "eleva il tiro alla potenza `n`"
#: albatrobot.py:408
#: albatrobot.py:409
msgid "keep highest `n` rolls \\(defaults to `1`\\)"
msgstr "tieni gli `n` tiri più alti \\(valore predefinito: `1`\\)"
#: albatrobot.py:409
#: albatrobot.py:410
msgid "keep lowest `n` rolls \\(defaults to `1`\\)"
msgstr "tieni gli `n` tiri più bassi \\(valore predefinito: `1`\\)"
#: albatrobot.py:410
#: albatrobot.py:411
msgid "drop highest `n` rolls \\(defaults to `1`\\)"
msgstr "scarta gli `n` tiri più alti \\(valore predefinito: `1`\\)"
#: albatrobot.py:411
#: albatrobot.py:412
msgid "drop lowest `n` rolls \\(defaults to `1`\\)"
msgstr "scarta gli `n` tiri più bassi \\(valore predefinito: `1`\\)"
#: albatrobot.py:412
#: albatrobot.py:413
msgid "explode rolls equal to `n` \\(defaults to die size\\)"
msgstr ""
"fai esplodere i tiri pari a `n` \\(valore predefinito: dimensione del dado\\)"
#: albatrobot.py:413
#: albatrobot.py:414
msgid "explode rolls lower than `n`"
msgstr "fai esplodere i tiri minori di `n`"
#: albatrobot.py:414
#: albatrobot.py:415
msgid "explode rolls higher than `n`"
msgstr "fai esplodere i tiri maggiori di `n`"
#: albatrobot.py:415
#: albatrobot.py:416
msgid "count failures as rolls lower than `n`"
msgstr "conta i fallimenti come i tiri minori di `n`"
#: albatrobot.py:416
#: albatrobot.py:417
msgid "count failures as rolls higher than `n`"
msgstr "conta i fallimenti come i tiri maggiori di `n`"
#: albatrobot.py:417
#: albatrobot.py:418
msgid "count successes as rolls lower than `n`"
msgstr "conta i successi come i tiri minori di `n`"
#: albatrobot.py:418
#: albatrobot.py:419
msgid "count successes as rolls higher than `n`"
msgstr "conta i successi come i tiri maggiori di `n`"
#: albatrobot.py:419
#: albatrobot.py:420
msgid "penetrate rolls equal to dice size"
msgstr "penetra i tiri pari alla dimensione del dado"
#: albatrobot.py:420
#: albatrobot.py:421
msgid "penetrate rolls lower than `n`"
msgstr "penetra i tiri minori di `n`"
#: albatrobot.py:421
#: albatrobot.py:422
msgid "penetrate rolls higher than `n`"
msgstr "penetra i tiri maggiori di `n`"
#: albatrobot.py:422
#: albatrobot.py:423
msgid "add `n` to each roll"
msgstr "aggiungi `n` a ogni tiro"
#: albatrobot.py:423
#: albatrobot.py:424
msgid "subtract `n` from each roll"
msgstr "sottrai `n` a ogni tiro"
#: albatrobot.py:424
#: albatrobot.py:425
msgid "multiply by `n` each roll"
msgstr "moltiplica ogni tiro per `n`"
#: albatrobot.py:425
#: albatrobot.py:426
msgid ""
"reroll each dice that rolled `n` until there are no `n` left\\(defaults to "
"`1`\\)"
@ -373,12 +385,12 @@ msgstr ""
"ritira ogni dado con risultato `n` finché non ci sono `n` rimanenti "
"\\(valore predefinito: `1`\\)"
#: albatrobot.py:427
#: albatrobot.py:428
msgid "reroll once each dice that rolled `n` \\(defaults to 1\\)"
msgstr ""
"ritira una volta ogni dado che con risultato `n` \\(valore predefinito: 1\\)"
#: albatrobot.py:429
#: albatrobot.py:430
msgid ""
"reroll dice that rolled lower than `n` until there are no results lower than "
"`n` left"
@ -386,7 +398,7 @@ msgstr ""
"ritira i dadi con risultato minore di `n` finché non ci sono risultati "
"minori di `n` rimanenti"
#: albatrobot.py:431
#: albatrobot.py:432
msgid ""
"reroll dice that rolled higher than `n` until there no results higher than "
"`n` left"
@ -394,15 +406,15 @@ msgstr ""
"ritira i dadi con risultato maggiore di `n` finché non ci sono risultati "
"maggiori di `n` rimanenti"
#: albatrobot.py:433
#: albatrobot.py:434
msgid "reroll once dice that roll lower than `n`"
msgstr "ritira una volta i dadi con risultati minore di `n`"
#: albatrobot.py:434
#: albatrobot.py:435
msgid "reroll once dice that roll higher than `n`"
msgstr "ritira una volta i dadi con risultato maggiore di `n`"
#: albatrobot.py:439
#: albatrobot.py:440
msgid ""
"To roll, use the syntax `\\<number of dice\\>d\\<dice size\\>`\\. You can "
"also use the following modifiers\\. Note that:\n"
@ -421,15 +433,18 @@ msgstr ""
"\n"
"\n"
#: albatrobot.py:458
#: albatrobot.py:459
msgid "You can roll up to 500 dice with up to 500 faces at once!"
msgstr "Puoi tirare al massimo 1000 dadi con al massimo 1000 facce per volta!"
#: albatrobot.py:465
#: albatrobot.py:466
#, python-brace-format
msgid "{user_name} rolled {rolls} = {result}"
msgstr "{user_name} ha tirato {rolls} = {result}"
#: albatrobot.py:473
#: albatrobot.py:474
msgid "You used a wrong syntax!"
msgstr "Hai usato una sintassi errata!"
#~ msgid "Roll dice"
#~ msgstr "Tira dei dadi"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Albatrobot 0.3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-23 00:00+0000\n"
"POT-Creation-Date: 2023-03-24 00:00+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,55 +17,55 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: main.py:48 main.py:60 albatrobot.py:161
#: main.py:46 main.py:58 albatrobot.py:159
msgid "stop"
msgstr ""
#: main.py:48 main.py:69 albatrobot.py:159
#: main.py:46 main.py:67 albatrobot.py:157
msgid "init"
msgstr ""
#: main.py:65 albatrobot.py:143
#: main.py:63 albatrobot.py:141 albatrobot.py:197
msgid "help"
msgstr ""
#: main.py:73 albatrobot.py:144
#: main.py:71 albatrobot.py:142
msgid "legal"
msgstr ""
#: main.py:77 albatrobot.py:148
#: main.py:75 albatrobot.py:146
msgid "version"
msgstr ""
#: main.py:84 albatrobot.py:136
#: main.py:82 albatrobot.py:134 albatrobot.py:194
msgid "christmas"
msgstr ""
#: main.py:88 albatrobot.py:137
#: main.py:86 albatrobot.py:135 albatrobot.py:195
msgid "easter"
msgstr ""
#: main.py:92
#: main.py:90 albatrobot.py:196
msgid "end_of_year_dinner"
msgstr ""
#: main.py:96 albatrobot.py:141
#: main.py:94 albatrobot.py:139
msgid "epiphony"
msgstr ""
#: main.py:100 albatrobot.py:145 albatrobot.py:196
#: main.py:98 albatrobot.py:143
msgid "roll"
msgstr ""
#: albatrobot.py:81
#: albatrobot.py:79
msgid "User not authorized."
msgstr ""
#: albatrobot.py:89
#: albatrobot.py:87
msgid "Unknown command."
msgstr ""
#: albatrobot.py:103
#: albatrobot.py:101
msgid ""
"Hello, I'm Albatrobot\\! Type \\/help for help\\!\n"
"\n"
@ -76,89 +76,89 @@ msgid ""
"albatrobot)\\._"
msgstr ""
#: albatrobot.py:121
#: albatrobot.py:119
msgid "Albatrobot will be stopped in a few moments."
msgstr ""
#: albatrobot.py:134
#: albatrobot.py:132
msgid "*Albatrobot commands*"
msgstr ""
#: albatrobot.py:136
#: albatrobot.py:134
msgid "get an image"
msgstr ""
#: albatrobot.py:137
#: albatrobot.py:135
msgid " `\\(\\<author\\>\\)`"
msgstr ""
#: albatrobot.py:137
#: albatrobot.py:135
msgid ""
"get a citation from given author, or a random one if no author is "
"specified\\."
msgstr ""
#: albatrobot.py:139
#: albatrobot.py:137
msgid "end\\_of\\_year\\_dinner"
msgstr ""
#: albatrobot.py:139
#: albatrobot.py:137
msgid "send all citations in the archive to a random user\\."
msgstr ""
#: albatrobot.py:141
#: albatrobot.py:139
msgid " `\\(\\<text\\>\\)`"
msgstr ""
#: albatrobot.py:141
#: albatrobot.py:139
msgid "get a voice message from Albatrobot reading given text"
msgstr ""
#: albatrobot.py:143
#: albatrobot.py:141
msgid "get help about bot commands\\."
msgstr ""
#: albatrobot.py:144
#: albatrobot.py:142
msgid "get legal info about privacy and copyright\\."
msgstr ""
#: albatrobot.py:145
#: albatrobot.py:143
msgid " `\\<dice\\>\\(\\<modifiers\\>\\)`"
msgstr ""
#: albatrobot.py:145
#: albatrobot.py:143
msgid ""
"roll dice, with or without modifiers\\. Launch without arguments to get help "
"on the modifiers\\."
msgstr ""
#: albatrobot.py:148
#: albatrobot.py:146
msgid "get Albatrobot's version"
msgstr ""
#: albatrobot.py:157
#: albatrobot.py:155
msgid "*Additional commands for bot admins*"
msgstr ""
#: albatrobot.py:159
#: albatrobot.py:157
msgid ""
"reinitialize the bot\\. This updates inline suggestions and purges /epiphony "
"cached files\\."
msgstr ""
#: albatrobot.py:161
#: albatrobot.py:159
msgid ""
"stop Albatrobot\\. To be used _only_ in case of emergency: restarting the "
"bot after this command is used requires direct access to the server\\."
msgstr ""
#: albatrobot.py:173
#: albatrobot.py:171
msgid ""
"Bot admins have access to additional commands and can get help on them "
"using /help in a private chat\\."
msgstr ""
#: albatrobot.py:182
#: albatrobot.py:180
#, python-brace-format
msgid ""
"{ccom_help}\n"
@ -166,7 +166,7 @@ msgid ""
"{acom_help}"
msgstr ""
#: albatrobot.py:188
#: albatrobot.py:186
#, python-brace-format
msgid ""
"{ccom_help}\n"
@ -174,42 +174,54 @@ msgid ""
"{non_admin_addendum}"
msgstr ""
#: albatrobot.py:196
msgid "Roll dice"
#: albatrobot.py:194
msgid "Get an image"
msgstr ""
#: albatrobot.py:199
#: albatrobot.py:195
msgid "Get a citation"
msgstr ""
#: albatrobot.py:196
msgid "Send all citations to a random user"
msgstr ""
#: albatrobot.py:197
msgid "Get help"
msgstr ""
#: albatrobot.py:200
msgid "Initializing..."
msgstr ""
#: albatrobot.py:203
#: albatrobot.py:204
msgid "Done"
msgstr ""
#: albatrobot.py:228
#: albatrobot.py:229
msgid "*Albatrobot's version:* {}"
msgstr ""
#: albatrobot.py:242
#: albatrobot.py:243
msgid ""
"Christmas is good, but you can't invoke it so often! Try again in some "
"seconds..."
msgstr ""
#: albatrobot.py:273
#: albatrobot.py:274
msgid ""
"Easter is good, but you can't invoke it so often! Retry in some seconds..."
msgstr ""
#: albatrobot.py:296
#: albatrobot.py:297
msgid "The most similar is {}."
msgstr ""
#: albatrobot.py:300
#: albatrobot.py:301
msgid "The most similar are {} and {}."
msgstr ""
#: albatrobot.py:304
#: albatrobot.py:305
#, python-brace-format
msgid ""
"Author {required_author} is not present in the archive! {suggestion}\n"
@ -217,7 +229,7 @@ msgid ""
"N.b.: CaSe Is ImPoRtAnT!"
msgstr ""
#: albatrobot.py:324 albatrobot.py:352
#: albatrobot.py:325 albatrobot.py:353
#, python-brace-format
msgid ""
"{cit}\n"
@ -225,142 +237,142 @@ msgid ""
"~{author}"
msgstr ""
#: albatrobot.py:345
#: albatrobot.py:346
msgid "Hello there, here an end of year dinner offered by {}!"
msgstr ""
#: albatrobot.py:359
#: albatrobot.py:360
#, python-brace-format
msgid "End of year dinner of {cits_number} plates delvered to {dest}!"
msgstr ""
#: albatrobot.py:372
#: albatrobot.py:373
msgid "What should I say?"
msgstr ""
#: albatrobot.py:402
#: albatrobot.py:403
msgid "add `n` to the roll"
msgstr ""
#: albatrobot.py:403
#: albatrobot.py:404
msgid "subtract `n` from the roll"
msgstr ""
#: albatrobot.py:404
#: albatrobot.py:405
msgid "multiply the roll by `n`"
msgstr ""
#: albatrobot.py:405
#: albatrobot.py:406
msgid "divide the roll by `n`"
msgstr ""
#: albatrobot.py:406
#: albatrobot.py:407
msgid "floor divide the roll by `n`"
msgstr ""
#: albatrobot.py:407
#: albatrobot.py:408
msgid "exponentiate the roll to `n`"
msgstr ""
#: albatrobot.py:408
#: albatrobot.py:409
msgid "keep highest `n` rolls \\(defaults to `1`\\)"
msgstr ""
#: albatrobot.py:409
#: albatrobot.py:410
msgid "keep lowest `n` rolls \\(defaults to `1`\\)"
msgstr ""
#: albatrobot.py:410
#: albatrobot.py:411
msgid "drop highest `n` rolls \\(defaults to `1`\\)"
msgstr ""
#: albatrobot.py:411
#: albatrobot.py:412
msgid "drop lowest `n` rolls \\(defaults to `1`\\)"
msgstr ""
#: albatrobot.py:412
#: albatrobot.py:413
msgid "explode rolls equal to `n` \\(defaults to die size\\)"
msgstr ""
#: albatrobot.py:413
#: albatrobot.py:414
msgid "explode rolls lower than `n`"
msgstr ""
#: albatrobot.py:414
#: albatrobot.py:415
msgid "explode rolls higher than `n`"
msgstr ""
#: albatrobot.py:415
#: albatrobot.py:416
msgid "count failures as rolls lower than `n`"
msgstr ""
#: albatrobot.py:416
#: albatrobot.py:417
msgid "count failures as rolls higher than `n`"
msgstr ""
#: albatrobot.py:417
#: albatrobot.py:418
msgid "count successes as rolls lower than `n`"
msgstr ""
#: albatrobot.py:418
#: albatrobot.py:419
msgid "count successes as rolls higher than `n`"
msgstr ""
#: albatrobot.py:419
#: albatrobot.py:420
msgid "penetrate rolls equal to dice size"
msgstr ""
#: albatrobot.py:420
#: albatrobot.py:421
msgid "penetrate rolls lower than `n`"
msgstr ""
#: albatrobot.py:421
#: albatrobot.py:422
msgid "penetrate rolls higher than `n`"
msgstr ""
#: albatrobot.py:422
#: albatrobot.py:423
msgid "add `n` to each roll"
msgstr ""
#: albatrobot.py:423
#: albatrobot.py:424
msgid "subtract `n` from each roll"
msgstr ""
#: albatrobot.py:424
#: albatrobot.py:425
msgid "multiply by `n` each roll"
msgstr ""
#: albatrobot.py:425
#: albatrobot.py:426
msgid ""
"reroll each dice that rolled `n` until there are no `n` left\\(defaults to "
"`1`\\)"
msgstr ""
#: albatrobot.py:427
#: albatrobot.py:428
msgid "reroll once each dice that rolled `n` \\(defaults to 1\\)"
msgstr ""
#: albatrobot.py:429
#: albatrobot.py:430
msgid ""
"reroll dice that rolled lower than `n` until there are no results lower than "
"`n` left"
msgstr ""
#: albatrobot.py:431
#: albatrobot.py:432
msgid ""
"reroll dice that rolled higher than `n` until there no results higher than "
"`n` left"
msgstr ""
#: albatrobot.py:433
#: albatrobot.py:434
msgid "reroll once dice that roll lower than `n`"
msgstr ""
#: albatrobot.py:434
#: albatrobot.py:435
msgid "reroll once dice that roll higher than `n`"
msgstr ""
#: albatrobot.py:439
#: albatrobot.py:440
msgid ""
"To roll, use the syntax `\\<number of dice\\>d\\<dice size\\>`\\. You can "
"also use the following modifiers\\. Note that:\n"
@ -372,15 +384,15 @@ msgid ""
"\n"
msgstr ""
#: albatrobot.py:458
#: albatrobot.py:459
msgid "You can roll up to 500 dice with up to 500 faces at once!"
msgstr ""
#: albatrobot.py:465
#: albatrobot.py:466
#, python-brace-format
msgid "{user_name} rolled {rolls} = {result}"
msgstr ""
#: albatrobot.py:473
#: albatrobot.py:474
msgid "You used a wrong syntax!"
msgstr ""