diff --git a/src/main/kotlin/org/jetbrains/plugins/template/MyBundle.kt b/src/main/kotlin/org/jetbrains/plugins/template/MyBundle.kt index 19e949e..bf5644e 100644 --- a/src/main/kotlin/org/jetbrains/plugins/template/MyBundle.kt +++ b/src/main/kotlin/org/jetbrains/plugins/template/MyBundle.kt @@ -11,11 +11,11 @@ object MyBundle : AbstractBundle(BUNDLE) { @Suppress("SpreadOperator") @JvmStatic - fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any) = getMessage(key, *params) + fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any) = + getMessage(key, *params) @Suppress("SpreadOperator") @JvmStatic - fun messagePointer(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any) = run { - message(key, *params) - } + fun messagePointer(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any) = + getLazyMessage(key, *params) }