Skip to content

Commit f33c8c4

Browse files
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 have been retrieved using the PHP `timezone_identifiers_list()` function. See: [https://3v4l.org/ro1vY/rfc#vgit.master timezone_identifiers_list() output and comparison]. 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 dropdown lists on PHP 5.6 to 8.1. * The corrected spelling — `Kyiv` — will be used to find the localized name on PHP 8.2 and up. Follow-up to [50555], [54207], [54217]. Props jrf, costdev. See #56468. git-svn-id: https://develop.svn.wordpress.org/trunk@54227 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 3b3d7eb commit f33c8c4

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)