Compare commits

..

No commits in common. "42327922488695f55338b6864b0df61a97e369fe" and "e7e6f87682b655f6bbf65fe9cb47a9bf6b46a71b" have entirely different histories.

3 changed files with 7 additions and 8 deletions

View File

@ -482,8 +482,7 @@ services:
- /dev/apex_0:/dev/apex_0 # Passes a PCIe Coral, follow driver instructions here https://github.com/jnicolson/gasket-builder - /dev/apex_0:/dev/apex_0 # Passes a PCIe Coral, follow driver instructions here https://github.com/jnicolson/gasket-builder
- /dev/video11:/dev/video11 # For Raspberry Pi 4B - /dev/video11:/dev/video11 # For Raspberry Pi 4B
- /dev/dri/renderD128:/dev/dri/renderD128 # AMD / Intel GPU, needs to be updated for your hardware - /dev/dri/renderD128:/dev/dri/renderD128 # AMD / Intel GPU, needs to be updated for your hardware
- /dev/kfd:/dev/kfd # AMD Kernel Fusion Driver for ROCm - /dev/accel:/dev/accel # Intel NPU
- /dev/accel:/dev/accel # AMD / Intel NPU
volumes: volumes:
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- /path/to/your/config:/config - /path/to/your/config:/config

View File

@ -81,11 +81,13 @@
"exportButton_other": "Export {{count}} Cameras" "exportButton_other": "Export {{count}} Cameras"
}, },
"multi": { "multi": {
"title": "Export {{count}} reviews",
"title_one": "Export 1 review", "title_one": "Export 1 review",
"title_other": "Export {{count}} reviews", "title_other": "Export {{count}} reviews",
"description": "Export each selected review. All exports will be grouped under a single case.", "description": "Export each selected review. All exports will be grouped under a single case.",
"descriptionNoCase": "Export each selected review.", "descriptionNoCase": "Export each selected review.",
"caseNamePlaceholder": "Review export - {{date}}", "caseNamePlaceholder": "Review export - {{date}}",
"exportButton": "Export {{count}} reviews",
"exportButton_one": "Export 1 review", "exportButton_one": "Export 1 review",
"exportButton_other": "Export {{count}} reviews", "exportButton_other": "Export {{count}} reviews",
"exportingButton": "Exporting...", "exportingButton": "Exporting...",

View File

@ -354,11 +354,11 @@ export default function MultiExportDialog({
variant="select" variant="select"
onClick={handleSubmit} onClick={handleSubmit}
disabled={!canSubmit} disabled={!canSubmit}
aria-label={t("export.multi.exportButton", { count: count })} aria-label={t("export.multi.exportButton", { count })}
> >
{isExporting {isExporting
? t("export.multi.exportingButton") ? t("export.multi.exportingButton")
: t("export.multi.exportButton", { count: count })} : t("export.multi.exportButton", { count })}
</Button> </Button>
</> </>
); );
@ -369,9 +369,7 @@ export default function MultiExportDialog({
<DialogTrigger asChild>{children}</DialogTrigger> <DialogTrigger asChild>{children}</DialogTrigger>
<DialogContent className="sm:max-w-md"> <DialogContent className="sm:max-w-md">
<DialogHeader> <DialogHeader>
<DialogTitle> <DialogTitle>{t("export.multi.title", { count })}</DialogTitle>
{t("export.multi.title", { count: count })}
</DialogTitle>
<DialogDescription> <DialogDescription>
{isAdmin {isAdmin
? t("export.multi.description") ? t("export.multi.description")
@ -390,7 +388,7 @@ export default function MultiExportDialog({
<DrawerTrigger asChild>{children}</DrawerTrigger> <DrawerTrigger asChild>{children}</DrawerTrigger>
<DrawerContent className="px-4 pb-6"> <DrawerContent className="px-4 pb-6">
<DrawerHeader className="px-0"> <DrawerHeader className="px-0">
<DrawerTitle>{t("export.multi.title", { count: count })}</DrawerTitle> <DrawerTitle>{t("export.multi.title", { count })}</DrawerTitle>
<DrawerDescription> <DrawerDescription>
{isAdmin {isAdmin
? t("export.multi.description") ? t("export.multi.description")