summaryrefslogtreecommitdiff
path: root/plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/quickfix/SpecifySuperTypeFix.kt
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/quickfix/SpecifySuperTypeFix.kt')
-rw-r--r--plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/quickfix/SpecifySuperTypeFix.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/quickfix/SpecifySuperTypeFix.kt b/plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/quickfix/SpecifySuperTypeFix.kt
index 7e6e11517620..edeefabc4be1 100644
--- a/plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/quickfix/SpecifySuperTypeFix.kt
+++ b/plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/quickfix/SpecifySuperTypeFix.kt
@@ -29,7 +29,7 @@ class SpecifySuperTypeFix(
private val superTypes: List<String>
) : KotlinQuickFixAction<KtSuperExpression>(superExpression) {
- override fun getText() = KotlinIdeaCompletionBundle.message("intention.name.specify.supertype")
+ override fun getText() = KotlinBundle.message("intention.name.specify.supertype")
override fun getFamilyName() = text
@@ -49,14 +49,14 @@ class SpecifySuperTypeFix(
}
private fun KtSuperExpression.specifySuperType(superType: String) {
- project.executeWriteCommand(KotlinIdeaCompletionBundle.message("intention.name.specify.supertype")) {
+ project.executeWriteCommand(KotlinBundle.message("intention.name.specify.supertype")) {
val label = this.labelQualifier?.text ?: ""
replace(KtPsiFactory(this).createExpression("super<$superType>$label"))
}
}
private fun createListPopupStep(superExpression: KtSuperExpression, superTypes: List<String>): ListPopupStep<*> {
- return object : BaseListPopupStep<String>(KotlinIdeaCompletionBundle.message("popup.title.choose.supertype"), superTypes) {
+ return object : BaseListPopupStep<String>(KotlinBundle.message("popup.title.choose.supertype"), superTypes) {
override fun isAutoSelectionEnabled() = false
override fun onChosen(selectedValue: String, finalChoice: Boolean): PopupStep<*>? {