Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Greg Roach
committed
Sep 5, 2018
1 parent
64bb6ed
commit 5db1cd8
Showing
1,381 changed files
with
544,877 additions
and
333,709 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php namespace Fisharebest\Localization\Language; | ||
|
||
use Fisharebest\Localization\PluralRule\PluralRule12; | ||
use Fisharebest\Localization\Script\ScriptArab; | ||
use Fisharebest\Localization\Territory\TerritorySa; | ||
|
||
/** | ||
* Class LanguageAr - Representation of the Najdi Arabic language. | ||
* | ||
* @author Greg Roach <fisharebest@gmail.com> | ||
* @copyright (c) 2015 Greg Roach | ||
* @license GPLv3+ | ||
*/ | ||
class LanguageArs extends LanguageAr { | ||
public function code() { | ||
return 'ars'; | ||
} | ||
|
||
public function defaultTerritory() | ||
{ | ||
return new TerritorySa(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?php namespace Fisharebest\Localization\Language; | ||
|
||
use Fisharebest\Localization\PluralRule\PluralRule0; | ||
use Fisharebest\Localization\Script\ScriptCakm; | ||
use Fisharebest\Localization\Territory\TerritoryBd; | ||
|
||
/** | ||
* Class LanguageCgg - Representation of the Chakma language. | ||
* | ||
* @TODO Plural rules | ||
* | ||
* @author Greg Roach <fisharebest@gmail.com> | ||
* @copyright (c) 2018 Greg Roach | ||
* @license GPLv3+ | ||
*/ | ||
class LanguageCcp extends AbstractLanguage implements LanguageInterface { | ||
public function code() { | ||
return 'ccp'; | ||
} | ||
|
||
public function defaultTerritory() { | ||
return new TerritoryBd; | ||
} | ||
|
||
public function defaultScript() { | ||
return new ScriptCakm; | ||
} | ||
|
||
public function pluralRule() | ||
{ | ||
return new PluralRule0(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php namespace Fisharebest\Localization\Language; | ||
|
||
use Fisharebest\Localization\PluralRule\PluralRule1; | ||
use Fisharebest\Localization\Territory\Territory001; | ||
|
||
/** | ||
* Class LanguageIo - Representation of the Ido language. | ||
* | ||
* @author Greg Roach <fisharebest@gmail.com> | ||
* @copyright (c) 2018 Greg Roach | ||
* @license GPLv3+ | ||
*/ | ||
class LanguageIo extends AbstractLanguage implements LanguageInterface { | ||
public function code() { | ||
return 'io'; | ||
} | ||
|
||
public function defaultTerritory() { | ||
return new Territory001; | ||
} | ||
|
||
public function pluralRule() { | ||
return new PluralRule1; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php namespace Fisharebest\Localization\Language; | ||
|
||
use Fisharebest\Localization\PluralRule\PluralRule1; | ||
use Fisharebest\Localization\Territory\TerritoryDe; | ||
|
||
/** | ||
* Class LanguageNds - Representation of the Low German language. | ||
* | ||
* @author Greg Roach <fisharebest@gmail.com> | ||
* @copyright (c) 2018 Greg Roach | ||
* @license GPLv3+ | ||
*/ | ||
class LanguageNds extends AbstractLanguage implements LanguageInterface { | ||
public function code() { | ||
return 'nds'; | ||
} | ||
|
||
public function defaultTerritory() { | ||
return new TerritoryDe; | ||
} | ||
|
||
public function pluralRule() { | ||
return new PluralRule1; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php namespace Fisharebest\Localization\Language; | ||
|
||
use Fisharebest\Localization\PluralRule\PluralRule1; | ||
use Fisharebest\Localization\Territory\TerritoryIt; | ||
|
||
/** | ||
* Class LanguageScn - Representation of the Sicilian language. | ||
* | ||
* @author Greg Roach <fisharebest@gmail.com> | ||
* @copyright (c) 2018 Greg Roach | ||
* @license GPLv3+ | ||
*/ | ||
class LanguageScn extends AbstractLanguage implements LanguageInterface { | ||
public function code() { | ||
return 'scn'; | ||
} | ||
|
||
public function defaultTerritory() { | ||
return new TerritoryIt; | ||
} | ||
|
||
public function pluralRule() { | ||
return new PluralRule1; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php namespace Fisharebest\Localization\Language; | ||
|
||
use Fisharebest\Localization\PluralRule\PluralRule1; | ||
use Fisharebest\Localization\Script\ScriptArab; | ||
use Fisharebest\Localization\Territory\TerritoryPk; | ||
|
||
/** | ||
* Class LanguageSd - Representation of the Sindhi language. | ||
* | ||
* @author Greg Roach <fisharebest@gmail.com> | ||
* @copyright (c) 2018 Greg Roach | ||
* @license GPLv3+ | ||
*/ | ||
class LanguageSd extends AbstractLanguage implements LanguageInterface { | ||
public function code() { | ||
return 'sd'; | ||
} | ||
|
||
public function defaultScript() | ||
{ | ||
return new ScriptArab(); | ||
} | ||
|
||
public function defaultTerritory() { | ||
return new TerritoryPk; | ||
} | ||
|
||
public function pluralRule() { | ||
return new PluralRule1; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php namespace Fisharebest\Localization\Language; | ||
|
||
use Fisharebest\Localization\PluralRule\PluralRule1; | ||
use Fisharebest\Localization\Script\ScriptCyrl; | ||
use Fisharebest\Localization\Territory\TerritoryTj; | ||
|
||
/** | ||
* Class LanguageTg - Representation of the Tajik language. | ||
* | ||
* @author Greg Roach <fisharebest@gmail.com> | ||
* @copyright (c) 2018 Greg Roach | ||
* @license GPLv3+ | ||
*/ | ||
class LanguageTg extends AbstractLanguage implements LanguageInterface { | ||
public function code() { | ||
return 'tg'; | ||
} | ||
|
||
public function defaultScript() { | ||
return new ScriptCyrl; | ||
} | ||
|
||
public function defaultTerritory() | ||
{ | ||
return new TerritoryTj(); | ||
} | ||
|
||
public function pluralRule() { | ||
return new PluralRule1; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,35 @@ | ||
<?php namespace Fisharebest\Localization\Locale; | ||
|
||
use Fisharebest\Localization\Script\ScriptLatn; | ||
use Fisharebest\Localization\Territory\TerritoryDz; | ||
|
||
/** | ||
* Class LocaleArDz | ||
* | ||
* @author Greg Roach <fisharebest@gmail.com> | ||
* @copyright (c) 2015 Greg Roach | ||
* @copyright (c) 2018 Greg Roach | ||
* @license GPLv3+ | ||
*/ | ||
class LocaleArDz extends LocaleAr { | ||
public function numberSymbols() { | ||
return array( | ||
self::GROUP => self::DOT, | ||
self::DECIMAL => self::COMMA, | ||
self::NEGATIVE => self::LTR_MARK . self::HYPHEN, | ||
self::NEGATIVE => self::LTR_MARK . '-', | ||
); | ||
} | ||
|
||
public function territory() { | ||
protected function numerals() { | ||
$latin = new ScriptLatn(); | ||
|
||
return $latin->numerals(); | ||
} | ||
|
||
protected function percentFormat() { | ||
return '%s' . self::LTR_MARK . self::PERCENT . self::LTR_MARK; | ||
} | ||
|
||
public function territory() { | ||
return new TerritoryDz; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.