Barcode scanner improvements

- Added a message when no cameras are found.
- Release the camera when the popup is closed.
This commit is contained in:
2026-03-06 15:21:10 +01:00
parent 01afc435b5
commit 28e86e5032
4 changed files with 34 additions and 12 deletions

View File

@@ -14,7 +14,7 @@ import fr from './locales/fr.json'
import en from './locales/en.json'
// configure i18n
const i18n = createI18n({
export const i18n = createI18n({
locale: navigator.language,
fallbackLocale: 'en',
messages: { fr, en },