Skip to content

Commit

Permalink
Merge pull request #23 from giggsey/cldr-43
Browse files Browse the repository at this point in the history
Update to CLDR v43
  • Loading branch information
giggsey authored Apr 13, 2023
2 parents 5f03552 + a7d2716 commit a6b33df
Show file tree
Hide file tree
Showing 413 changed files with 1,661 additions and 409 deletions.
2 changes: 1 addition & 1 deletion CLDR-VERSION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# It can be a commit, branch or tag of https://github.com/unicode-cldr/cldr-localenames-full
#
# For more information, look at build.xml
42.0.0
43.0.0
9 changes: 8 additions & 1 deletion build/Build/DataBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,14 @@ protected function loadTerritories(string $inputDir, array $localeList): array
$countries = [];

foreach ($localeList as $locale) {
$data = json_decode(file_get_contents($inputDir . $locale . '/territories.json'), true);
$path = $inputDir . $locale . '/territories.json';

if (!file_exists($path)) {
// Skip this locale
continue;
}

$data = json_decode(file_get_contents($path), true);
$territoryList = $data['main'][$locale]['localeDisplayNames']['territories'];

$countries[$locale] = [];
Expand Down
22 changes: 21 additions & 1 deletion data/_list.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* This file has been @generated by a phing task from CLDR version 42.0.0.
* This file has been @generated by a phing task from CLDR version 43.0.0.
* See [README.md](README.md#generating-data) for more information.
*
* @internal Please do not require this file directly.
Expand Down Expand Up @@ -28,6 +28,7 @@
'bez' => '',
'bg' => '',
'bgc' => '',
'bgn' => '',
'bho' => '',
'bm' => '',
'bn' => '',
Expand All @@ -37,13 +38,16 @@
'brx' => '',
'bs' => '',
'bs-cyrl' => '',
'bss' => '',
'ca' => '',
'ca-es-valencia' => '',
'ccp' => '',
'ce' => '',
'ceb' => '',
'cgg' => '',
'cho' => '',
'chr' => '',
'cic' => '',
'ckb' => '',
'cs' => '',
'cv' => '',
Expand All @@ -62,6 +66,7 @@
'ebu' => '',
'ee' => '',
'el' => '',
'el-polyton' => '',
'en' => '',
'en-ag' => '',
'en-ai' => '',
Expand All @@ -84,6 +89,7 @@
'en-dg' => '',
'en-dk' => '',
'en-dm' => '',
'en-dsrt' => '',
'en-er' => '',
'en-fi' => '',
'en-fj' => '',
Expand Down Expand Up @@ -207,6 +213,7 @@
'he' => '',
'hi' => '',
'hi-latn' => '',
'hnj' => '',
'hr' => '',
'hsb' => '',
'hu' => '',
Expand Down Expand Up @@ -249,6 +256,7 @@
'lag' => '',
'lb' => '',
'lg' => '',
'lij' => '',
'lkt' => '',
'ln' => '',
'lo' => '',
Expand All @@ -269,11 +277,13 @@
'mk' => '',
'ml' => '',
'mn' => '',
'mn-mong-mn' => '',
'mni' => '',
'mr' => '',
'ms' => '',
'mt' => '',
'mua' => '',
'mus' => '',
'my' => '',
'mzn' => '',
'naq' => '',
Expand All @@ -285,14 +295,18 @@
'nn' => '',
'nnh' => '',
'no' => '',
'nqo' => '',
'nso' => '',
'nus' => '',
'nyn' => '',
'oc' => '',
'om' => '',
'or' => '',
'os' => '',
'osa' => '',
'pa' => '',
'pa-arab' => '',
'pap' => '',
'pcm' => '',
'pis' => '',
'pl' => '',
Expand All @@ -311,6 +325,7 @@
'pt-st' => '',
'pt-tl' => '',
'qu' => '',
'quc' => '',
'raj' => '',
'rm' => '',
'rn' => '',
Expand All @@ -336,6 +351,7 @@
'sg' => '',
'shi' => '',
'shi-latn' => '',
'shn' => '',
'si' => '',
'sk' => '',
'sl' => '',
Expand All @@ -351,20 +367,24 @@
'sr-latn-ba' => '',
'sr-latn-me' => '',
'sr-latn-xk' => '',
'ss' => '',
'su' => '',
'sv' => '',
'sw' => '',
'sw-cd' => '',
'sw-ke' => '',
'syr' => '',
'ta' => '',
'te' => '',
'teo' => '',
'tg' => '',
'th' => '',
'ti' => '',
'tk' => '',
'tn' => '',
'to' => '',
'tok' => '',
'tpi' => '',
'tr' => '',
'tt' => '',
'twq' => '',
Expand Down
4 changes: 2 additions & 2 deletions data/_version.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* This file has been @generated by a phing task from CLDR version 42.0.0.
* This file has been @generated by a phing task from CLDR version 43.0.0.
* See [README.md](README.md#generating-data) for more information.
*
* @internal Please do not require this file directly.
Expand All @@ -9,4 +9,4 @@
* Do not modify this file directly!
*/

return '42.0.0';
return '43.0.0';
2 changes: 1 addition & 1 deletion data/af.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* This file has been @generated by a phing task from CLDR version 42.0.0.
* This file has been @generated by a phing task from CLDR version 43.0.0.
* See [README.md](README.md#generating-data) for more information.
*
* @internal Please do not require this file directly.
Expand Down
2 changes: 1 addition & 1 deletion data/agq.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* This file has been @generated by a phing task from CLDR version 42.0.0.
* This file has been @generated by a phing task from CLDR version 43.0.0.
* See [README.md](README.md#generating-data) for more information.
*
* @internal Please do not require this file directly.
Expand Down
2 changes: 1 addition & 1 deletion data/ak.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* This file has been @generated by a phing task from CLDR version 42.0.0.
* This file has been @generated by a phing task from CLDR version 43.0.0.
* See [README.md](README.md#generating-data) for more information.
*
* @internal Please do not require this file directly.
Expand Down
2 changes: 1 addition & 1 deletion data/am.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* This file has been @generated by a phing task from CLDR version 42.0.0.
* This file has been @generated by a phing task from CLDR version 43.0.0.
* See [README.md](README.md#generating-data) for more information.
*
* @internal Please do not require this file directly.
Expand Down
2 changes: 1 addition & 1 deletion data/ar-ly.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* This file has been @generated by a phing task from CLDR version 42.0.0.
* This file has been @generated by a phing task from CLDR version 43.0.0.
* See [README.md](README.md#generating-data) for more information.
*
* @internal Please do not require this file directly.
Expand Down
2 changes: 1 addition & 1 deletion data/ar-sa.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* This file has been @generated by a phing task from CLDR version 42.0.0.
* This file has been @generated by a phing task from CLDR version 43.0.0.
* See [README.md](README.md#generating-data) for more information.
*
* @internal Please do not require this file directly.
Expand Down
2 changes: 1 addition & 1 deletion data/ar.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* This file has been @generated by a phing task from CLDR version 42.0.0.
* This file has been @generated by a phing task from CLDR version 43.0.0.
* See [README.md](README.md#generating-data) for more information.
*
* @internal Please do not require this file directly.
Expand Down
4 changes: 2 additions & 2 deletions data/as.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* This file has been @generated by a phing task from CLDR version 42.0.0.
* This file has been @generated by a phing task from CLDR version 43.0.0.
* See [README.md](README.md#generating-data) for more information.
*
* @internal Please do not require this file directly.
Expand Down Expand Up @@ -237,7 +237,7 @@
'TM' => 'তুৰ্কমেনিস্তান',
'TN' => 'টুনিচিয়া',
'TO' => 'টংগা',
'TR' => 'তুৰ্কি',
'TR' => 'তুৰ্কিয়ে',
'TT' => 'ট্ৰিনিডাড আৰু টোবাগো',
'TV' => 'টুভালু',
'TW' => 'টাইৱান',
Expand Down
2 changes: 1 addition & 1 deletion data/asa.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* This file has been @generated by a phing task from CLDR version 42.0.0.
* This file has been @generated by a phing task from CLDR version 43.0.0.
* See [README.md](README.md#generating-data) for more information.
*
* @internal Please do not require this file directly.
Expand Down
2 changes: 1 addition & 1 deletion data/ast.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* This file has been @generated by a phing task from CLDR version 42.0.0.
* This file has been @generated by a phing task from CLDR version 43.0.0.
* See [README.md](README.md#generating-data) for more information.
*
* @internal Please do not require this file directly.
Expand Down
2 changes: 1 addition & 1 deletion data/az-cyrl.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* This file has been @generated by a phing task from CLDR version 42.0.0.
* This file has been @generated by a phing task from CLDR version 43.0.0.
* See [README.md](README.md#generating-data) for more information.
*
* @internal Please do not require this file directly.
Expand Down
2 changes: 1 addition & 1 deletion data/az.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* This file has been @generated by a phing task from CLDR version 42.0.0.
* This file has been @generated by a phing task from CLDR version 43.0.0.
* See [README.md](README.md#generating-data) for more information.
*
* @internal Please do not require this file directly.
Expand Down
2 changes: 1 addition & 1 deletion data/bas.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* This file has been @generated by a phing task from CLDR version 42.0.0.
* This file has been @generated by a phing task from CLDR version 43.0.0.
* See [README.md](README.md#generating-data) for more information.
*
* @internal Please do not require this file directly.
Expand Down
2 changes: 1 addition & 1 deletion data/be.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* This file has been @generated by a phing task from CLDR version 42.0.0.
* This file has been @generated by a phing task from CLDR version 43.0.0.
* See [README.md](README.md#generating-data) for more information.
*
* @internal Please do not require this file directly.
Expand Down
2 changes: 1 addition & 1 deletion data/bem.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* This file has been @generated by a phing task from CLDR version 42.0.0.
* This file has been @generated by a phing task from CLDR version 43.0.0.
* See [README.md](README.md#generating-data) for more information.
*
* @internal Please do not require this file directly.
Expand Down
2 changes: 1 addition & 1 deletion data/bez.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* This file has been @generated by a phing task from CLDR version 42.0.0.
* This file has been @generated by a phing task from CLDR version 43.0.0.
* See [README.md](README.md#generating-data) for more information.
*
* @internal Please do not require this file directly.
Expand Down
2 changes: 1 addition & 1 deletion data/bg.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* This file has been @generated by a phing task from CLDR version 42.0.0.
* This file has been @generated by a phing task from CLDR version 43.0.0.
* See [README.md](README.md#generating-data) for more information.
*
* @internal Please do not require this file directly.
Expand Down
2 changes: 1 addition & 1 deletion data/bgc.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* This file has been @generated by a phing task from CLDR version 42.0.0.
* This file has been @generated by a phing task from CLDR version 43.0.0.
* See [README.md](README.md#generating-data) for more information.
*
* @internal Please do not require this file directly.
Expand Down
Loading

0 comments on commit a6b33df

Please sign in to comment.