<?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' => 'Modules',

    'action.create' => null,
    'action.edit'   => 'Save',
    'action.delete' => null,

    'confirm.delete' => null,

    'error.create-error' => null,
    'error.delete-error' => null,
    'error.save-error'   => 'An error occurred while saving.',
    'error.update-error' => 'An error occurred while updating.',

    'grid-locales' => [
        'actions'  => [
            'edit-module' => 'Edit',
        ],
        'captions' => [
            'active'       => 'Active',
            'identifier'   => 'Identifier',
            'label'        => 'Label',
            'package_name' => 'Package Name',
            'vendor_name'  => 'Vendor',
        ],
        'create-button'      => null,
        'description'        => 'Here you can see all registered modules.',
        'heading'            => 'Modules',
        'no-data'            => 'No modules available.',
        'no-data-info'       => 'No modules have been registered yet.',
        'search-label'       => 'Search modules',
        'search-placeholder' => 'Search by label or vendor',
        'search-result-info' => 'No modules match the current filter criteria.',
        'sort-fields' => [
            'active'     => 'Active',
            'identifier' => 'Identifier',
            'internal'   => null,
        ],
    ],

    'info.created'               => null,
    'info.created-no-subject'    => null,
    'info.deleted'               => null,
    'info.updated'               => 'Module saved successfully.',

    'label.active'         => 'Active',
    'label.base_namespace' => 'Base Namespace',
    'label.identifier'     => 'Identifier',
    'label.label'          => 'Label',
    'label.package_name'   => 'Package Name',
    'label.route_prefix'   => 'Route Prefix',
    'label.vendor_name'    => 'Vendor Name',
    'label.vendor_package' => 'Vendor Package',

    'modal.create.heading' => null,
    'modal.edit.heading'   => 'Edit Module',

];
