<?php
/**
 *
 * @version     1.0.$Revision:$
 * @version     SVN: $Id:$
 * @package     bplan-base/globals
 * @subpackage  Locales
 * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
 * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
 * @copyright   Copyright (C) 2025, 2026 bplan-solutions GmbH & Co. KG <https://www.bplan-solutions.de/>
 * /Δ\
 */

return [

    'page.title' => 'Printers',

    'action.create' => 'Add Printer',
    'action.edit'   => 'Edit Printer',
    'action.delete' => 'Delete Printer',

    'confirm.delete' => 'Are you sure you want to delete this printer?',

    'error.create-error' => 'Error creating the printer.',
    'error.delete-error' => 'Error deleting the printer.',
    'error.save-error'   => 'Error saving the printer.',
    'error.update-error' => 'Error updating the printer.',

    'grid-locales' => [
        'actions'  => [
            'edit-printer' => 'Edit',
        ],
        'captions' => [
            'id'              => 'ID',
            'label'           => 'Label',
            'location_id'     => 'Location',
            'name'            => 'Printer Name',
            'printer_type_id' => 'Printer Type',
        ],
        'create-button'      => 'Add Printer',
        'description'        => 'Here you can see all printers that have been created.',
        'heading'            => 'Printers',
        'no-data'            => 'No printers available',
        'no-data-info'       => 'Add your first printer to get started.',
        'search-label'       => 'Search printers',
        'search-placeholder' => 'Search by label, name ...',
        'search-result-info' => 'There are no printers that match the current filter criteria.',
        'sort-fields' => [
            'active' => 'Active',
            'label'  => 'Label',
            'name'   => 'Printer Name',
        ],
    ],

    'info.created'               => 'Printer was successfully created.',
    'info.created-no-subject'    => 'Record was successfully created.',
    'info.deleted'               => 'Printer was successfully deleted.',
    'info.updated'               => 'Printer was successfully updated.',

    'label.id'              => 'ID',
    'label.uuid'            => 'UUID',
    'label.active'          => 'Active',
    'label.created_at'      => 'Created at',
    'label.deleted_at'      => 'Deleted at',
    'label.updated_at'      => 'Updated at',
    'label.config_settings' => 'Configuration',
    'label.host'            => 'Host',
    'label.label'           => 'Label',
    'label.location_id'     => 'Installation Location',
    'label.locations'       => 'Assigned Kiosk Systems',
    'label.name'            => 'Printer Name',
    'label.printer_type_id' => 'Printer Type',
    'label.tenant_id'       => 'Tenant',

    'modal.create.heading' => 'Add Printer',
    'modal.edit.heading'   => 'Edit Printer',

    'placeholder.search' => 'Search printer ...',

    'placeholder.id'              => null,
    'placeholder.uuid'            => null,
    'placeholder.active'          => null,
    'placeholder.created_at'      => null,
    'placeholder.deleted_at'      => null,
    'placeholder.updated_at'      => null,
    'placeholder.config_settings' => null,
    'placeholder.host'            => 'e.g. http://192.168.1.100:8080',
    'placeholder.label'           => 'e.g. Reception Printer 1',
    'placeholder.location_id'     => null,
    'placeholder.name'            => 'e.g. CardPrinter_01',
    'placeholder.printer_type_id' => null,
    'placeholder.tenant_id'       => null,

    'search-label.*' => null,

    // new keys — not in CodeGenerator template
    'hint.no-printer-type-selected' => 'Please select a printer type first.',
    'hint.no-config-template'       => 'No configuration template is defined for the selected printer type.',
    'tab-name.base'                 => 'General',
    'tab-name.config-settings'      => 'Configuration',

];
