mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2026-01-04 20:14:54 +01:00
ProductBarcode: properly use of language system in frontend/Scanner.vue
This commit is contained in:
@@ -21,13 +21,13 @@
|
||||
<div class="flex">
|
||||
<MdiBarcode class="text-default mr-2" />
|
||||
<span class="flex-1 text-center text-sm font-medium">
|
||||
{{ detectedBarcodeType }} product barcode detected: <strong>{{ detectedBarcode }}</strong>
|
||||
{{ detectedBarcodeType }} {{ $t("scanner.barcode_detected_message") }}: <strong>{{ detectedBarcode }}</strong>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<ButtonGroup>
|
||||
<Button :disabled="loading" type="submit" @click="handleButtonClick">
|
||||
Fetchdata and create
|
||||
{{ $t("scanner.barcode_fetch_data") }}
|
||||
</Button>
|
||||
</ButtonGroup>
|
||||
</div>
|
||||
|
||||
@@ -565,7 +565,9 @@
|
||||
"permission_denied": "Camera permission denied, please allow access to the camera in your browser settings",
|
||||
"select_video_source": "Pick a video source",
|
||||
"title": "Scanner",
|
||||
"unsupported": "Media Stream API is not supported without HTTPS"
|
||||
"unsupported": "Media Stream API is not supported without HTTPS",
|
||||
"barcode_detected_message": "product barcode detected",
|
||||
"barcode_fetch_data": "Fetch product data"
|
||||
},
|
||||
"tools": {
|
||||
"actions": "Inventory Actions",
|
||||
|
||||
Reference in New Issue
Block a user