Skip to content

Commit

Permalink
fix: missed to add languages
Browse files Browse the repository at this point in the history
  • Loading branch information
jibon57 committed Nov 4, 2024
1 parent 543c456 commit 1ffce62
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 185 deletions.
166 changes: 0 additions & 166 deletions src/assets/locales/zh-HK/translation.json

This file was deleted.

94 changes: 75 additions & 19 deletions src/helpers/languages.ts
Original file line number Diff line number Diff line change
@@ -1,68 +1,124 @@
const languages = [
{
code: 'en',
text: 'English',
code: 'ar-SA',
text: 'اللغة العربية',
},
{
code: 'bn-BD',
text: 'বাংলা',
},
{
code: 'cs-CZ',
text: 'Czech',
},
{
code: 'da-DK',
text: 'Danish',
},
{
code: 'de-DE',
text: 'Deutsch',
},
{
code: 'nl-NL',
text: 'Dutch',
code: 'el-GR',
text: 'Greek',
},
{
code: 'en',
text: 'English',
},
{
code: 'es-ES',
text: 'Español',
},
{
code: 'et-EE',
text: 'Estonian',
},
{
code: 'fa-IR',
text: 'فارسی',
},
{
code: 'fr-FR',
text: 'Français',
},
{
code: 'pt-PT',
text: 'Português',
code: 'he-IL',
text: 'Hebrew',
},
{
code: 'it-IT',
text: 'Italiano',
code: 'hr-HR',
text: 'Croatian',
},
{
code: 'tr-TR',
text: 'Türkçe',
code: 'hu-HU',
text: 'Hungarian',
},
{
code: 'ar-SA',
text: 'اللغة العربية',
code: 'id-ID',
text: 'Indonesian',
},
{
code: 'bn-BD',
text: 'বাংলা',
code: 'it-IT',
text: 'Italiano',
},
{
code: 'ja-JP',
text: '日本語',
},
{
code: 'lv-LV',
text: 'Latvian',
},
{
code: 'nl-NL',
text: 'Dutch',
},
{
code: 'no-NO',
text: 'Norwegian',
},
{
code: 'pl-PL',
text: 'Polish',
},
{
code: 'pt-PT',
text: 'Português',
},
{
code: 'ro-RO',
text: 'Romanian',
},
{
code: 'ru-RU',
text: 'Русский',
},
{
code: 'sv-SE',
text: 'Swedish',
},
{
code: 'tr-TR',
text: 'Türkçe',
},
{
code: 'uk-UA',
text: 'Українська',
},
{
code: 'vi-VN',
text: 'Vietnamese',
},
{
code: 'zh-CN',
text: '简体中文',
},
{
code: 'zh-HK',
code: 'zh-TW',
text: '繁體中文',
},
{
code: 'fa-IR',
text: 'فارسی',
},
];

export default languages;

0 comments on commit 1ffce62

Please sign in to comment.