Skip to content

Commit 81f2be5

Browse files
committed
fix: the locales of the hard coded list of languages
LIIKUNTA-432. Fixed the locations selected module in the article page. Needed also to update the CMS content related to the languages (Wordpress PolyLang): 1. https://liikunta.hkih.stage.geniem.io/wp-admin/admin.php?page=mlang 2. https://liikunta2.content.api.hel.fi/wp-admin/admin.php?page=mlang
1 parent afd56fb commit 81f2be5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/components/src/components/errorPages/ErrorPage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ const HARDCODED_LANGUAGES = [
3535
{
3636
__typename: 'Language',
3737
id: 'TGFuZ3VhZ2U6ZW4=',
38-
locale: 'en_US',
38+
locale: 'en',
3939
name: 'English',
4040
code: 'EN' as LanguageCodeEnum,
4141
slug: 'en',
4242
},
4343
{
4444
__typename: 'Language',
4545
id: 'TGFuZ3VhZ2U6c3Y=',
46-
locale: 'sv_SE',
46+
locale: 'sv',
4747
name: 'Svenska',
4848
code: 'SV' as LanguageCodeEnum,
4949
slug: 'sv',

0 commit comments

Comments
 (0)