Automatic status translation (#187)
authorfloatingghost <hannah@coffee-and-dreams.uk>
Mon, 29 Aug 2022 19:42:22 +0000 (19:42 +0000)
committerfloatingghost <hannah@coffee-and-dreams.uk>
Mon, 29 Aug 2022 19:42:22 +0000 (19:42 +0000)
commitdf39cab9c13e470e2b2d62550079ae5df0c18fec
tree67880ece39dfed2c12e89a33f0220bf60f3ff69a
parent722e56b3086318d01210884b8aa0ae7945833bc6
Automatic status translation (#187)

Fixes #115

Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/187
15 files changed:
CHANGELOG.md
config/config.exs
config/description.exs
docs/docs/configuration/cheatsheet.md
lib/pleroma/akkoma/translators/deepl.ex [new file with mode: 0644]
lib/pleroma/akkoma/translators/libre_translate.ex [new file with mode: 0644]
lib/pleroma/akkoma/translators/translator.ex [new file with mode: 0644]
lib/pleroma/application.ex
lib/pleroma/web/api_spec/operations/status_operation.ex
lib/pleroma/web/mastodon_api/controllers/status_controller.ex
lib/pleroma/web/mastodon_api/views/instance_view.ex
lib/pleroma/web/router.ex
test/pleroma/translators/deepl_test.exs [new file with mode: 0644]
test/pleroma/translators/libre_translate_test.exs [new file with mode: 0644]
test/pleroma/web/mastodon_api/controllers/status_controller_test.exs