Skip to content

Commit

Permalink
Merge pull request #525 from Fallenbagel/fix-ukranian-lang-code
Browse files Browse the repository at this point in the history
fix(langcode): fixes the ukranian language code
  • Loading branch information
Fallenbagel authored Nov 6, 2023
2 parents 31bc6ca + dc67aaa commit 9a7a98b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/context/LanguageContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export type AvailableLocale =
| 'sq'
| 'sr'
| 'sv'
| 'ua'
| 'uk'
| 'zh-CN'
| 'zh-TW';

Expand Down Expand Up @@ -127,8 +127,8 @@ export const availableLanguages: AvailableLanguageObject = {
code: 'ja',
display: '日本語',
},
ua: {
code: 'ua',
uk: {
code: 'uk',
display: 'українська',
},
ko: {
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ const loadLocaleData = (locale: AvailableLocale): Promise<any> => {
return import('../i18n/locale/sr.json');
case 'sv':
return import('../i18n/locale/sv.json');
case 'ua':
return import('../i18n/locale/ua.json');
case 'uk':
return import('../i18n/locale/uk.json');
case 'zh-CN':
return import('../i18n/locale/zh_Hans.json');
case 'zh-TW':
Expand Down

0 comments on commit 9a7a98b

Please sign in to comment.