fix: share text
TS Lint / Oxlint (push) Successful in 2m50s
TS Lint / TypeScript (push) Successful in 2m54s
TS Lint / ESLint (push) Successful in 3m8s

This commit is contained in:
2026-07-14 15:09:31 +02:00
parent 84630f2049
commit 4ab7b06b8f
4 changed files with 11 additions and 6 deletions
+5 -1
View File
@@ -128,7 +128,11 @@ function onChangeSortReverse() {
}
function onShare() {
shareLink(`Tout Doux - ${list.value ?? ''}`, '', `${document.location.href.split('?')[0] ?? ''}?lang=${i18n.locale.value}`)
shareLink(
`Tout Doux - ${list.value ?? ''}`,
i18n.t('share_text'),
`${document.location.href.split('?')[0] ?? ''}?lang=${i18n.locale.value}`
)
.then((viaShare) => {
if (!viaShare) {
alertSuccess(i18n.t("alerts.share_clipboard"));