Skip to content

Commit 24003e5

Browse files
committed
I18N: Update list of continents and cities for the timezone selection.
Based on a two-way comparison between the available timezone city names in PHP 5.6.20 and PHP 8.2.0. Lists of available timezone names retrieved using the PHP `timezone_identifiers_list()` function. See: https://3v4l.org/ro1vY/rfc#vgit.master Note: both spellings of `Kiev`/`Kyiv` need to be in the list to allow it to work PHP cross-version. The "old" version - `Kiev` - will be used as the basis to find the localized name for the timezone drop down lists on PHP 5.6 - 8.1, while the corrected spelling - `Kyiv` - will be used when to find the localized name for the timezone drop down lists on PHP 8.2 and up. Previous: Trac#52861 / [50555].
1 parent 7398995 commit 24003e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/wp-admin/includes/continents-cities.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,7 @@
448448
__( 'Jersey', 'continents-cities' );
449449
__( 'Kaliningrad', 'continents-cities' );
450450
__( 'Kiev', 'continents-cities' );
451+
__( 'Kyiv', 'continents-cities' );
451452
__( 'Kirov', 'continents-cities' );
452453
__( 'Lisbon', 'continents-cities' );
453454
__( 'Ljubljana', 'continents-cities' );
@@ -519,6 +520,7 @@
519520
__( 'Guam', 'continents-cities' );
520521
__( 'Honolulu', 'continents-cities' );
521522
__( 'Johnston', 'continents-cities' );
523+
__( 'Kanton', 'continents-cities' );
522524
__( 'Kiritimati', 'continents-cities' );
523525
__( 'Kosrae', 'continents-cities' );
524526
__( 'Kwajalein', 'continents-cities' );

0 commit comments

Comments
 (0)