mirror of
https://github.com/cupcakearmy/svelte-i18n.git
synced 2024-06-30 18:54:49 +02:00
fix: client locale parameters typo (#11)
This commit is contained in:
parent
0a13aae11a
commit
d1adf4c00a
|
@ -28,10 +28,10 @@ locale.set(
|
||||||
getClientLocale({
|
getClientLocale({
|
||||||
navigator: true,
|
navigator: true,
|
||||||
hash: 'lang',
|
hash: 'lang',
|
||||||
default: 'pt',
|
fallback: 'pt',
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
|
|
||||||
locale.subscribe(l => {
|
locale.subscribe(l => {
|
||||||
console.log('locale change', l)
|
console.log('locale change', l)
|
||||||
})
|
})
|
Loading…
Reference in New Issue
Block a user