misc: change default instance URL to lemdro.id
This commit is contained in:
119 files changed
+173
-188
No files matched your search
@@ -4,7 +4,7 @@
|
||||
import { profile } from '$lib/auth.svelte.js'
|
||||
import MultiSelect from '$lib/components/input/Switch.svelte'
|
||||
import Markdown from '$lib/components/markdown/Markdown.svelte'
|
||||
import { t } from '$lib/translations'
|
||||
import { t } from '$lib/i18n/translations'
|
||||
import { uploadImage } from '$lib/util.svelte.js'
|
||||
import { ImageInput, toast } from 'mono-svelte'
|
||||
import { Button, Label, Modal, TextArea } from 'mono-svelte'
|
||||
@@ -32,7 +32,7 @@
|
||||
str: string,
|
||||
startIndex: number,
|
||||
endIndex: number,
|
||||
replacement: string
|
||||
replacement: string,
|
||||
) {
|
||||
return str.substring(0, startIndex) + replacement + str.substring(endIndex)
|
||||
}
|
||||
@@ -49,7 +49,7 @@
|
||||
textArea.value,
|
||||
startPos,
|
||||
endPos,
|
||||
newText
|
||||
newText,
|
||||
)
|
||||
|
||||
textArea.focus()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { t } from '$lib/translations'
|
||||
import { t } from '$lib/i18n/translations'
|
||||
import { Button, Material, toast } from 'mono-svelte'
|
||||
import { Icon, ClipboardDocument } from 'svelte-hero-icons'
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
import PostIframe from '$lib/components/lemmy/post/media/PostIframe.svelte'
|
||||
import { getContext } from 'svelte'
|
||||
import { ArrowDown, ArrowDownTray, Icon } from 'svelte-hero-icons'
|
||||
import { t } from '$lib/translations'
|
||||
import { t } from '$lib/i18n/translations'
|
||||
|
||||
let loaded: boolean = $state(
|
||||
(getContext('options') as { autoloadImages: boolean })?.autoloadImages ??
|
||||
|
||||
Reference in new issue
Block a user