i18n: replace KotlinBundleBase with AbstractKotlinBundle
This commit is contained in:
+5
-11
@@ -5,20 +5,14 @@
|
||||
|
||||
package org.jetbrains.kotlin.idea.debugger.coroutine
|
||||
|
||||
import com.intellij.CommonBundle
|
||||
import org.jetbrains.annotations.NonNls
|
||||
import org.jetbrains.annotations.PropertyKey
|
||||
import org.jetbrains.kotlin.idea.core.util.KotlinBundleBase
|
||||
import java.util.*
|
||||
import org.jetbrains.kotlin.util.AbstractKotlinBundle
|
||||
|
||||
object KotlinDebuggerCoroutinesBundle : KotlinBundleBase() {
|
||||
@NonNls
|
||||
private const val BUNDLE = "messages.KotlinDebuggerCoroutinesBundle"
|
||||
|
||||
override fun createBundle(): ResourceBundle = ResourceBundle.getBundle(BUNDLE)
|
||||
@NonNls
|
||||
private const val BUNDLE = "messages.KotlinDebuggerCoroutinesBundle"
|
||||
|
||||
object KotlinDebuggerCoroutinesBundle : AbstractKotlinBundle(BUNDLE) {
|
||||
@JvmStatic
|
||||
fun message(@NonNls @PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any?): String {
|
||||
return CommonBundle.message(bundle, key, *params)
|
||||
}
|
||||
fun message(@NonNls @PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
||||
}
|
||||
Reference in New Issue
Block a user