Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2022-10-31 21:58:10 +01:00
commit 2b739faa7e
10 changed files with 34 additions and 31 deletions

View file

@ -3,14 +3,14 @@
# SPDX-License-Identifier: AGPL-3.0-only
defmodule TranslationMock do
alias Pleroma.Translation.Service
alias Pleroma.Language.Translation.Provider
@behaviour Service
@behaviour Provider
@impl Service
@impl Provider
def configured?, do: true
@impl Service
@impl Provider
def translate(content, source_language, _target_language) do
{:ok,
%{