Skip to content

Commit

Permalink
Add Haitian and update Asturian locales.
Browse files Browse the repository at this point in the history
Resolves GlotPress#411.
Resolves GlotPress#412.
  • Loading branch information
toolstack authored and yoavf committed May 17, 2016
1 parent 5347ae2 commit 45b2711
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion locales/locales.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class GP_Locale {
// TODO: days, months, decimals, quotes

private $_index_for_number;

public function __construct( $args = array() ) {
foreach( $args as $key => $value ) {
$this->$key = $value;
Expand Down Expand Up @@ -197,7 +197,9 @@ public function __construct() {
$ast->english_name = 'Asturian';
$ast->native_name = 'Asturianu';
$ast->lang_code_iso_639_2 = 'ast';
$ast->lang_code_iso_639_3 = 'ast';
$ast->country_code = 'es';
$ast->wp_locale = 'ast';
$ast->slug = 'ast';

$av = new GP_Locale();
Expand Down Expand Up @@ -963,6 +965,16 @@ public function __construct() {
$ha->google_code = 'ha';
$ha->facebook_locale = 'ha_NG';

$hat = new GP_Locale();
$hat->english_name = 'Haitian Creole';
$hat->native_name = 'Kreyol ayisyen';
$hat->lang_code_iso_639_1 = 'ht';
$hat->lang_code_iso_639_2 = 'hat';
$hat->lang_code_iso_639_3 = 'hat';
$hat->country_code = 'ht';
$hat->wp_locale = 'hat';
$hat->slug = 'hat';

$haw = new GP_Locale();
$haw->english_name = 'Hawaiian';
$haw->native_name = 'Ōlelo Hawaiʻi';
Expand Down

0 comments on commit 45b2711

Please sign in to comment.