Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitebb7519

Browse files
committed
fix(kit): correct i18n key to desc in qr code dialog
1 parent1fc8978 commitebb7519

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

‎packages/kit/src/dialogs/qr-code/DialogQrCode.svelte‎

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,7 @@
1010
1111
importtype {DialogQrCodeProps }from'.';
1212
13-
let {
14-
item,
15-
data,
16-
filename='qr.png',
17-
class: cls,
18-
theme,
19-
...rest
20-
}:DialogQrCodeProps=$props();
13+
let { item, data, filename='qr.png',class: cls, theme,...rest }:DialogQrCodeProps=$props();
2114
2215
let config:SvgQRParameter=$derived({
2316
data,
@@ -43,12 +36,12 @@
4336
{...rest}
4437
>
4538
<formclass="space-y-6"method="dialog">
46-
<buttonclass="c-link-lazy absoluteright-4top-4 p-2"formmethod="dialog">
39+
<buttonclass="c-link-lazy absolutetop-4right-4 p-2"formmethod="dialog">
4740
<spanclass="sr-only"><Tkey="close" /></span>
4841
<iclass="i i-[ph--x] h-6 w-6"></i>
4942
</button>
5043
<pclass="c-text-title border-b"><Tkey="dialogs.qr.title" /></p>
51-
<p><Tkey="dialos.qr.desc" /></p>
44+
<p><Tkey="dialogs.qr.desc" /></p>
5245
<svg
5346
xmlns="http://www.w3.org/2000/svg"
5447
use:qr={config}
@@ -59,11 +52,7 @@
5952
aria-label="QR"
6053
></svg>
6154
{#ifhref}
62-
<a
63-
class="c-btn mx-auto block"
64-
download={filename}
65-
{href}
66-
>
55+
<aclass="c-btn mx-auto block"download={filename} {href}>
6756
<Tkey="download" />
6857
</a>
6958
{/if}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp