Skip to content

Commit

Permalink
Merge pull request #602 from programmer584/jetpack_compose
Browse files Browse the repository at this point in the history
Added Dutch translation
  • Loading branch information
maxrave-dev authored Dec 11, 2024
2 parents a1b6758 + 3a9b158 commit 090c9d2
Show file tree
Hide file tree
Showing 4 changed files with 374 additions and 6 deletions.
5 changes: 3 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ android {
"iw",
"az",
"hi",
"th"
"th",
"nl"
)
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down Expand Up @@ -318,4 +319,4 @@ aboutLibraries {
}
tasks.withType<CompileArtProfileTask> {
enabled = false
}
}
8 changes: 5 additions & 3 deletions app/src/main/java/com/maxrave/simpmusic/common/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ object SUPPORTED_LANGUAGE {
"עברית",
"Azerbaijani",
"हिन्दी",
"ภาษาไทย"
"ภาษาไทย",
"Nederlands"
)
val codes: Array<String> =
arrayOf(
Expand All @@ -217,7 +218,8 @@ object SUPPORTED_LANGUAGE {
"iw-IL",
"az-AZ",
"hi-IN",
"th-TH"
"th-TH",
"nl-NL
)
fun getLanguageFromCode(code: String?): String {
val index = codes.indexOf(code)
Expand Down Expand Up @@ -462,4 +464,4 @@ const val LOCAL_PLAYLIST_ID_DOWNLOADED = "LOCAL_PLAYLIST_ID_DOWNLOADED"
const val LOCAL_PLAYLIST_ID_LIKED = "LOCAL_PLAYLIST_ID_LIKED"
const val LOCAL_PLAYLIST_ID = "LOCAL_PLAYLIST_ID"
const val ASC = "ASC"
const val DESC = "DESC"
const val DESC = "DESC"
Loading

0 comments on commit 090c9d2

Please sign in to comment.