Loading core/scripts/update-countries.sh +5 −4 Changes for core/scripts/update-countries.sh: 5 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -11,6 +11,8 @@ use Drupal\Core\Locale\CountryManager; // cspell:ignore localenames // Determine DRUPAL_ROOT. $dir = dirname(__FILE__); while (!defined('DRUPAL_ROOT')) { Loading @@ -25,10 +27,9 @@ if (!file_exists($uri)) { $usage = <<< USAGE - Choose the latest release data from http://cldr.unicode.org/index/downloads and download the json.zip file. - Unzip the json.zip file and place the main/en/territories.json in the Drupal root directory. - Download territories.json from https://github.com/unicode-org/cldr-json/blob/main/cldr-json/cldr-localenames-full/main/en/territories.json and place it in the Drupal root directory. - Run this script. USAGE; exit('CLDR data file not found. (' . $uri . ")\n\n" . $usage . "\n"); Loading Loading
core/scripts/update-countries.sh +5 −4 Changes for core/scripts/update-countries.sh: 5 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -11,6 +11,8 @@ use Drupal\Core\Locale\CountryManager; // cspell:ignore localenames // Determine DRUPAL_ROOT. $dir = dirname(__FILE__); while (!defined('DRUPAL_ROOT')) { Loading @@ -25,10 +27,9 @@ if (!file_exists($uri)) { $usage = <<< USAGE - Choose the latest release data from http://cldr.unicode.org/index/downloads and download the json.zip file. - Unzip the json.zip file and place the main/en/territories.json in the Drupal root directory. - Download territories.json from https://github.com/unicode-org/cldr-json/blob/main/cldr-json/cldr-localenames-full/main/en/territories.json and place it in the Drupal root directory. - Run this script. USAGE; exit('CLDR data file not found. (' . $uri . ")\n\n" . $usage . "\n"); Loading