@@ -18,7 +18,118 @@ module.exports = function (grunt) {
1818
1919 grunt . config ( 'concat' , {
2020 ftl : {
21- src : [ 'lib/l10n/server.ftl' , 'lib/**/senders/emails/**/en.ftl' ] ,
21+ src : [
22+ 'lib/l10n/server.ftl' ,
23+
24+ // Until we have fully migrated all email sending off of auth-server, we will
25+ // maintain a list of ftl files to extract here. As we migrate over to using
26+ // the templates from this library, we should comment the template from this list,
27+ // and make sure that is commented out in auth server's list. Doing so will avoid
28+ // duplication of l10n strings, which causes our translators uncessary rework...
29+
30+ // Once all email rendering has been migrated, just use this pattern!
31+ // 'lib/senders/emails/**/en.ftl',
32+
33+ // 'lib/senders/emails/layouts/fxa/en.ftl',
34+ 'lib/senders/emails/subscription/fxa/en.ftl' ,
35+
36+ // 'lib/senders/emails/partials/accountDeletionInfoBlock/en.ftl',
37+ // 'lib/senders/emails/partials/appBadges/en.ftl',
38+ // 'lib/senders/emails/partials/automatedEmailChangePassword/en.ftl',
39+ // 'lib/senders/emails/partials/automatedEmailInactiveAccount/en.ftl',
40+ // 'lib/senders/emails/partials/automatedEmailNoAction/en.ftl',
41+ // 'lib/senders/emails/partials/automatedEmailNotAuthorized/en.ftl',
42+ // 'lib/senders/emails/partials/automatedEmailRecoveryKey/en.ftl',
43+ // 'lib/senders/emails/partials/automatedEmailResetPassword/en.ftl',
44+ // 'lib/senders/emails/partials/automatedEmailResetPasswordTwoFactor/en.ftl',
45+ // 'lib/senders/emails/partials/bannerWarning/en.ftl',
46+ // 'lib/senders/emails/partials/brandMessaging/en.ftl',
47+ // 'lib/senders/emails/partials/button/en.ftl',
48+ // 'lib/senders/emails/partials/changePassword/en.ftl',
49+ // 'lib/senders/emails/partials/changePassword/en.ftl',
50+ 'lib/senders/emails/partials/icon/en.ftl' ,
51+ // 'lib/senders/emails/partials/manageAccount/en.ftl',
52+ 'lib/senders/emails/partials/paymentPlanDetails/en.ftl' ,
53+ 'lib/senders/emails/partials/paymentProvider/en.ftl' ,
54+ 'lib/senders/emails/partials/subscriptionCharges/en.ftl' ,
55+ 'lib/senders/emails/partials/subscriptionSupport/en.ftl' ,
56+ 'lib/senders/emails/partials/subscriptionSupportContact/en.ftl' ,
57+ 'lib/senders/emails/partials/subscriptionSupportGetHelp/en.ftl' ,
58+ 'lib/senders/emails/partials/subscriptionUpdateBillingEnsure/en.ftl' ,
59+ 'lib/senders/emails/partials/subscriptionUpdateBillingTry/en.ftl' ,
60+ 'lib/senders/emails/partials/subscriptionUpdatePayment/en.ftl' ,
61+ // 'lib/senders/emails/partials/support/en.ftl',
62+ // 'lib/senders/emails/partials/userDevice/en.ftl',
63+ // 'lib/senders/emails/partials/userInfo/en.ftl',
64+ // 'lib/senders/emails/partials/userLocation/en.ftl',
65+ 'lib/senders/emails/partials/viewInvoice/en.ftl' ,
66+
67+ // 'lib/senders/emails/templates/adminResetAccounts/en.ftl',
68+ // 'lib/senders/emails/templates/cadReminderFirst/en.ftl',
69+ // 'lib/senders/emails/templates/cadReminderSecond/en.ftl',
70+ 'lib/senders/emails/templates/downloadSubscription/en.ftl' ,
71+ 'lib/senders/emails/templates/fraudulentAccountDeletion/en.ftl' ,
72+ // 'lib/senders/emails/templates/inactiveAccountFinalWarning/en.ftl',
73+ // 'lib/senders/emails/templates/inactiveAccountFirstWarning/en.ftl',
74+ // 'lib/senders/emails/templates/inactiveAccountSecondWarning/en.ftl',
75+ // 'lib/senders/emails/templates/lowRecoveryCodes/en.ftl',
76+ // 'lib/senders/emails/templates/newDeviceLogin/en.ftl',
77+ // 'lib/senders/emails/templates/passwordChangeRequired/en.ftl',
78+ // 'lib/senders/emails/templates/passwordChanged/en.ftl',
79+ // 'lib/senders/emails/templates/passwordForgotOtp/en.ftl',
80+ // 'lib/senders/emails/templates/passwordReset/en.ftl',
81+ // 'lib/senders/emails/templates/passwordResetAccountRecovery/en.ftl',
82+ // 'lib/senders/emails/templates/passwordResetRecoveryPhone/en.ftl',
83+ // 'lib/senders/emails/templates/passwordResetWithRecoveryKeyPrompt/en.ftl',
84+ // 'lib/senders/emails/templates/postAddAccountRecovery/en.ftl',
85+ // 'lib/senders/emails/templates/postAddLinkedAccount/en.ftl',
86+ // 'lib/senders/emails/templates/postAddRecoveryPhone/en.ftl',
87+ // 'lib/senders/emails/templates/postAddTwoStepAuthentication/en.ftl',
88+ // 'lib/senders/emails/templates/postChangeAccountRecovery/en.ftl',
89+ // 'lib/senders/emails/templates/postChangePrimary/en.ftl',
90+ // 'lib/senders/emails/templates/postChangeRecoveryPhone/en.ftl',
91+ // 'lib/senders/emails/templates/postChangeTwoStepAuthentication/en.ftl',
92+ // 'lib/senders/emails/templates/postConsumeRecoveryCode/en.ftl',
93+ // 'lib/senders/emails/templates/postNewRecoveryCodes/en.ftl',
94+ // 'lib/senders/emails/templates/postRemoveAccountRecovery/en.ftl',
95+ // 'lib/senders/emails/templates/postRemoveRecoveryPhone/en.ftl',
96+ // 'lib/senders/emails/templates/postRemoveSecondary/en.ftl',
97+ // 'lib/senders/emails/templates/postRemoveTwoStepAuthentication/en.ftl',
98+ // 'lib/senders/emails/templates/postSigninRecoveryCode/en.ftl',
99+ // 'lib/senders/emails/templates/postSigninRecoveryPhone/en.ftl',
100+ // 'lib/senders/emails/templates/postVerify/en.ftl',
101+ // 'lib/senders/emails/templates/postVerifySecondary/en.ftl',
102+ // 'lib/senders/emails/templates/recovery/en.ftl',
103+ 'lib/senders/emails/templates/subscriptionAccountDeletion/en.ftl' ,
104+ 'lib/senders/emails/templates/subscriptionAccountReminderFirst/en.ftl' ,
105+ 'lib/senders/emails/templates/subscriptionAccountReminderSecond/en.ftl' ,
106+ 'lib/senders/emails/templates/subscriptionCancellation/en.ftl' ,
107+ 'lib/senders/emails/templates/subscriptionDowngrade/en.ftl' ,
108+ 'lib/senders/emails/templates/subscriptionEndingReminder/en.ftl' ,
109+ 'lib/senders/emails/templates/subscriptionFailedPaymentsCancellation/en.ftl' ,
110+ 'lib/senders/emails/templates/subscriptionFirstInvoice/en.ftl' ,
111+ 'lib/senders/emails/templates/subscriptionPaymentExpired/en.ftl' ,
112+ 'lib/senders/emails/templates/subscriptionPaymentFailed/en.ftl' ,
113+ 'lib/senders/emails/templates/subscriptionPaymentProviderCancelled/en.ftl' ,
114+ 'lib/senders/emails/templates/subscriptionReactivation/en.ftl' ,
115+ 'lib/senders/emails/templates/subscriptionRenewalReminder/en.ftl' ,
116+ 'lib/senders/emails/templates/subscriptionReplaced/en.ftl' ,
117+ 'lib/senders/emails/templates/subscriptionSubsequentInvoice/en.ftl' ,
118+ 'lib/senders/emails/templates/subscriptionUpgrade/en.ftl' ,
119+ 'lib/senders/emails/templates/subscriptionsPaymentExpired/en.ftl' ,
120+ 'lib/senders/emails/templates/subscriptionsPaymentProviderCancelled/en.ftl' ,
121+ // 'lib/senders/emails/templates/unblockCode/en.ftl',
122+ // 'lib/senders/emails/templates/verificationReminderFinal/en.ftl',
123+ // 'lib/senders/emails/templates/verificationReminderFirst/en.ftl',
124+ // 'lib/senders/emails/templates/verificationReminderSecond/en.ftl',
125+ // 'lib/senders/emails/templates/verify/en.ftl',
126+ // 'lib/senders/emails/templates/verifyAccountChange/en.ftl',
127+ // 'lib/senders/emails/templates/verifyLogin/en.ftl',
128+ // 'lib/senders/emails/templates/verifyLoginCode/en.ftl',
129+ // 'lib/senders/emails/templates/verifyPrimary/en.ftl',
130+ // 'lib/senders/emails/templates/verifySecondaryCode/en.ftl',
131+ // 'lib/senders/emails/templates/verifyShortCode/en.ftl',
132+ ] ,
22133 dest : 'public/locales/en/auth.ftl' ,
23134 } ,
24135 'ftl-test' : {
0 commit comments