mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
i18n: Rename email subject files so i18n detects them.
Apparently, when we renamed these files to no longer have a .txt extension, we accidentally removed them from the set of strings for translation, because `manage.py makemessages` by default only processes .txt and .html files under the templates/ directory. Fix this by adding a .txt extension.
This commit is contained in:
@@ -83,18 +83,18 @@ class TemplateTestCase(ZulipTestCase):
|
||||
'zerver/delete_message.html',
|
||||
]
|
||||
unusual = [
|
||||
'zerver/emails/confirm_new_email.subject',
|
||||
'zerver/emails/confirm_new_email.subject.txt',
|
||||
'zerver/emails/compiled/confirm_new_email.html',
|
||||
'zerver/emails/confirm_new_email.txt',
|
||||
'zerver/emails/notify_change_in_email.subject',
|
||||
'zerver/emails/notify_change_in_email.subject.txt',
|
||||
'zerver/emails/compiled/notify_change_in_email.html',
|
||||
'zerver/emails/digest.subject',
|
||||
'zerver/emails/digest.subject.txt',
|
||||
'zerver/emails/digest.html',
|
||||
'zerver/emails/digest.txt',
|
||||
'zerver/emails/followup_day1.subject',
|
||||
'zerver/emails/followup_day1.subject.txt',
|
||||
'zerver/emails/compiled/followup_day1.html',
|
||||
'zerver/emails/followup_day1.txt',
|
||||
'zerver/emails/followup_day2.subject',
|
||||
'zerver/emails/followup_day2.subject.txt',
|
||||
'zerver/emails/followup_day2.txt',
|
||||
'zerver/emails/compiled/followup_day2.html',
|
||||
'zerver/emails/compiled/password_reset.html',
|
||||
|
Reference in New Issue
Block a user