-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
At some point we want to show answers to phrases in addition to the explanation.
First, we need to move the current answers to the language key, so that this:
{
swahili: "Mambo",
luganda: "Oli otya",
lugbara: "Mi ngoni",
english: "How are you?",
// answer: ["Poa - Cool", "Niko poa - I'm fine", luganda "Gyendi" lugbara "mamuke"],
explanation: "maybe the most common greeting to start a great conversation"
}... turns into something like this:
{
swahili: {
p: "Mambo",
a: ["Poa - Cool", "Niko poa - I'm fine"]
},
luganda: {
p: "Oli otya",
a: ["Gyendi"]
},
lugbara: {
p: "Mi ngoni",
a: ["Mamuke"]
},
english: "How are you?",
explanation: "maybe the most common greeting to start a great conversation"
}When doing that, we then obviously need to change how the templates are rendered and the data for them is gathered a little bit.
Reactions are currently unavailable