Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(locale): activate data normalization for airline #2828

Merged
merged 2 commits into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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