Skip to content

Commit

Permalink
refactor(locale): activate data normalization for airline
Browse files Browse the repository at this point in the history
  • Loading branch information
Leyla Jähnig authored and xDivisionByZerox committed Apr 15, 2024
1 parent e53dd37 commit a2d6130
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 21 deletions.
1 change: 0 additions & 1 deletion scripts/generate-locales.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,6 @@ async function normalizeLocaleFile(filePath: string, definitionKey: string) {

const legacyDefinitions = ['app', 'cell_phone', 'team'];
const definitionsToSkip = [
'airline',
'color',
'commerce',
'company',
Expand Down
25 changes: 5 additions & 20 deletions src/locales/zh_CN/airline/airport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,10 @@ export default [
{ name: '奥克兰国际机场', iataCode: 'AKL' },
{ name: '北京首都国际机场', iataCode: 'PEK' },
{ name: '贝伦瓦德坎斯国际机场', iataCode: 'BEL' },
{
name: '贝洛奥里藏特坦克雷多·内维斯国际机场',
iataCode: 'CNF',
},
{ name: '贝洛奥里藏特坦克雷多·内维斯国际机场', iataCode: 'CNF' },
{ name: '柏林泰格尔机场', iataCode: 'TXL' },
{ name: '博乐国际机场', iataCode: 'ADD' },
{
name: '巴西利亚儒塞利诺·库比契克总统国际机场',
iataCode: 'BSB',
},
{ name: '巴西利亚儒塞利诺·库比契克总统国际机场', iataCode: 'BSB' },
{ name: '布里斯班国际机场', iataCode: 'BNE' },
{ name: '布里斯班机场', iataCode: 'BRU' },
{ name: '凯恩斯机场', iataCode: 'CNS' },
Expand Down Expand Up @@ -48,10 +42,7 @@ export default [
{ name: '美因河畔法兰克福机场', iataCode: 'FRA' },
{ name: '休斯顿机场乔治·布什洲际酒店', iataCode: 'IAH' },
{ name: '黄金海岸机场', iataCode: 'OOL' },
{
name: '瓜鲁柳斯 - 安德烈·佛朗哥·蒙托罗州长国际机场',
iataCode: 'GRU',
},
{ name: '瓜鲁柳斯 - 安德烈·佛朗哥·蒙托罗州长国际机场', iataCode: 'GRU' },
{ name: '哈兹菲尔德-杰克逊亚特兰大国际机场', iataCode: 'ATL' },
{ name: '赫尔辛基万塔机场', iataCode: 'HEL' },
{ name: '霍巴特国际机场', iataCode: 'HBA' },
Expand Down Expand Up @@ -80,10 +71,7 @@ export default [
{ name: '墨西哥城国际机场', iataCode: 'MEX' },
{ name: '迈阿密国际机场', iataCode: 'MIA' },
{ name: '皮斯塔里尼部长国际机场', iataCode: 'EZE' },
{
name: '明尼阿波利斯-圣保罗国际机场/沃尔德-张伯伦机场',
iataCode: 'MSP',
},
{ name: '明尼阿波利斯-圣保罗国际机场/沃尔德-张伯伦机场', iataCode: 'MSP' },
{ name: '穆罕默德五世国际机场', iataCode: 'CMN' },
{ name: '莫斯科多莫杰多沃机场', iataCode: 'DME' },
{ name: '慕尼黑机场', iataCode: 'MUC' },
Expand All @@ -99,10 +87,7 @@ export default [
{ name: '奥斯陆卢夫塔文机场', iataCode: 'OSL' },
{ name: '珀斯机场', iataCode: 'PER' },
{ name: '凤凰城天港国际机场', iataCode: 'PHX' },
{
name: '累西腓瓜拉拉佩斯-吉尔伯托弗雷尔国际机场',
iataCode: 'REC',
},
{ name: '累西腓瓜拉拉佩斯-吉尔伯托弗雷尔国际机场', iataCode: 'REC' },
{ name: '里约热内卢加利昂国际机场', iataCode: 'GIG' },
{ name: '萨尔加多菲略国际机场', iataCode: 'POA' },
{
Expand Down

0 comments on commit a2d6130

Please sign in to comment.