feat: add post and comment translation
This commit is contained in:
1 parent
e7d12916c3
commit
990f073715
9 files changed
+156
-3
No files matched your search
@@ -29,7 +29,7 @@
|
||||
import { Button, Checkbox, Select } from 'mono-svelte'
|
||||
import ViewSelect from '$lib/components/lemmy/dropdowns/ViewSelect.svelte'
|
||||
import { LINKED_INSTANCE_URL } from '$lib/instance.js'
|
||||
import { removeItem } from '$lib/util.js'
|
||||
import { DOMAIN_REGEX_FORMS, removeItem } from '$lib/util.js'
|
||||
import Section from './Section.svelte'
|
||||
import ToggleSetting from './ToggleSetting.svelte'
|
||||
import { locales, t } from '$lib/translations'
|
||||
@@ -224,6 +224,17 @@
|
||||
bind:selected={$userSettings.font}
|
||||
/>
|
||||
</Setting>
|
||||
<Setting>
|
||||
<span slot="title">{$t('settings.app.translation.title')}</span>
|
||||
<span slot="description">
|
||||
{$t('settings.app.translation.description')}
|
||||
</span>
|
||||
<TextInput
|
||||
bind:value={$userSettings.translator}
|
||||
label={$t('settings.app.translation.instance')}
|
||||
pattern={DOMAIN_REGEX_FORMS}
|
||||
/>
|
||||
</Setting>
|
||||
</Section>
|
||||
|
||||
<Section title={$t('settings.embeds.title')}>
|
||||
|
||||
Reference in new issue
Block a user