i18n: localize comment form
This commit is contained in:
1 parent
a421093a23
commit
2aaacf07a7
3 files changed
+10
-5
No files matched your search
@@ -2,6 +2,7 @@
|
||||
import { profile } from '$lib/auth.js'
|
||||
import MultiSelect from '$lib/components/input/Switch.svelte'
|
||||
import Markdown from '$lib/components/markdown/Markdown.svelte'
|
||||
import { t } from '$lib/translations'
|
||||
import { uploadImage } from '$lib/util.js'
|
||||
import { ImageInput, toast } from 'mono-svelte'
|
||||
import { Button, Label, Modal, TextArea } from 'mono-svelte'
|
||||
@@ -317,7 +318,7 @@ overflow-hidden transition-colors"
|
||||
<MultiSelect
|
||||
bind:selected={previewing}
|
||||
options={[false, true]}
|
||||
optionNames={['Edit', 'Preview']}
|
||||
optionNames={[$t('form.edit'), $t('form.preview')]}
|
||||
/>
|
||||
{/if}
|
||||
<slot />
|
||||
|
||||
Reference in new issue
Block a user