<?php namespace Fisharebest\Localization\Locale;

use Fisharebest\Localization\Language\LanguageBr;

/**
 * Class LocaleBr - Breton
 *
 * @author    Greg Roach <fisharebest@gmail.com>
 * @copyright (c) 2018 Greg Roach
 * @license   GPLv3+
 */
class LocaleBr extends AbstractLocale implements LocaleInterface
{
    public function endonym()
    {
        return 'brezhoneg';
    }

    public function endonymSortable()
    {
        return 'BREZHONEG';
    }

    public function language()
    {
        return new LanguageBr();
    }

    public function numberSymbols()
    {
        return array(
            self::GROUP   => self::NBSP,
            self::DECIMAL => self::COMMA,
        );
    }

    protected function percentFormat()
    {
        return self::PLACEHOLDER . self::NBSP . self::PERCENT;
    }
}
