2016-03-03 03:36:27 +00:00
|
|
|
import t from './translation';
|
2015-10-03 11:39:10 +00:00
|
|
|
|
2022-12-15 17:34:07 +00:00
|
|
|
const questionList = [
|
|
|
|
|
{
|
|
|
|
|
heading: 'overview',
|
|
|
|
|
translationIndex: 0,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
heading: 'set-up-tasks',
|
|
|
|
|
translationIndex: 1,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
heading: 'sample-tasks',
|
|
|
|
|
translationIndex: 2,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
heading: 'task-color',
|
|
|
|
|
translationIndex: 3,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
heading: 'health',
|
|
|
|
|
translationIndex: 4,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
heading: 'party-with-friends',
|
|
|
|
|
translationIndex: 5,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
heading: 'pets-mounts',
|
|
|
|
|
translationIndex: 6,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
heading: 'character-classes',
|
|
|
|
|
translationIndex: 7,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
heading: 'blue-mana-bar',
|
|
|
|
|
translationIndex: 8,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
heading: 'monsters-quests',
|
|
|
|
|
translationIndex: 9,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
heading: 'gems',
|
|
|
|
|
translationIndex: 10,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
heading: 'bugs-features',
|
|
|
|
|
translationIndex: 11,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
heading: 'group-plans',
|
|
|
|
|
translationIndex: 13,
|
|
|
|
|
excludedPlatforms: ['android', 'ios'],
|
|
|
|
|
},
|
|
|
|
|
];
|
2015-10-03 11:39:10 +00:00
|
|
|
|
2019-10-08 14:57:10 +00:00
|
|
|
const faq = {
|
2016-03-08 17:58:43 +00:00
|
|
|
questions: [],
|
|
|
|
|
stillNeedHelp: {
|
|
|
|
|
ios: t('iosFaqStillNeedHelp'),
|
|
|
|
|
web: t('webFaqStillNeedHelp'),
|
|
|
|
|
},
|
|
|
|
|
};
|
2015-10-03 11:39:10 +00:00
|
|
|
|
2022-12-15 17:34:07 +00:00
|
|
|
questionList.forEach(listEntry => {
|
2019-10-08 14:57:10 +00:00
|
|
|
const question = {
|
2022-12-15 17:34:07 +00:00
|
|
|
exclusions: listEntry.excludedPlatforms || [],
|
|
|
|
|
heading: listEntry.heading,
|
|
|
|
|
question: t(`faqQuestion${listEntry.translationIndex}`),
|
|
|
|
|
android: t(`androidFaqAnswer${listEntry.translationIndex}`),
|
|
|
|
|
ios: t(`iosFaqAnswer${listEntry.translationIndex}`),
|
|
|
|
|
web: t(`webFaqAnswer${listEntry.translationIndex}`, {
|
2017-03-27 16:03:31 +00:00
|
|
|
// TODO: Need to pull these values from nconf
|
|
|
|
|
techAssistanceEmail: 'admin@habitica.com',
|
|
|
|
|
wikiTechAssistanceEmail: 'mailto:admin@habitica.com',
|
|
|
|
|
}),
|
2015-10-03 11:39:10 +00:00
|
|
|
};
|
|
|
|
|
|
2016-03-08 17:58:43 +00:00
|
|
|
faq.questions.push(question);
|
2022-12-15 17:34:07 +00:00
|
|
|
});
|
2015-10-03 11:39:10 +00:00
|
|
|
|
2019-10-01 15:53:48 +00:00
|
|
|
export default faq;
|