[glotpress-updates] [GlotPress] #243: Wrong language code assignments in GP_Locales
GlotPress
noreply at wordpress.org
Tue May 28 22:34:59 UTC 2013
#243: Wrong language code assignments in GP_Locales
----------------------------+--------------------------------
Reporter: SergeyBiryukov | Type: defect
Status: new | Priority: normal
Milestone: 1.0 | Component: locale information
Version: 0.1 | Keywords: has-patch
----------------------------+--------------------------------
As reported in the [http://wordpress.org/support/topic/localephp-error
support forums], the following three locales have duplicate
`lang_code_iso_639_1` assignments instead of `lang_code_iso_639_2`:
{{{
$dv = new GP_Locale();
$dv->english_name = 'Divehi';
$dv->native_name = 'ދިވެހި';
$dv->lang_code_iso_639_1 = 'dv';
$dv->lang_code_iso_639_1 = 'div';
$dv->country_code = 'mv';
$dv->wp_locale = 'dv';
$dv->slug = 'dv';
$dv->google_code = 'dv';
$dv->rtl = true;
$dz = new GP_Locale();
$dz->english_name = 'Dzongkha';
$dz->native_name = 'རྫོང་ཁ';
$dz->lang_code_iso_639_1 = 'dz';
$dz->lang_code_iso_639_1 = 'dzo';
$dz->country_code = 'bt';
$dz->slug = 'dz';
$dz->nplurals = 1;
$dz->plural_expression = '0';
$ee = new GP_Locale();
$ee->english_name = 'Ewe';
$ee->native_name = 'Eʋegbe';
$ee->lang_code_iso_639_1 = 'ee';
$ee->lang_code_iso_639_1 = 'ewe';
$ee->country_code = '';
$ee->slug = 'ee';
}}}
Appears to be a copy/paste error in [326].
--
Ticket URL: <http://glotpress.trac.wordpress.org/ticket/243>
GlotPress <http://glotpress.trac.wordpress.org>
Easy comin', easy goin'
More information about the glotpress-updates
mailing list