mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-15 05:50:17 +00:00
feat: add support for translations (#349)
Co-authored-by: Kyle Mendell <kmendell@outlook.com> Co-authored-by: Elias Schneider <login@eliasschneider.com>
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
import { writable } from 'svelte/store';
|
||||
import ConfirmDialog from './confirm-dialog.svelte';
|
||||
import { m } from '$lib/paraglide/messages';
|
||||
|
||||
export const confirmDialogStore = writable({
|
||||
open: false,
|
||||
title: '',
|
||||
message: '',
|
||||
confirm: {
|
||||
label: 'Confirm',
|
||||
label: m.confirm(),
|
||||
destructive: false,
|
||||
action: () => {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user