mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
Remove email addresses from translatable strings (#8448)
* Fix User > Profile showing {getProgressDisplay()}
* Remove bad nextRewardAt check
* 1st iteration of issue #8385 - more pending
* #8385 config and jade fixes, tests pending
* #8385 fixing lint errors
* Fix faqs string and test
* Fix faq.jade and add workaround for faq.js
* Fixing accidental checking for faq.js
* fix emails in faq.js
* fetch emails once in auth.js
* Fixing community manager email in auth.js
(cherry picked from commit 842fbe42a8)
This commit is contained in:
@@ -14,7 +14,11 @@ for (let i = 0; i <= NUMBER_OF_QUESTIONS; i++) {
|
||||
let question = {
|
||||
question: t(`faqQuestion${i}`),
|
||||
ios: t(`iosFaqAnswer${i}`),
|
||||
web: t(`webFaqAnswer${i}`),
|
||||
web: t(`webFaqAnswer${i}`, {
|
||||
// TODO: Need to pull these values from nconf
|
||||
techAssistanceEmail: 'admin@habitica.com',
|
||||
wikiTechAssistanceEmail: 'mailto:admin@habitica.com',
|
||||
}),
|
||||
};
|
||||
|
||||
faq.questions.push(question);
|
||||
|
||||
Reference in New Issue
Block a user