- Neues Sparkbooth-Upload-Feature: Endpoint /api/sparkbooth/upload (Token-basiert pro Galerie), Controller Api/SparkboothUploadController, Migration 2026_01_21_000001_add_upload_fields_to_galleries_table.php mit Upload-Flags/Token/Expiry;
Galerie-Modell und Factory/Seeder entsprechend erweitert.
- Filament: Neue Setup-Seite SparkboothSetup (mit View) zur schnellen Galerie- und Token-Erstellung inkl. QR/Endpoint/Snippet;
Galerie-Link-Views nutzen jetzt simple-qrcode (Composer-Dependency hinzugefügt) und bieten PNG-Download.
- Galerie-Tabelle: Slug/Pfad-Spalten entfernt, Action „Link-Details“ mit Modal; Created-at-Spalte hinzugefügt.
- Zugriffshärtung: Galerie-IDs in API (ImageController, Download/Print) geprüft; GalleryAccess/Middleware + Gallery-Modell/Slug-UUID
eingeführt; GalleryAccess-Inertia-Seite.
- UI/UX: LoadingSpinner/StyledImageDisplay verbessert, Delete-Confirm, Übersetzungen ergänzt.
58 lines
2.4 KiB
PHP
58 lines
2.4 KiB
PHP
<?php
|
||
|
||
return [
|
||
'image_uploaded_successfully' => 'Image uploaded successfully.',
|
||
'style_or_provider_not_found' => 'Style or API provider not found or not enabled.',
|
||
'image_not_found' => 'Image not found.',
|
||
'image_kept_successfully' => 'Image kept successfully.',
|
||
'image_deleted_successfully' => 'Image deleted successfully.',
|
||
'image_or_provider_not_found' => 'Image or API provider not found.',
|
||
'no_styles_available' => 'No styles or API providers enabled/available.',
|
||
'dark_mode' => 'Dark Mode',
|
||
'light_mode' => 'Light Mode',
|
||
'gallery_title' => 'Your images from the photobooth',
|
||
'navigation' => [
|
||
'previous' => 'Previous',
|
||
'next' => 'Next',
|
||
'page_of' => 'Page :currentPage of :totalPages',
|
||
],
|
||
'loading_spinner' => [
|
||
'processing_image' => 'Processing image...',
|
||
],
|
||
'styled_image_display' => [
|
||
'title' => 'Newly Styled Image',
|
||
'keep_button' => 'Keep',
|
||
'delete_button' => 'Delete',
|
||
'delete_confirm' => 'Are you sure?',
|
||
'keep_hint' => 'Save it or discard it – you can always restyle the original later.',
|
||
],
|
||
'print_command_sent_successfully' => 'Print command sent successfully.',
|
||
'failed_to_send_print_command' => 'Failed to send print command.',
|
||
'print_dialog' => [
|
||
'title' => 'Print Image',
|
||
'quantity_prompt' => 'How many copies would you like to print?',
|
||
'cancel_button' => 'Cancel',
|
||
'print_button' => 'Print',
|
||
],
|
||
'download_button' => 'Download',
|
||
'download_success' => 'Download started!',
|
||
'download_error' => 'Download failed.',
|
||
'gallery' => [
|
||
'tap_to_open' => 'Tap to open',
|
||
'empty' => 'No images available yet.',
|
||
'new_badge' => 'New',
|
||
'access_title' => 'Access the gallery',
|
||
'password_label' => 'Gallery password',
|
||
'submit_password' => 'Enter gallery',
|
||
'expired' => 'This gallery link has expired.',
|
||
'password_required' => 'This gallery is protected. Please enter the password to continue.',
|
||
'invalid_password' => 'The password was incorrect.',
|
||
'duration_hint' => 'After the first unlock, access stays active for :minutes minutes.',
|
||
'expires_at_hint' => 'Link is valid until :datetime.',
|
||
],
|
||
'loading_spinner' => [
|
||
'processing_image' => 'Your style is being applied',
|
||
'processing_wait' => 'This may take a moment. Thanks for your patience!',
|
||
],
|
||
];
|