summaryrefslogtreecommitdiff
path: root/vendor/fisharebest/localization/src/Locale/LocalePtBr.php
blob: d7c934260c10a2209dec8e8d1bc0d117f407206c (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
<?php namespace Fisharebest\Localization\Locale;

use Fisharebest\Localization\PluralRule\PluralRule2;
use Fisharebest\Localization\Territory\TerritoryBr;

/**
 * Class LocalePtBr - Brazilian Portuguese
 *
 * @author        Greg Roach <fisharebest@gmail.com>
 * @copyright (c) 2015 Greg Roach
 * @license       GPLv3+
 */
class LocalePtBr extends LocalePt {
	/** {@inheritdoc} */
	public function endonym() {
		return 'português do Brasil';
	}

	/** {@inheritdoc} */
	public function endonymSortable() {
		return 'PORTUGUES DO BRASIL';
	}

	/** {@inheritdoc} */
	public function pluralRule() {
		return new PluralRule2;
	}

	/** {@inheritdoc} */
	public function territory() {
		return new TerritoryBr;
	}
}