summaryrefslogtreecommitdiff
path: root/vendor/fisharebest/localization/src/Locale/LocaleGsw.php
blob: 5a8ff8591544255c99842b930732433112a493a0 (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\LanguageGsw;

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

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

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

	/** {@inheritdoc} */
	public function numberSymbols() {
		return array(
			self::GROUP    => self::APOSTROPHE,
			self::NEGATIVE => self::MINUS_SIGN,
		);
	}

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