Add locales support

This commit is contained in:
octospacc
2021-12-26 18:23:20 +01:00
parent ec96a9de6e
commit ad7529d0a9
6 changed files with 211 additions and 93 deletions

31
Locale/en.json Executable file
View File

@@ -0,0 +1,31 @@
{
"start": [
"Hi {user.mention_markdown_v2()}!"
],
"help": [
"There's no one around to help (yet)."
],
"echo": {
"empty": [
"Echo what? Give me something to repeat."
]
},
"wish": {
"empty": [
"*You wished for nothing! ✨*\n\n_Nothing happens..._"
],
"done": [
"*Your wish has been cast! ✨*\n\n_Chance of success: {0}%_"
]
},
"hug": {
"empty": [
"*Hug? You didn't reply to anyone...*"
],
"bot": [],
"self": [],
"others": [
"*{0} hugs {1} tightly... :3*"
]
}
}

31
Locale/it.json Executable file
View File

@@ -0,0 +1,31 @@
{
"start": [
"Ciao {user.mention_markdown_v2()}!"
],
"help": [
"Non c'è nessuno qui ad aiutarti (per ora)."
],
"echo": {
"empty": [
"Echo cosa? Dimmi qualcosa da ripetere."
]
},
"wish": {
"empty": [
"*Non hai desiderato nulla! ✨*\n\n_Non succede niente..._"
],
"done": [
"*Il tuo desiderio è stato espresso! ✨*\n\n_Probabilità che si avveri: {0}%_"
]
},
"hug": {
"empty": [
"*Un abbraccio a chi? Non hai risposto a nessuno...*"
],
"bot": [],
"self": [],
"others": [
"*{0} abbraccia {1} forte forte... :3*"
]
}
}