Skip to content

Commit

Permalink
remove flags (#2326)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolverineks committed Feb 7, 2023
1 parent 50f0b5d commit 29100af
Show file tree
Hide file tree
Showing 47 changed files with 15 additions and 32 deletions.
Binary file removed src/i18n/flags/brazilian.png
Binary file not shown.
Binary file removed src/i18n/flags/brazilian@2x.png
Binary file not shown.
Binary file removed src/i18n/flags/brazilian@3x.png
Binary file not shown.
Binary file removed src/i18n/flags/chinese.png
Binary file not shown.
Binary file removed src/i18n/flags/chinese@2x.png
Binary file not shown.
Binary file removed src/i18n/flags/chinese@3x.png
Binary file not shown.
Binary file removed src/i18n/flags/czech.png
Binary file not shown.
Binary file removed src/i18n/flags/czech@2x.png
Binary file not shown.
Binary file removed src/i18n/flags/czech@3x.png
Binary file not shown.
Binary file removed src/i18n/flags/dutch.png
Binary file not shown.
Binary file removed src/i18n/flags/dutch@2x.png
Binary file not shown.
Binary file removed src/i18n/flags/dutch@3x.png
Binary file not shown.
Binary file removed src/i18n/flags/english.png
Binary file not shown.
Binary file removed src/i18n/flags/english@2x.png
Binary file not shown.
Binary file removed src/i18n/flags/english@3x.png
Binary file not shown.
Binary file removed src/i18n/flags/french.png
Binary file not shown.
Binary file removed src/i18n/flags/french@2x.png
Binary file not shown.
Binary file removed src/i18n/flags/french@3x.png
Binary file not shown.
Binary file removed src/i18n/flags/german.png
Binary file not shown.
Binary file removed src/i18n/flags/german@2x.png
Binary file not shown.
Binary file removed src/i18n/flags/german@3x.png
Binary file not shown.
Binary file removed src/i18n/flags/hungarian.png
Binary file not shown.
Binary file removed src/i18n/flags/hungarian@2x.png
Binary file not shown.
Binary file removed src/i18n/flags/hungarian@3x.png
Binary file not shown.
15 changes: 0 additions & 15 deletions src/i18n/flags/index.ts

This file was deleted.

Binary file removed src/i18n/flags/indonesian.png
Binary file not shown.
Binary file removed src/i18n/flags/indonesian@2x.png
Diff not rendered.
Binary file removed src/i18n/flags/indonesian@3x.png
Diff not rendered.
Binary file removed src/i18n/flags/italian.png
Diff not rendered.
Binary file removed src/i18n/flags/italian@2x.png
Diff not rendered.
Binary file removed src/i18n/flags/italian@3x.png
Diff not rendered.
Binary file removed src/i18n/flags/japanese.png
Diff not rendered.
Binary file removed src/i18n/flags/japanese@2x.png
Diff not rendered.
Binary file removed src/i18n/flags/japanese@3x.png
Diff not rendered.
Binary file removed src/i18n/flags/korean.png
Diff not rendered.
Binary file removed src/i18n/flags/korean@2x.png
Diff not rendered.
Binary file removed src/i18n/flags/korean@3x.png
Diff not rendered.
Binary file removed src/i18n/flags/russian.png
Diff not rendered.
Binary file removed src/i18n/flags/russian@2x.png
Diff not rendered.
Binary file removed src/i18n/flags/russian@3x.png
Diff not rendered.
Binary file removed src/i18n/flags/slovak.png
Diff not rendered.
Binary file removed src/i18n/flags/slovak@2x.png
Diff not rendered.
Binary file removed src/i18n/flags/slovak@3x.png
Diff not rendered.
Binary file removed src/i18n/flags/spanish.png
Diff not rendered.
Binary file removed src/i18n/flags/spanish@2x.png
Diff not rendered.
Binary file removed src/i18n/flags/spanish@3x.png
Diff not rendered.
32 changes: 15 additions & 17 deletions src/i18n/languages.ts
@@ -1,21 +1,19 @@
import * as Flags from './flags'

export const supportedLanguages = [
{code: 'en-US', label: 'English', icon: Flags.English},
{code: 'ja-JP', label: '日本語', icon: Flags.Japanese},
{code: 'ko-KR', label: '한국어', icon: Flags.Korean},
{code: 'ru-RU', label: 'Русский', icon: Flags.Russian},
{code: 'es-ES', label: 'Español', icon: Flags.Spanish},
{code: 'zh-Hans', label: '简体中文', icon: Flags.Chinese},
{code: 'id-ID', label: 'Bahasa Indonesia', icon: Flags.Indonesian},
{code: 'pt-BR', label: 'Português brasileiro', icon: Flags.Brazilian},
{code: 'de-DE', label: 'Deutsch', icon: Flags.German},
{code: 'fr-FR', label: 'Français', icon: Flags.French},
{code: 'it-IT', label: 'Italiano', icon: Flags.Italian},
{code: 'nl-NL', label: 'Nederlands', icon: Flags.Dutch},
{code: 'cs-CZ', label: 'Čeština', icon: Flags.Czech},
{code: 'hu-HU', label: 'Magyar', icon: Flags.Hungarian},
{code: 'sk-SK', label: 'Slovenčina', icon: Flags.Slovak},
{code: 'en-US', label: 'English'},
{code: 'ja-JP', label: '日本語'},
{code: 'ko-KR', label: '한국어'},
{code: 'ru-RU', label: 'Русский'},
{code: 'es-ES', label: 'Español'},
{code: 'zh-Hans', label: '简体中文'},
{code: 'id-ID', label: 'Bahasa Indonesia'},
{code: 'pt-BR', label: 'Português brasileiro'},
{code: 'de-DE', label: 'Deutsch'},
{code: 'fr-FR', label: 'Français'},
{code: 'it-IT', label: 'Italiano'},
{code: 'nl-NL', label: 'Nederlands'},
{code: 'cs-CZ', label: 'Čeština'},
{code: 'hu-HU', label: 'Magyar'},
{code: 'sk-SK', label: 'Slovenčina'},
] as const

export const LANGUAGES = {
Expand Down

0 comments on commit 29100af

Please sign in to comment.