Send emails i18n'd using backend-stored user language
authorTusooa Zhu <tusooa@kazv.moe>
Wed, 2 Mar 2022 02:24:17 +0000 (21:24 -0500)
committerFloatingGhost <hannah@coffee-and-dreams.uk>
Wed, 29 Jun 2022 19:45:19 +0000 (20:45 +0100)
commit7726148472cd142b2053172abf61b80c10a98840
treea01566b687f8d3bce0b2ba56f3f6746c4fd1dc35
parentc301a95276fd1e66208a9f6ccdcf5e29f0be51e1
Send emails i18n'd using backend-stored user language
lib/pleroma/emails/user_email.ex
lib/pleroma/user.ex
lib/pleroma/web/gettext.ex
lib/pleroma/web/plugs/set_locale_plug.ex
priv/gettext/en_test/LC_MESSAGES/default.po [new file with mode: 0644]
priv/gettext/en_test/LC_MESSAGES/errors.po [new file with mode: 0644]
priv/gettext/en_test/LC_MESSAGES/posix_errors.po [new file with mode: 0644]
priv/gettext/en_test/LC_MESSAGES/static_pages.po [new file with mode: 0644]
priv/gettext/static_pages.pot
priv/repo/migrations/20220302013920_add_language_to_users.exs [new file with mode: 0644]
test/pleroma/emails/user_email_test.exs