habitica-self-host/common/script/content/faq.js

21 lines
400 B
JavaScript
Raw Normal View History

2016-03-03 03:36:27 +00:00
import t from './translation';
2015-10-03 11:39:10 +00:00
2016-03-03 03:36:27 +00:00
const NUMBER_OF_QUESTIONS = 12;
2015-10-03 11:39:10 +00:00
2016-03-03 03:36:27 +00:00
export const questions = [];
2015-10-03 11:39:10 +00:00
2015-11-15 14:16:55 +00:00
for (let i = 0; i <= NUMBER_OF_QUESTIONS; i++) {
let question = {
question: t(`faqQuestion${i}`),
ios: t(`iosFaqAnswer${i}`),
web: t(`webFaqAnswer${i}`),
2015-10-03 11:39:10 +00:00
};
2016-03-03 03:36:27 +00:00
questions.push(question);
2015-10-03 11:39:10 +00:00
}
2016-03-03 03:36:27 +00:00
export const stillNeedHelp = {
2015-10-03 11:39:10 +00:00
ios: t('iosFaqStillNeedHelp'),
2015-11-15 14:16:55 +00:00
web: t('webFaqStillNeedHelp'),
2015-10-03 11:39:10 +00:00
};