Skip to content

Commit

Permalink
Merge pull request #12039 from bbc/bn-fa-nav-add-us-election
Browse files Browse the repository at this point in the history
Add US election topic to Bengali and Persian nav bars
  • Loading branch information
jordit authored Oct 9, 2024
2 parents 5480cb0 + 61a9dfb commit 0f1abdc
Show file tree
Hide file tree
Showing 8 changed files with 110 additions and 60 deletions.
4 changes: 4 additions & 0 deletions src/app/lib/config/services/bengali.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,10 @@ export const service: DefaultServiceConfig = {
title: 'মূলপাতা',
url: '/bengali',
},
{
title: 'যুক্তরাষ্ট্র নির্বাচন ২০২৪',
url: '/bengali/topics/cjlgjr0d2d2t',
},
{
title: 'রাজনীতি',
url: '/bengali/topics/cqywj91rkg6t',
Expand Down
4 changes: 4 additions & 0 deletions src/app/lib/config/services/persian.ts
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,10 @@ export const service: DefaultServiceConfig = {
title: 'بحران خاورمیانه',
url: '/persian/topics/cj31ldvmg1et',
},
{
title: 'انتخابات آمریکا',
url: '/persian/topics/cj1gj22k6z6t',
},
{
title: 'پخش زنده',
url: '/persian/media-49522521',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,76 +178,83 @@ exports[`AMP Articles Header Navigation link should match text and url 2`] = `
`;

exports[`AMP Articles Header Navigation link should match text and url 3`] = `
{
"text": "انتخابات آمریکا",
"url": "/persian/topics/cj1gj22k6z6t",
}
`;

exports[`AMP Articles Header Navigation link should match text and url 4`] = `
{
"text": "پخش زنده",
"url": "/persian/media-49522521",
}
`;

exports[`AMP Articles Header Navigation link should match text and url 4`] = `
exports[`AMP Articles Header Navigation link should match text and url 5`] = `
{
"text": "ویدیو",
"url": "/persian/topics/c6z7mnr559gt",
}
`;

exports[`AMP Articles Header Navigation link should match text and url 5`] = `
exports[`AMP Articles Header Navigation link should match text and url 6`] = `
{
"text": "تلویزیون",
"url": "/persian/tv-and-radio-37434377",
}
`;

exports[`AMP Articles Header Navigation link should match text and url 6`] = `
exports[`AMP Articles Header Navigation link should match text and url 7`] = `
{
"text": "ايران",
"url": "/persian/topics/ckdxnwvwwjnt",
}
`;

exports[`AMP Articles Header Navigation link should match text and url 7`] = `
exports[`AMP Articles Header Navigation link should match text and url 8`] = `
{
"text": "افغانستان",
"url": "/persian/afghanistan",
}
`;

exports[`AMP Articles Header Navigation link should match text and url 8`] = `
exports[`AMP Articles Header Navigation link should match text and url 9`] = `
{
"text": "جهان",
"url": "/persian/topics/c1d8ye58xl8t",
}
`;

exports[`AMP Articles Header Navigation link should match text and url 9`] = `
exports[`AMP Articles Header Navigation link should match text and url 10`] = `
{
"text": "هنر",
"url": "/persian/topics/c9wpm0epm45t",
}
`;

exports[`AMP Articles Header Navigation link should match text and url 10`] = `
exports[`AMP Articles Header Navigation link should match text and url 11`] = `
{
"text": "ورزش",
"url": "/persian/topics/cnq6879k7yjt",
}
`;

exports[`AMP Articles Header Navigation link should match text and url 11`] = `
exports[`AMP Articles Header Navigation link should match text and url 12`] = `
{
"text": "اقتصاد",
"url": "/persian/topics/cl8l9mvlllqt",
}
`;

exports[`AMP Articles Header Navigation link should match text and url 12`] = `
exports[`AMP Articles Header Navigation link should match text and url 13`] = `
{
"text": "دانش",
"url": "/persian/topics/ckdxnwr4r1yt",
}
`;

exports[`AMP Articles Header Navigation link should match text and url 13`] = `
exports[`AMP Articles Header Navigation link should match text and url 14`] = `
{
"text": "فراتر از خبر",
"url": "/persian/topics/cxr3ex12k6et",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,76 +81,83 @@ exports[`Canonical Articles Header Navigation link should match text and url 2`]
`;

exports[`Canonical Articles Header Navigation link should match text and url 3`] = `
{
"text": "انتخابات آمریکا",
"url": "/persian/topics/cj1gj22k6z6t",
}
`;

exports[`Canonical Articles Header Navigation link should match text and url 4`] = `
{
"text": "پخش زنده",
"url": "/persian/media-49522521",
}
`;

exports[`Canonical Articles Header Navigation link should match text and url 4`] = `
exports[`Canonical Articles Header Navigation link should match text and url 5`] = `
{
"text": "ویدیو",
"url": "/persian/topics/c6z7mnr559gt",
}
`;

exports[`Canonical Articles Header Navigation link should match text and url 5`] = `
exports[`Canonical Articles Header Navigation link should match text and url 6`] = `
{
"text": "تلویزیون",
"url": "/persian/tv-and-radio-37434377",
}
`;

exports[`Canonical Articles Header Navigation link should match text and url 6`] = `
exports[`Canonical Articles Header Navigation link should match text and url 7`] = `
{
"text": "ايران",
"url": "/persian/topics/ckdxnwvwwjnt",
}
`;

exports[`Canonical Articles Header Navigation link should match text and url 7`] = `
exports[`Canonical Articles Header Navigation link should match text and url 8`] = `
{
"text": "افغانستان",
"url": "/persian/afghanistan",
}
`;

exports[`Canonical Articles Header Navigation link should match text and url 8`] = `
exports[`Canonical Articles Header Navigation link should match text and url 9`] = `
{
"text": "جهان",
"url": "/persian/topics/c1d8ye58xl8t",
}
`;

exports[`Canonical Articles Header Navigation link should match text and url 9`] = `
exports[`Canonical Articles Header Navigation link should match text and url 10`] = `
{
"text": "هنر",
"url": "/persian/topics/c9wpm0epm45t",
}
`;

exports[`Canonical Articles Header Navigation link should match text and url 10`] = `
exports[`Canonical Articles Header Navigation link should match text and url 11`] = `
{
"text": "ورزش",
"url": "/persian/topics/cnq6879k7yjt",
}
`;

exports[`Canonical Articles Header Navigation link should match text and url 11`] = `
exports[`Canonical Articles Header Navigation link should match text and url 12`] = `
{
"text": "اقتصاد",
"url": "/persian/topics/cl8l9mvlllqt",
}
`;

exports[`Canonical Articles Header Navigation link should match text and url 12`] = `
exports[`Canonical Articles Header Navigation link should match text and url 13`] = `
{
"text": "دانش",
"url": "/persian/topics/ckdxnwr4r1yt",
}
`;

exports[`Canonical Articles Header Navigation link should match text and url 13`] = `
exports[`Canonical Articles Header Navigation link should match text and url 14`] = `
{
"text": "فراتر از خبر",
"url": "/persian/topics/cxr3ex12k6et",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,76 +178,83 @@ exports[`AMP Articles Header Navigation link should match text and url 2`] = `
`;

exports[`AMP Articles Header Navigation link should match text and url 3`] = `
{
"text": "انتخابات آمریکا",
"url": "/persian/topics/cj1gj22k6z6t",
}
`;

exports[`AMP Articles Header Navigation link should match text and url 4`] = `
{
"text": "پخش زنده",
"url": "/persian/media-49522521",
}
`;

exports[`AMP Articles Header Navigation link should match text and url 4`] = `
exports[`AMP Articles Header Navigation link should match text and url 5`] = `
{
"text": "ویدیو",
"url": "/persian/topics/c6z7mnr559gt",
}
`;

exports[`AMP Articles Header Navigation link should match text and url 5`] = `
exports[`AMP Articles Header Navigation link should match text and url 6`] = `
{
"text": "تلویزیون",
"url": "/persian/tv-and-radio-37434377",
}
`;

exports[`AMP Articles Header Navigation link should match text and url 6`] = `
exports[`AMP Articles Header Navigation link should match text and url 7`] = `
{
"text": "ايران",
"url": "/persian/topics/ckdxnwvwwjnt",
}
`;

exports[`AMP Articles Header Navigation link should match text and url 7`] = `
exports[`AMP Articles Header Navigation link should match text and url 8`] = `
{
"text": "افغانستان",
"url": "/persian/afghanistan",
}
`;

exports[`AMP Articles Header Navigation link should match text and url 8`] = `
exports[`AMP Articles Header Navigation link should match text and url 9`] = `
{
"text": "جهان",
"url": "/persian/topics/c1d8ye58xl8t",
}
`;

exports[`AMP Articles Header Navigation link should match text and url 9`] = `
exports[`AMP Articles Header Navigation link should match text and url 10`] = `
{
"text": "هنر",
"url": "/persian/topics/c9wpm0epm45t",
}
`;

exports[`AMP Articles Header Navigation link should match text and url 10`] = `
exports[`AMP Articles Header Navigation link should match text and url 11`] = `
{
"text": "ورزش",
"url": "/persian/topics/cnq6879k7yjt",
}
`;

exports[`AMP Articles Header Navigation link should match text and url 11`] = `
exports[`AMP Articles Header Navigation link should match text and url 12`] = `
{
"text": "اقتصاد",
"url": "/persian/topics/cl8l9mvlllqt",
}
`;

exports[`AMP Articles Header Navigation link should match text and url 12`] = `
exports[`AMP Articles Header Navigation link should match text and url 13`] = `
{
"text": "دانش",
"url": "/persian/topics/ckdxnwr4r1yt",
}
`;

exports[`AMP Articles Header Navigation link should match text and url 13`] = `
exports[`AMP Articles Header Navigation link should match text and url 14`] = `
{
"text": "فراتر از خبر",
"url": "/persian/topics/cxr3ex12k6et",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,76 +81,83 @@ exports[`Canonical Articles Header Navigation link should match text and url 2`]
`;

exports[`Canonical Articles Header Navigation link should match text and url 3`] = `
{
"text": "انتخابات آمریکا",
"url": "/persian/topics/cj1gj22k6z6t",
}
`;

exports[`Canonical Articles Header Navigation link should match text and url 4`] = `
{
"text": "پخش زنده",
"url": "/persian/media-49522521",
}
`;

exports[`Canonical Articles Header Navigation link should match text and url 4`] = `
exports[`Canonical Articles Header Navigation link should match text and url 5`] = `
{
"text": "ویدیو",
"url": "/persian/topics/c6z7mnr559gt",
}
`;

exports[`Canonical Articles Header Navigation link should match text and url 5`] = `
exports[`Canonical Articles Header Navigation link should match text and url 6`] = `
{
"text": "تلویزیون",
"url": "/persian/tv-and-radio-37434377",
}
`;

exports[`Canonical Articles Header Navigation link should match text and url 6`] = `
exports[`Canonical Articles Header Navigation link should match text and url 7`] = `
{
"text": "ايران",
"url": "/persian/topics/ckdxnwvwwjnt",
}
`;

exports[`Canonical Articles Header Navigation link should match text and url 7`] = `
exports[`Canonical Articles Header Navigation link should match text and url 8`] = `
{
"text": "افغانستان",
"url": "/persian/afghanistan",
}
`;

exports[`Canonical Articles Header Navigation link should match text and url 8`] = `
exports[`Canonical Articles Header Navigation link should match text and url 9`] = `
{
"text": "جهان",
"url": "/persian/topics/c1d8ye58xl8t",
}
`;

exports[`Canonical Articles Header Navigation link should match text and url 9`] = `
exports[`Canonical Articles Header Navigation link should match text and url 10`] = `
{
"text": "هنر",
"url": "/persian/topics/c9wpm0epm45t",
}
`;

exports[`Canonical Articles Header Navigation link should match text and url 10`] = `
exports[`Canonical Articles Header Navigation link should match text and url 11`] = `
{
"text": "ورزش",
"url": "/persian/topics/cnq6879k7yjt",
}
`;

exports[`Canonical Articles Header Navigation link should match text and url 11`] = `
exports[`Canonical Articles Header Navigation link should match text and url 12`] = `
{
"text": "اقتصاد",
"url": "/persian/topics/cl8l9mvlllqt",
}
`;

exports[`Canonical Articles Header Navigation link should match text and url 12`] = `
exports[`Canonical Articles Header Navigation link should match text and url 13`] = `
{
"text": "دانش",
"url": "/persian/topics/ckdxnwr4r1yt",
}
`;

exports[`Canonical Articles Header Navigation link should match text and url 13`] = `
exports[`Canonical Articles Header Navigation link should match text and url 14`] = `
{
"text": "فراتر از خبر",
"url": "/persian/topics/cxr3ex12k6et",
Expand Down
Loading

0 comments on commit 0f1abdc

Please sign in to comment.