Skip to content

Commit

Permalink
Add animal and object mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
WillTDA committed Sep 26, 2022
1 parent 62f60f7 commit 72b6c44
Show file tree
Hide file tree
Showing 107 changed files with 427 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ module.exports = async function (input, options = {}) {
hasGuessed = true;

let guessEmbed = {
title: `${await translate(`I'm ${Math.round(aki.progress)}% sure your character is...`, options.language)}`,
description: `**${aki.answers[0].name}**\n${await translate(aki.answers[0].description, options.language)}\n\n${translations.isThisYourCharacter} ${!options.useButtons ? `**(Type Y/${translations.yes} or N/${translations.no})**` : ""}`,
title: `${await translate(`I'm ${Math.round(aki.progress)}% sure your ${options.gameType} is...`, options.language)}`,
description: `**${aki.answers[0].name}**\n${await translate(aki.answers[0].description, options.language)}\n\n${options.gameType == "animal" ? translations.isThisYourAnimal : options.gameType == "character" ? translations.isThisYourCharacter : translations.isThisYourObject} ${!options.useButtons ? `**(Type Y/${translations.yes} or N/${translations.no})**` : ""}`,
color: options.embedColor,
image: { url: aki.answers[0].absolute_picture_path },
author: { name: usertag, icon_url: avatar },
Expand Down Expand Up @@ -188,7 +188,7 @@ module.exports = async function (input, options = {}) {
color: options.embedColor,
author: { name: usertag, icon_url: avatar },
fields: [
{ name: translations.character, value: `**${aki.answers[0].name}**`, inline: true },
{ name: translations[options.gameType], value: `**${aki.answers[0].name}**`, inline: true },
{ name: translations.ranking, value: `**#${aki.answers[0].ranking}**`, inline: true },
{ name: translations.noOfQuestions, value: `**${aki.currentStep}**`, inline: true }
]
Expand Down
4 changes: 4 additions & 0 deletions src/translations/af.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
"stop": "Stop",
"thinking": "Dink ...",
"isThisYourCharacter": "Is dit jou karakter?",
"isThisYourAnimal": "Is dit u dier?",
"isThisYourObject": "Is dit u voorwerp?",
"ranking": "Rangskik",
"noOfQuestions": "Aantal vrae",
"wellPlayed": "Goed gespeel!",
"guessedRightOneMoreTime": "Ek het nog een keer geraai!",
"character": "Karakter",
"animal": "Dier",
"object": "Objek",
"defeated": "BRAVO! Jy het my verslaan ...",
"gameForceEnd": "Jou speletjie is suksesvol geëindig!",
"startingGame": "Begin spel ...",
Expand Down
4 changes: 4 additions & 0 deletions src/translations/am.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
"stop": "ተወ",
"thinking": "ማሰብ ...",
"isThisYourCharacter": "ይህ የእርስዎ ባህሪ ነው?",
"isThisYourAnimal": "ይህ የእርስዎ እንስሳ ነው?",
"isThisYourObject": "ይህ የእርስዎ ነገር ነው?",
"ranking": "ደረጃ",
"noOfQuestions": "የጥያቄዎች ቁጥር",
"wellPlayed": "ተጫውተናል!",
"guessedRightOneMoreTime": "አንድ ተጨማሪ ጊዜ እገፋፋለሁ!",
"character": "ቁምፊ",
"animal": "እንስሳ",
"object": "ነገር",
"defeated": "ብራ vo! አሸነፈኝ ...",
"gameForceEnd": "ጨዋታዎ በተሳካ ሁኔታ ተጠናቅቋል!",
"startingGame": "ጨዋታ ጀምሮ ...",
Expand Down
4 changes: 4 additions & 0 deletions src/translations/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
"stop": "قف",
"thinking": "التفكير ...",
"isThisYourCharacter": "هل هذه شخصيتك؟",
"isThisYourAnimal": "هل هذا حيوانك؟",
"isThisYourObject": "هل هذا هدفك؟",
"ranking": "تصنيف",
"noOfQuestions": "عدد الأسئلة",
"wellPlayed": "ملعوبة بشكل جيد!",
"guessedRightOneMoreTime": "لقد خمنت الحق مرة أخرى!",
"character": "حرف",
"animal": "حيوان",
"object": "هدف",
"defeated": "أحسنت! لقد هزمتني ...",
"gameForceEnd": "انتهت لعبتك بنجاح!",
"startingGame": "بداية اللعبة ...",
Expand Down
4 changes: 4 additions & 0 deletions src/translations/az.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
"stop": "Dayanmaq",
"thinking": "Düşünmək ...",
"isThisYourCharacter": "Bu sizin xarakterinizdir?",
"isThisYourAnimal": "Bu sizin heyvanı?",
"isThisYourObject": "Bu sizin obyekti?",
"ranking": "Sıralanma",
"noOfQuestions": "Sualların sayı",
"wellPlayed": "Yaxşı oynanılmış!",
"guessedRightOneMoreTime": "Doğrudanmı bir daha olduğunu təxmin etdim!",
"character": "Xasiyyət",
"animal": "Heyvan",
"object": "Obyekt",
"defeated": "! Məni məğlub etdin ...",
"gameForceEnd": "Oyununuz uğurla başa çatdı!",
"startingGame": "Başlanğıc oyunu ...",
Expand Down
4 changes: 4 additions & 0 deletions src/translations/be.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
"stop": "Прыпынак",
"thinking": "Думаючы ...",
"isThisYourCharacter": "Ці з'яўляецца гэта ваш персанаж?",
"isThisYourAnimal": "Гэта ваша жывёла?",
"isThisYourObject": "Гэта ваш аб'ект?",
"ranking": "Ранжыраванне",
"noOfQuestions": "Колькасць пытанняў",
"wellPlayed": "Добра згуляў!",
"guessedRightOneMoreTime": "Я здагадаўся, правільна яшчэ раз!",
"character": "Асоба",
"animal": "Жывёла",
"object": "Пярэчыць",
"defeated": "Брава! Вы перамаглі мне ...",
"gameForceEnd": "Ваша гульня была паспяхова скончылася!",
"startingGame": "Пачынаючы гульню ...",
Expand Down
4 changes: 4 additions & 0 deletions src/translations/bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
"stop": "Спри се",
"thinking": "Мислейки ...",
"isThisYourCharacter": "Това ли е вашият характер?",
"isThisYourAnimal": "Това ли е вашето животно?",
"isThisYourObject": "Това ли е вашият обект?",
"ranking": "Класиране",
"noOfQuestions": "Брой въпроси",
"wellPlayed": "Добре изиграно!",
"guessedRightOneMoreTime": "Предположих още веднъж!",
"character": "Характер",
"animal": "Животно",
"object": "Обект",
"defeated": "Bravo! Ти ме победи ...",
"gameForceEnd": "Вашата игра беше успешно приключила!",
"startingGame": "Стартиране на игра ...",
Expand Down
4 changes: 4 additions & 0 deletions src/translations/bn.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
"stop": "বন্ধ করুন",
"thinking": "চিন্তা ...",
"isThisYourCharacter": "এই আপনার চরিত্র?",
"isThisYourAnimal": "এটা কি তোমার প্রাণী?",
"isThisYourObject": "এটি কি আপনার বস্তু?",
"ranking": "র্যাংকিং",
"noOfQuestions": "প্রশ্নের সংখ্যা",
"wellPlayed": "ভালো খেলেছ!",
"guessedRightOneMoreTime": "আমি আরো এক সময় অনুমান!",
"character": "চরিত্র",
"animal": "প্রাণী",
"object": "অবজেক্ট",
"defeated": "ব্রাভো! আপনি আমাকে পরাজিত করেছেন ...",
"gameForceEnd": "আপনার খেলা সফলভাবে শেষ হয়েছে!",
"startingGame": "খেলা শুরু হচ্ছে...",
Expand Down
4 changes: 4 additions & 0 deletions src/translations/bs.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
"stop": "Prestati",
"thinking": "Razmišljanje ...",
"isThisYourCharacter": "Je li ovo vaš lik?",
"isThisYourAnimal": "Da li je ovo tvoja životinja?",
"isThisYourObject": "Je li ovo vaš objekt?",
"ranking": "Rang",
"noOfQuestions": "Broj pitanja",
"wellPlayed": "Dobro odigrano!",
"guessedRightOneMoreTime": "Pogodio sam se odmah još jednom!",
"character": "Lik",
"animal": "Životinja",
"object": "Objekt",
"defeated": "Bravo! Pobijedili ste me ...",
"gameForceEnd": "Vaša igra je uspješno završena!",
"startingGame": "Početna igra ...",
Expand Down
4 changes: 4 additions & 0 deletions src/translations/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
"stop": "Atura",
"thinking": "Pensar ...",
"isThisYourCharacter": "És el teu personatge?",
"isThisYourAnimal": "És aquest el teu animal?",
"isThisYourObject": "Aquest és el vostre objecte?",
"ranking": "Rànquing",
"noOfQuestions": "Nombre de preguntes",
"wellPlayed": "Ben jugat!",
"guessedRightOneMoreTime": "Vaig endevinar una vegada més!",
"character": "Personatge",
"animal": "Animal",
"object": "Objecte",
"defeated": "Bravo! M'has derrotat ...",
"gameForceEnd": "El vostre joc s'ha acabat amb èxit.",
"startingGame": "Començar el joc ...",
Expand Down
4 changes: 4 additions & 0 deletions src/translations/ceb.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
"stop": "Hunonganan",
"thinking": "Naghunahuna ...",
"isThisYourCharacter": "Mao ba kini ang imong kinaiya?",
"isThisYourAnimal": "Mao ba kini ang imong hayop?",
"isThisYourObject": "Kini ba ang imong butang?",
"ranking": "Ranggo",
"noOfQuestions": "Dili",
"wellPlayed": "Maayo nga pagdula!",
"guessedRightOneMoreTime": "Nahiangay ako sa usa pa ka oras!",
"character": "Magdudula",
"animal": "Hayop",
"object": "Butang",
"defeated": "Bravo! Gipildi mo ako ...",
"gameForceEnd": "Malampuson nga natapos ang imong dula!",
"startingGame": "Sugod sa dula ...",
Expand Down
4 changes: 4 additions & 0 deletions src/translations/co.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
"stop": "Stop",
"thinking": "Pensendu ...",
"isThisYourCharacter": "Hè u vostru caratteru?",
"isThisYourAnimal": "Hè questu u vostru animale?",
"isThisYourObject": "Hè questu u vostru ughjettu?",
"ranking": "Ranking",
"noOfQuestions": "Numero di dumande",
"wellPlayed": "Ben ghjucatu!",
"guessedRightOneMoreTime": "Aghju pensatu ghjustu una volta più!",
"character": "Caratteru",
"animal": "Animali animale",
"object": "Ughjettu",
"defeated": "Bravo! M'hai scunfittu ...",
"gameForceEnd": "U vostru ghjocu hè statu finitu cun successu!",
"startingGame": "Cumenciu à cumunsione ...",
Expand Down
4 changes: 4 additions & 0 deletions src/translations/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
"stop": "Stop",
"thinking": "Myslící...",
"isThisYourCharacter": "Je to vaše postava?",
"isThisYourAnimal": "Je to vaše zvíře?",
"isThisYourObject": "Je to váš objekt?",
"ranking": "Ranking.",
"noOfQuestions": "Počet otázek",
"wellPlayed": "Dobře zahráno!",
"guessedRightOneMoreTime": "Hádal jsem ještě jednou!",
"character": "Charakter",
"animal": "Zvíře",
"object": "Objekt",
"defeated": "Bravo! Porazil jsi mě ...",
"gameForceEnd": "Vaše hra byla úspěšně ukončena!",
"startingGame": "Počáteční hra ...",
Expand Down
4 changes: 4 additions & 0 deletions src/translations/cy.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
"stop": "Harnaf",
"thinking": "Meddwl ...",
"isThisYourCharacter": "Ai dyma'ch cymeriad chi?",
"isThisYourAnimal": "Ai hwn yw eich anifail?",
"isThisYourObject": "Ai hwn yw eich gwrthrych?",
"ranking": "Rengau",
"noOfQuestions": "Nifer y cwestiynau",
"wellPlayed": "Chwarae da!",
"guessedRightOneMoreTime": "Fe wnes i ddyfalu yn iawn un tro arall!",
"character": "Chymeriad",
"animal": "Hanifeiliaid",
"object": "Gwrthwynebith",
"defeated": "Bravo! Rydych chi wedi fy nhrechu ...",
"gameForceEnd": "Daeth eich gêm i ben yn llwyddiannus!",
"startingGame": "Gêm Ddechrau ...",
Expand Down
4 changes: 4 additions & 0 deletions src/translations/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
"stop": "Hold op",
"thinking": "Tænker ...",
"isThisYourCharacter": "Er dette din karakter?",
"isThisYourAnimal": "Er dette dit dyr?",
"isThisYourObject": "Er dette dit objekt?",
"ranking": "Ranking.",
"noOfQuestions": "Antal spørgsmål",
"wellPlayed": "Godt spillet!",
"guessedRightOneMoreTime": "Jeg gættede rigtigt endnu en gang!",
"character": "Karakter",
"animal": "Dyr",
"object": "Objekt",
"defeated": "Bravo! Du har besejret mig ...",
"gameForceEnd": "Dit spil blev afsluttet med succes!",
"startingGame": "Startspil ...",
Expand Down
4 changes: 4 additions & 0 deletions src/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
"stop": "Beenden",
"thinking": "Ich denke nach...",
"isThisYourCharacter": "Ist das dein Charakter?",
"isThisYourAnimal": "Ist das dein Tier?",
"isThisYourObject": "Ist das dein Objekt?",
"ranking": "Rangfolge",
"noOfQuestions": "Anzahl der Fragen",
"wellPlayed": "Gut gespielt!",
"guessedRightOneMoreTime": "Ich habe erneut richtig geraten!",
"character": "Charakter",
"animal": "Tier",
"object": "Objekt",
"defeated": "Bravo! Du hast mich besiegt ...",
"gameForceEnd": "Dein Spiel wurde erfolgreich beendet!",
"startingGame": "Startspiel ...",
Expand Down
4 changes: 4 additions & 0 deletions src/translations/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
"stop": "Να σταματήσει",
"thinking": "Σκέψη...",
"isThisYourCharacter": "Είναι αυτός ο χαρακτήρας σας;",
"isThisYourAnimal": "Είναι αυτό το ζώο σας;",
"isThisYourObject": "Είναι αυτό το αντικείμενο σας;",
"ranking": "Σειρά κατάταξης",
"noOfQuestions": "Αριθμός ερωτήσεων",
"wellPlayed": "Καλά έπαιξε!",
"guessedRightOneMoreTime": "Υποθέτω ότι σωστά περισσότερο χρόνο!",
"character": "Χαρακτήρας",
"animal": "Ζώο",
"object": "Αντικείμενο",
"defeated": "Μπράβο! Με είχατε νικήσει ...",
"gameForceEnd": "Το παιχνίδι σας τελείωσε με επιτυχία!",
"startingGame": "Εκκίνηση του παιχνιδιού ...",
Expand Down
4 changes: 4 additions & 0 deletions src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
"stop": "Stop",
"thinking": "Thinking...",
"isThisYourCharacter": "Is this your Character?",
"isThisYourAnimal": "Is this your Animal?",
"isThisYourObject": "Is this your Object?",
"ranking": "Ranking",
"noOfQuestions": "No. of Questions",
"wellPlayed": "Well Played!",
"guessedRightOneMoreTime": "I guessed right one more time!",
"character": "Character",
"animal": "Animal",
"object": "Object",
"defeated": "bravo! You have defeated me...",
"gameForceEnd": "your game was successfully ended!",
"startingGame": "Starting Game...",
Expand Down
4 changes: 4 additions & 0 deletions src/translations/eo.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
"stop": "Halti",
"thinking": "Pensante ...",
"isThisYourCharacter": "Ĉu ĉi tio estas via karaktero?",
"isThisYourAnimal": "Ĉu ĉi tio estas via besto?",
"isThisYourObject": "Ĉu ĉi tio estas via objekto?",
"ranking": "Rango",
"noOfQuestions": "Nombro de demandoj",
"wellPlayed": "Bone ludis!",
"guessedRightOneMoreTime": "Mi konjektis ankoraŭ unu fojon!",
"character": "Karaktero",
"animal": "Besto",
"object": "Objekto",
"defeated": "Bravo! Vi venkis min ...",
"gameForceEnd": "Via ludo sukcese finiĝis!",
"startingGame": "Komencanta Ludo ...",
Expand Down
4 changes: 4 additions & 0 deletions src/translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
"stop": "Detener",
"thinking": "Pensando...",
"isThisYourCharacter": "¿Es este tu personaje?",
"isThisYourAnimal": "¿Es este tu animal?",
"isThisYourObject": "¿Es este tu objeto?",
"ranking": "Clasificación",
"noOfQuestions": "N° de preguntas",
"wellPlayed": "¡Bien jugado!",
"guessedRightOneMoreTime": "¡Acerté una vez más!",
"character": "Personaje",
"animal": "Animal",
"object": "Objeto",
"defeated": "¡Felicidades! Me has derrotado...",
"gameForceEnd": "¡Tu juego ha finalizado con éxito!",
"startingGame": "Empieza el juego...",
Expand Down
4 changes: 4 additions & 0 deletions src/translations/et.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
"stop": "Peatama",
"thinking": "Mõeldes ...",
"isThisYourCharacter": "Kas see on teie iseloom?",
"isThisYourAnimal": "Kas see on teie loom?",
"isThisYourObject": "Kas see on teie objekt?",
"ranking": "Järjestus",
"noOfQuestions": "Küsimuste arv",
"wellPlayed": "Hästi mängitud!",
"guessedRightOneMoreTime": "Ma arvasin veel üks kord!",
"character": "Iseloom",
"animal": "Loom",
"object": "Objekt",
"defeated": "Bravo! Sa oled lüüa mind ...",
"gameForceEnd": "Teie mäng lõppes edukalt!",
"startingGame": "Mäng ...",
Expand Down
4 changes: 4 additions & 0 deletions src/translations/eu.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
"stop": "Geldialdi",
"thinking": "Pentsatzen ...",
"isThisYourCharacter": "Hau al da zure pertsonaia?",
"isThisYourAnimal": "Hau al da zure animalia?",
"isThisYourObject": "Hau al da zure objektua?",
"ranking": "Sailketa",
"noOfQuestions": "Galdera kopurua",
"wellPlayed": "Ondo jokatua!",
"guessedRightOneMoreTime": "Ondo pentsatu nuen denbora gehiago!",
"character": "Gizon puska",
"animal": "Animalia",
"object": "Oztopoak jarri",
"defeated": "Bravo! Garaitu nauzu ...",
"gameForceEnd": "Zure jokoa ondo amaitu da!",
"startingGame": "Hasierako jokoa ...",
Expand Down
4 changes: 4 additions & 0 deletions src/translations/fa.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
"stop": "متوقف کردن",
"thinking": "فكر كردن...",
"isThisYourCharacter": "آیا این شخصیت شماست؟",
"isThisYourAnimal": "این حیوان شماست؟",
"isThisYourObject": "آیا این موضوع شماست؟",
"ranking": "رتبه بندی",
"noOfQuestions": "تعداد سوالات",
"wellPlayed": "خوب بازی کرد",
"guessedRightOneMoreTime": "من یک بار دیگر حدس زدم!",
"character": "شخصیت",
"animal": "حیوانی",
"object": "هدف - شی",
"defeated": "براوو! تو من را شکست دادی ...",
"gameForceEnd": "بازی شما با موفقیت به پایان رسید!",
"startingGame": "شروع بازی ...",
Expand Down
4 changes: 4 additions & 0 deletions src/translations/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
"stop": "Lopettaa",
"thinking": "Ajattelu...",
"isThisYourCharacter": "Onko tämä sinun hahmosi?",
"isThisYourAnimal": "Onko tämä eläimesi?",
"isThisYourObject": "Onko tämä sinun esineesi?",
"ranking": "Sijoitus",
"noOfQuestions": "Kysymysten lukumäärä",
"wellPlayed": "Hyvin pelattu!",
"guessedRightOneMoreTime": "Luulin oikein vielä kerran!",
"character": "Merkki",
"animal": "Eläin",
"object": "Esine",
"defeated": "Bravo! Olet voittanut minut ...",
"gameForceEnd": "Peli päättyi onnistuneesti!",
"startingGame": "Aloituspeli ...",
Expand Down
Loading

0 comments on commit 72b6c44

Please sign in to comment.