From f33c8c464afe027546f9ef5b3b0c629c342c1be5 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 19 Sep 2022 23:22:40 +0000 Subject: [PATCH] I18N: Update list of continents and cities for the timezone selection. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/wp-admin/includes/continents-cities.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-admin/includes/continents-cities.php b/src/wp-admin/includes/continents-cities.php index 56f3418576..cb8e0335db 100644 --- a/src/wp-admin/includes/continents-cities.php +++ b/src/wp-admin/includes/continents-cities.php @@ -448,6 +448,7 @@ __( 'Istanbul', 'continents-cities' ); __( 'Jersey', 'continents-cities' ); __( 'Kaliningrad', 'continents-cities' ); __( 'Kiev', 'continents-cities' ); +__( 'Kyiv', 'continents-cities' ); __( 'Kirov', 'continents-cities' ); __( 'Lisbon', 'continents-cities' ); __( 'Ljubljana', 'continents-cities' ); @@ -519,6 +520,7 @@ __( 'Guadalcanal', 'continents-cities' ); __( 'Guam', 'continents-cities' ); __( 'Honolulu', 'continents-cities' ); __( 'Johnston', 'continents-cities' ); +__( 'Kanton', 'continents-cities' ); __( 'Kiritimati', 'continents-cities' ); __( 'Kosrae', 'continents-cities' ); __( 'Kwajalein', 'continents-cities' );