Skip to content

Commit

Permalink
feat(locale): add Greek locale
Browse files Browse the repository at this point in the history
  • Loading branch information
JunkFood02 committed Apr 17, 2024
1 parent 200f790 commit 989b77b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/src/main/java/com/junkfood/seal/util/LanguageSettings.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import java.util.Locale


@Composable
@Deprecated("See Locale.toDisplayName()")
@Deprecated(message = "See Locale.toDisplayName()", level = DeprecationLevel.HIDDEN)
fun getLanguageDesc(language: Int): String {
return stringResource(
when (language) {
Expand Down Expand Up @@ -102,6 +102,7 @@ private const val THAI = 42
private const val BENGALI = 43
private const val KHMER = 44
private const val KANNADA = 45
private const val GREEK = 46

val LocaleLanguageCodeMap =
mapOf(
Expand All @@ -121,6 +122,7 @@ val LocaleLanguageCodeMap =
Locale("fil") to FILIPINO,
Locale("fr") to FRENCH,
Locale("de") to GERMAN,
Locale("el") to GREEK,
Locale("he") to HEBREW,
Locale("hi") to HINDI,
Locale("hu") to HUNGARIAN,
Expand Down

0 comments on commit 989b77b

Please sign in to comment.