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

    'action.create' => 'Add tenant',
    'action.edit'   => 'Save',
    'action.delete' => 'Delete tenant',

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

    'error.create-error' => 'Error while creating the tenant. Please check the logs.',
    'error.delete-error' => 'Error while deleting the tenant. Please check the logs.',
    'error.save-error'   => 'Error while saving the tenant. Please check the logs.',
    'error.update-error' => 'Error while updating the tenant. Please check the logs.',

    'grid-locales' => [
        'actions'  => [
            'edit-tenant' => 'Edit',
        ],
        'captions' => [
            'id'         => 'ID',
            'domain'     => 'Domain',
            'identifier' => 'Identifier',
            'internal'   => 'Internal',
            'master_id'  => 'Parent tenant',
            'path'       => 'Path',
        ],
        'create-button'      => 'Add tenant',
        'description'        => 'Here you can see all tenants that have been created.',
        'heading'            => 'Tenants',
        'no-data'            => 'No tenants available',
        'no-data-info'       => 'Add your first tenant to get started.',
        'search-label'       => 'Search tenants',
        'search-placeholder' => 'Search by identifier',
        'search-result-info' => 'There are no tenants that match the current filter criteria.',
        'sort-fields' => [
            'active'     => 'Active',
            'identifier' => 'Identifier',
            'internal'   => 'Internal',
            'master_id'  => 'Parent tenant',
        ],
    ],

    'info.created'               => 'The tenant has been created successfully.',
    'info.created-no-subject'    => 'The tenant has been created successfully.',
    'info.deleted'               => 'The tenant has been deleted successfully.',
    'info.updated'               => 'The changes have been saved.',

    'label.id'         => 'ID',
    'label.uuid'       => 'UUID',
    'label.active'     => 'Active',
    'label.internal'   => 'Internal',
    'label.created_at' => 'Created at',
    'label.deleted_at' => 'Deleted at',
    'label.updated_at' => 'Updated at',
    'label.domain'     => 'Domain',
    'label.identifier' => 'Identifier',
    'label.internal'   => 'Internal',
    'label.master_id'  => 'Parent tenant',
    'label.path'       => 'Path',

    'modal.create.heading' => 'Add tenant',

    'tab.base'          => 'Base data',
    'tab.tenant-record' => 'Tenant record',
    'modal.edit.heading'   => 'Edit tenant',

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

    'placeholder.id'         => '',
    'placeholder.uuid'       => '',
    'placeholder.active'     => '',
    'placeholder.created_at' => '',
    'placeholder.deleted_at' => '',
    'placeholder.updated_at' => '',
    'placeholder.domain'     => 'e.g. tenant.example.com',
    'placeholder.identifier' => 'e.g. tenant-01',
    'placeholder.internal'   => '',
    'placeholder.master_id'  => '',
    'placeholder.path'       => '',

    'search-label.*' => null,

];
