summaryrefslogtreecommitdiff
path: root/vendor/fisharebest/localization/src/Locale/LocaleEt.php
blob: f6d2694fc32e751abe5afe93bfecd1421000d3f8 (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
41
42
43
44
45
<?php namespace Fisharebest\Localization\Locale;

use Fisharebest\Localization\Language\LanguageEt;

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

	/** {@inheritdoc} */
	public function endonym() {
		return 'eesti';
	}

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

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

	/** {@inheritdoc} */
	protected function minimumGroupingDigits() {
		return 3;
	}

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