summaryrefslogtreecommitdiff
path: root/vendor/fisharebest/localization/src/Locale/LocaleEu.php
blob: 58eb536cc22d2bc61d151e2823806e0af25b8d28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php namespace Fisharebest\Localization\Locale;

use Fisharebest\Localization\Language\LanguageEu;

/**
 * Class LocaleEu - Basque
 *
 * @author        Greg Roach <fisharebest@gmail.com>
 * @copyright (c) 2015 Greg Roach
 * @license       GPLv3+
 */
class LocaleEu extends AbstractLocale implements LocaleInterface {
	/** {@inheritdoc} */
	public function endonym() {
		return 'euskara';
	}

	/** {@inheritdoc} */
	public function endonymSortable() {
		return 'EUSKARA';
	}

	/** {@inheritdoc} */
	public function language() {
		return new LanguageEu;
	}

	/** {@inheritdoc} */
	public function numberSymbols() {
		return array(
			self::GROUP   => self::DOT,
			self::DECIMAL => self::COMMA,
		);
	}

	/** {@inheritdoc} */
	protected function percentFormat() {
		return self::PERCENT . self::NBSP . '%s';
	}
}