Skip to content

Commit

Permalink
Update kordex
Browse files Browse the repository at this point in the history
  • Loading branch information
NoComment1105 committed Oct 16, 2024
1 parent bf8809f commit fc0b684
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]
kotlin = "2.0.20"
kordex = "2.2.0-20240824.203242-3"
kotlin = "2.0.21"
kordex = "2.2.1-20241015.125602-7"
git-hooks = "0.0.2"
licenser = "0.6.1"
bin-compat = "0.16.3"
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/org/hyacinthbots/docgenerator/_Utils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ internal fun String.translate(
language: Locale?,
bundle: String? = DEFAULT_BUNDLE_NAME
): String =
provider.translate(this, language ?: SupportedLocales.ENGLISH, bundle)
provider.translate(this, bundle, language ?: SupportedLocales.ENGLISH)

/**
* Extension function for formatting a [MutableSet] of [Permission]s into a string, possible localised if necessary.
Expand Down

0 comments on commit fc0b684

Please sign in to comment.