diff --git a/src/lib/components/lemmy/comment/CommentActions.svelte b/src/lib/components/lemmy/comment/CommentActions.svelte index ac7c9d69..1b53dbdd 100644 --- a/src/lib/components/lemmy/comment/CommentActions.svelte +++ b/src/lib/components/lemmy/comment/CommentActions.svelte @@ -26,8 +26,6 @@ import { deleteItem, save } from '$lib/lemmy/contentview.js' import { Button, Menu, MenuButton, MenuDivider } from 'mono-svelte' import { t } from '$lib/translations' - import Translation from '$lib/components/translate/Translation.svelte' - import { text } from '$lib/components/translate/translation' import { settings } from '$lib/settings.svelte' interface Props { @@ -101,20 +99,6 @@
{$t('comment.actions.link')}
- {#if settings.translator} - { - // @ts-ignore - text.set(comment.comment.content) - translating = !translating - }} - > - {#snippet prefix()} - - {/snippet} - {$t('post.actions.more.translate')} - - {/if} {#if $profile?.jwt} {#if comment.creator.id == $profile.user?.local_user_view.person.id} dispatcher('edit', comment)}> diff --git a/src/lib/components/lemmy/post/PostActions.svelte b/src/lib/components/lemmy/post/PostActions.svelte index 5e2bccb6..8dd74f24 100644 --- a/src/lib/components/lemmy/post/PostActions.svelte +++ b/src/lib/components/lemmy/post/PostActions.svelte @@ -55,7 +55,6 @@ } from 'mono-svelte' import { fediseer, type Data } from '$lib/fediseer/fediseer' import { t } from '$lib/translations' - import { text } from '$lib/components/translate/translation' import { hidePost, postLink } from './helpers' import { feature } from '$lib/version' import Switch from '$lib/components/input/Switch.svelte' @@ -121,12 +120,6 @@ {/if} -{#if translating} - {#await import('$lib/components/translate/Translation.svelte') then { default: Translation }} - - {/await} -{/if} -