| @@ -1,16 +1,18 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * Returns an array of all countries, with the country code as the key. |
| 4 | 4 | * |
| 5 | + * Country codes and names should follow the Unicode CLDR recommendation (http://cldr.unicode.org/translation/country-names). | |
| 6 | + * | |
| 5 | 7 | * Credit to WooThemes, mikejolly and shivapoudel. This is shamelessly based on their implementation in WooCommerce. |
| 6 | 8 | * |
| 7 | 9 | * @package Charitable/i18n |
| 8 | - * @author Eric Daams | |
| 9 | - * @copyright Copyright (c) 2019, Studio 164a | |
| 10 | + * @author David Bisset | |
| 11 | + * @copyright Copyright (c) 2023, WP Charitable LLC | |
| 10 | 12 | * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
| 11 | 13 | * @since 1.0.0 |
| 12 | - * @version 1.0.0 | |
| 14 | + * @version 1.6.24 | |
| 13 | 15 | */ |
| 14 | 16 | |
| 15 | 17 | if ( ! defined( 'ABSPATH' ) ) { |
| 16 | 18 | exit; |
| @@ -86,8 +88,9 @@ | ||
| 86 | 88 | 'SV' => __( 'El Salvador', 'charitable' ), |
| 87 | 89 | 'GQ' => __( 'Equatorial Guinea', 'charitable' ), |
| 88 | 90 | 'ER' => __( 'Eritrea', 'charitable' ), |
| 89 | 91 | 'EE' => __( 'Estonia', 'charitable' ), |
| 92 | + 'SZ' => __( 'Eswatini', 'charitable' ), | |
| 90 | 93 | 'ET' => __( 'Ethiopia', 'charitable' ), |
| 91 | 94 | 'FK' => __( 'Falkland Islands', 'charitable' ), |
| 92 | 95 | 'FO' => __( 'Faroe Islands', 'charitable' ), |
| 93 | 96 | 'FJ' => __( 'Fiji', 'charitable' ), |
| @@ -143,10 +146,9 @@ | ||
| 143 | 146 | 'LY' => __( 'Libya', 'charitable' ), |
| 144 | 147 | 'LI' => __( 'Liechtenstein', 'charitable' ), |
| 145 | 148 | 'LT' => __( 'Lithuania', 'charitable' ), |
| 146 | 149 | 'LU' => __( 'Luxembourg', 'charitable' ), |
| 147 | - 'MO' => __( 'Macao S.A.R., China', 'charitable' ), | |
| 148 | - 'MK' => __( 'Macedonia', 'charitable' ), | |
| 150 | + 'MO' => __( 'Macau', 'charitable' ), | |
| 149 | 151 | 'MG' => __( 'Madagascar', 'charitable' ), |
| 150 | 152 | 'MW' => __( 'Malawi', 'charitable' ), |
| 151 | 153 | 'MY' => __( 'Malaysia', 'charitable' ), |
| 152 | 154 | 'MV' => __( 'Maldives', 'charitable' ), |
| @@ -179,12 +181,13 @@ | ||
| 179 | 181 | 'NG' => __( 'Nigeria', 'charitable' ), |
| 180 | 182 | 'NU' => __( 'Niue', 'charitable' ), |
| 181 | 183 | 'NF' => __( 'Norfolk Island', 'charitable' ), |
| 182 | 184 | 'KP' => __( 'North Korea', 'charitable' ), |
| 185 | + 'MK' => __( 'North Macedonia', 'charitable' ), | |
| 183 | 186 | 'NO' => __( 'Norway', 'charitable' ), |
| 184 | 187 | 'OM' => __( 'Oman', 'charitable' ), |
| 185 | 188 | 'PK' => __( 'Pakistan', 'charitable' ), |
| 186 | - 'PS' => __( 'Palestinian Territory', 'charitable' ), | |
| 189 | + 'PS' => __( 'Palestinian Territories', 'charitable' ), | |
| 187 | 190 | 'PA' => __( 'Panama', 'charitable' ), |
| 188 | 191 | 'PG' => __( 'Papua New Guinea', 'charitable' ), |
| 189 | 192 | 'PY' => __( 'Paraguay', 'charitable' ), |
| 190 | 193 | 'PE' => __( 'Peru', 'charitable' ), |
| @@ -225,9 +228,8 @@ | ||
| 225 | 228 | 'LK' => __( 'Sri Lanka', 'charitable' ), |
| 226 | 229 | 'SD' => __( 'Sudan', 'charitable' ), |
| 227 | 230 | 'SR' => __( 'Suriname', 'charitable' ), |
| 228 | 231 | 'SJ' => __( 'Svalbard and Jan Mayen', 'charitable' ), |
| 229 | - 'SZ' => __( 'Swaziland', 'charitable' ), | |
| 230 | 232 | 'SE' => __( 'Sweden', 'charitable' ), |
| 231 | 233 | 'CH' => __( 'Switzerland', 'charitable' ), |
| 232 | 234 | 'SY' => __( 'Syria', 'charitable' ), |
| 233 | 235 | 'TW' => __( 'Taiwan', 'charitable' ), |