<?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 <http://www.bplan-solutions.de/>
 * /Δ\
 */


use Carbon\WeekDay;


return [

    'iso-3166-1-alpha-2' => 'es',
    'language' => 'Español',
    'locale' => 'es_ES',

    'address.format.multi-line'             => ":company\n:street :house_number\n:zip_code :city",
    'address.format.multi-line.no-company'  => ":street :house_number\n:zip_code :city",
    'address.format.single-line'            => ':company, :street :house_number, :zip_code :city',
    'address.format.single-line.no-company' => ':street :house_number, :zip_code :city',

    'currency.decimals'        => "2",
    'currency.format.string'   => ':value €',
    'currency.format.negative' => '-:value €',
    'currency.iso4217.alpha'   => 'EUR',
    'currency.iso4217.numeric' => 978,
    'currency.name'            => 'Euro',
    'currency.subunit.divisor' => 100,
    'currency.subunit.name'    => 'Céntimo',
    'currency.subunit.symbol'  => '¢',
    'currency.symbol'          => '€',

    'date.format'       => 'd/m/Y',
    'datetime.format'   => 'd/m/Y H:i',
    'datetime.format+'  => 'd/m/Y H:i:s',
    'datetime.format-+' => 'd/m/Y H:i',
    'datetime.format++' => 'd/m/Y H:i:s',
    'time.format'       => 'H:i',
    'time.format+'      => 'H:i:s',
    'time.format-+'     => 'H:i',
    'time.format++'     => 'H:i:s',

    'number.decimal-point'       => ',',
    'number.thousands-separator' => '.',

    'text.direction'    => 'ltr',
    'text.orientation'  => 'sideways',
    'text.writing-mode' => 'vertical-rl',

    // -------------------------------------------------------------------

    'action.activate'      => 'Activar',
    'action.add'           => 'Agregar',
    'action.cancel'        => 'Cancelar',
    'action.cancel-upload' => 'Cancelar subida',
    'action.change'        => 'Cambiar',
    'action.close'         => 'Cerrar',
    'action.confirm'       => 'Confirmar',
    'action.create'        => 'Añadir',
    'action.deactivate'    => 'Desactivar',
    'action.delete'        => 'Eliminar',
    'action.edit'          => 'Editar',
    'action.import'        => 'Importar',
    'action.print'         => 'Imprimir',
    'action.save'          => 'Guardar',
    'action.search'        => 'Buscar',
    'action.sync'          => 'Sincronizar',
    'action.upload'        => 'Subir archivo',
    'action.verify'        => 'Verificar',
    'action.view'          => 'Ver',

    'languages' => [
        'bg' => 'Búlgaro',
        'de' => 'Alemán',
        'en' => 'Inglés',
        'es' => 'Español',
        'fr' => 'Francés',
        'hu' => 'Húngaro',
        'it' => 'Italiano',
        'lt' => 'Lituano',
        'pl' => 'Polaco',
        'ro' => 'Rumano',
        'ru' => 'Ruso',
        'tr' => 'Turco',
        'uk' => 'Ucraniano',
    ],

    'option.yes' => 'Sí',
    'option.no'  => 'No',

    'required-hint'   => 'Los campos marcados (<span class="required-marker">:marker</span>) son obligatorios',
    'required-marker' => '*',

    'select-option.no-options-available' => 'No hay opciones',
    'select-option.please-select'        => ' -- Por favor, seleccione -- ',

    'status.active'   => 'Activo',
    'status.expired'  => 'Expirado',
    'status.inactive' => 'Inactivo',
    'status.invalid'  => 'Inválido',
    'status.loading'  => 'Cargando...',
    'status.not-set'  => 'No establecido',
    'status.valid'    => 'Válido',

    'weekdays.'.WeekDay::Sunday->name    => 'domingo',
    'weekdays.'.WeekDay::Monday->name    => 'lunes',
    'weekdays.'.WeekDay::Tuesday->name   => 'martes',
    'weekdays.'.WeekDay::Wednesday->name => 'miércoles',
    'weekdays.'.WeekDay::Thursday->name  => 'jueves',
    'weekdays.'.WeekDay::Friday->name    => 'viernes',
    'weekdays.'.WeekDay::Saturday->name  => 'sábado',

    'weekdays.'.WeekDay::Sunday->value    => 'domingo',
    'weekdays.'.WeekDay::Monday->value    => 'lunes',
    'weekdays.'.WeekDay::Tuesday->value   => 'martes',
    'weekdays.'.WeekDay::Wednesday->value => 'miércoles',
    'weekdays.'.WeekDay::Thursday->value  => 'jueves',
    'weekdays.'.WeekDay::Friday->value    => 'viernes',
    'weekdays.'.WeekDay::Saturday->value  => 'sábado',

];
