diff --git a/kord-extensions/src/main/kotlin/dev/kordex/core/i18n/ResourceBundleTranslations.kt b/kord-extensions/src/main/kotlin/dev/kordex/core/i18n/ResourceBundleTranslations.kt index 72da17e421..87295ae384 100644 --- a/kord-extensions/src/main/kotlin/dev/kordex/core/i18n/ResourceBundleTranslations.kt +++ b/kord-extensions/src/main/kotlin/dev/kordex/core/i18n/ResourceBundleTranslations.kt @@ -255,10 +255,6 @@ public open class ResourceBundleTranslations( }.build() .formatToString(replacements) } - - val formatter = MessageFormat(string, locale) - - return formatter.format(replacements) } private fun ResourceBundle.getStringOrNull(key: String): String? {