Make WordPress Core

Changeset 54227

Timestamp:
09/19/2022 11:22:40 PM (23 months ago)
Author:
SergeyBiryukov
Message:

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: 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/continents-cities.php

    r50555 r54227  
    449449__( 'Kaliningrad', 'continents-cities' );
    450450__( 'Kiev', 'continents-cities' );
     451
    451452__( 'Kirov', 'continents-cities' );
    452453__( 'Lisbon', 'continents-cities' );
     
    520521__( 'Honolulu', 'continents-cities' );
    521522__( 'Johnston', 'continents-cities' );
     523
    522524__( 'Kiritimati', 'continents-cities' );
    523525__( 'Kosrae', 'continents-cities' );
Note: See TracChangeset for help on using the changeset viewer.