mirror of
https://git.youjo.love/youjo/youjo-be.git
synced 2025-01-19 10:46:05 +01:00
c3fde9577d
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk> Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/192
5 lines
264 B
Elixir
5 lines
264 B
Elixir
defmodule Pleroma.Akkoma.Translator do
|
|
@callback translate(String.t(), String.t() | nil, String.t()) ::
|
|
{:ok, String.t(), String.t()} | {:error, any()}
|
|
@callback languages() :: {:ok, [%{name: String.t(), code: String.t()}]} | {:error, any()}
|
|
end
|