Introduced i18n for /event, /guess, /register and /unregister. Prepared other commands for i18n too

This commit is contained in:
2025-04-27 22:04:14 +02:00
parent 12a88d5a23
commit 9a5edbaa4d
6 changed files with 273 additions and 37 deletions

View File

@@ -36,6 +36,130 @@
},
"config_show": {
"description": "Show the guild's configuration"
},
"event": {
"description": "Event management"
},
"event_create": {
"description": "Create new event",
"options": {
"name": {
"description": "Name of the event"
},
"start": {
"description": "Date when the event starts (DD.MM.YYYY HH:MM)"
},
"end": {
"description": "Date when the event ends (DD.MM.YYYY HH:MM)"
},
"thumbnail": {
"description": "Thumbnail of the event"
}
}
},
"event_edit": {
"description": "Edit the event",
"options": {
"event": {
"description": "Name of the event"
},
"name": {
"description": "New name of the event"
},
"start": {
"description": "Date when the event starts (DD.MM.YYYY HH:MM)"
},
"end": {
"description": "Date when the event ends (DD.MM.YYYY HH:MM)"
},
"thumbnail": {
"description": "Thumbnail of the event"
}
}
},
"event_cancel": {
"description": "Cancel the event",
"options": {
"event": {
"description": "Name of the event"
},
"confirm": {
"description": "Confirmation of the operation"
}
}
},
"event_show": {
"description": "Show details about the event",
"options": {
"event": {
"description": "Name of the event"
}
}
},
"guess": {
"description": "Provide an answer to the current event stage",
"options": {
"answer": {
"description": "Answer to the current stage"
}
}
},
"register": {
"description": "Register for the selected event",
"options": {
"event": {
"description": "Name of the event"
}
}
},
"stage": {
"description": "Event stage management"
},
"stage_add": {
"description": "",
"options": {}
},
"stage_edit": {
"description": "",
"options": {}
},
"stage_delete": {
"description": "",
"options": {}
},
"unregister": {
"description": "Leave the selected event",
"options": {
"event": {
"description": "Name of the event"
},
"confirm": {
"description": "Confirmation of the operation"
}
}
},
"user": {
"description": "User management"
},
"user_create_channel": {
"description": "",
"options": {}
},
"user_update_channel": {
"description": "",
"options": {}
},
"user_delete_channel": {
"description": "",
"options": {}
},
"user_jail": {
"description": "",
"options": {}
},
"user_unjail": {
"description": "",
"options": {}
}
}
}