Changeset 12637
- Timestamp:
- 06/08/2023 08:43:12 AM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/mu-plugins/pub/locales/locales.php
r12080 r12637 3 3 * Locales used on WordPress.org. 4 4 * 5 * - Copy of https://github.com/GlotPress/GlotPress/blob/ bf614ee290531da6ced571a79d5701dcf68d2212/locales/locales.php5 * - Copy of https://github.com/GlotPress/GlotPress/blob/e6b0c7d6d82ee55c4246311f37b6eac39502e9fa/locales/locales.php 6 6 * - With support for custom locale variants. 7 7 * - Without https://github.com/GlotPress/GlotPress-WP/pull/1012 and https://github.com/GlotPress/GlotPress-WP/pull/1017. … … 17 17 public $lang_code_iso_639_3 = null; 18 18 public $country_code; 19 public $wp_locale; 19 public $wp_locale; // This should only be set for locales that are officially supported on translate.wordpress.org. 20 20 public $slug; 21 21 public $nplurals = 2; … … 28 28 29 29 /** 30 * The variant root for this locale.31 *32 * @since 3.0.033 *34 * @var string35 */36 public $variant_root = null;37 38 /**39 * The variants of this locale.40 30 * 41 31 * @since 3.0.0 … … 43 33 * @var array 44 34 */ 45 public $variants = null;46 35 47 36 // TODO: days, months, decimals, quotes … … 783 772 $en_gb->facebook_locale = 'en_GB'; 784 773 774 $en_ie = new GP_Locale(); 775 $en_ie->english_name = 'English (Ireland)'; 776 $en_ie->native_name = 'English (Ireland)'; 777 $en_ie->lang_code_iso_639_1 = 'en'; 778 $en_ie->lang_code_iso_639_2 = 'eng'; 779 $en_ie->lang_code_iso_639_3 = 'eng'; 780 $en_ie->country_code = 'ie'; 781 $en_ie->slug = 'en-ie'; 782 $en_ie->google_code = 'en'; 783 785 784 $en_nz = new GP_Locale(); 786 785 $en_nz->english_name = 'English (New Zealand)'; … … 933 932 $es_mx->slug = 'es-mx'; 934 933 $es_mx->google_code = 'es'; 935 $es_mx->facebook_locale = 'es_MX'; 934 $es_mx->facebook_locale = 'es_LA'; 935 936 $es_pa = new GP_Locale(); 937 $es_pa->english_name = 'Spanish (Panama)'; 938 $es_pa->native_name = 'Español de Panamá'; 939 $es_pa->lang_code_iso_639_1 = 'es'; 940 $es_pa->lang_code_iso_639_2 = 'spa'; 941 $es_pa->lang_code_iso_639_3 = 'spa'; 942 $es_pa->country_code = 'pa'; 943 $es_pa->slug = 'es-pa'; 944 $es_pa->google_code = 'es'; 945 $es_pa->facebook_locale = 'es_LA'; 936 946 937 947 $es_pe = new GP_Locale(); … … 2158 2168 $rhg->plural_expression = '0'; 2159 2169 2170 $rif = new GP_Locale(); 2171 $rif->english_name = 'Tarifit'; 2172 $rif->native_name = 'Tarifiyt'; 2173 $rif->lang_code_iso_639_3 = 'rif'; 2174 $rif->country_code = 'ma'; 2175 $rif->slug = 'rif'; 2176 2160 2177 $ro = new GP_Locale(); 2161 2178 $ro->english_name = 'Romanian';
Note: See TracChangeset
for help on using the changeset viewer.