You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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:
... turns into something like this:
When doing that, we then obviously need to change how the templates are rendered and the data for them is gathered a little bit.
The text was updated successfully, but these errors were encountered: