Files
habitica/common/script/content/faq.js
2015-09-17 08:09:47 -05:00

25 lines
431 B
JavaScript

let t = require('./helpers/translator');
const NUMBER_OF_QUESTIONS = 12;
let faq = {};
faq.questions = [];
for (var i = 0; i < NUMBER_OF_QUESTIONS; i++) {
let question = {
question: t('faqQuestion' + i),
ios: t('iosFaqAnswer' + i),
web: t('webFaqAnswer' + i)
};
faq.questions.push(question);
}
faq.stillNeedHelp = {
ios: t('iosFaqStillNeedHelp'),
web: t('webFaqStillNeedHelp')
};
module.exports = faq;