From 3767e1c3200c2bab1d6fb7e6b414b97fc37939f7 Mon Sep 17 00:00:00 2001 From: Andrey Cherkasov Date: Thu, 15 Jan 2026 22:36:52 +0400 Subject: [PATCH] [kotlin] KTIJ-37133 Correct the action name of `PropagateOptInAnnotationFix` GitOrigin-RevId: df34b48e4dc498bd95c04d54901df8819f1a45cb --- .../src/org/jetbrains/kotlin/idea/quickfix/OptInFixes.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/kotlin/frontend-independent/src/org/jetbrains/kotlin/idea/quickfix/OptInFixes.kt b/plugins/kotlin/frontend-independent/src/org/jetbrains/kotlin/idea/quickfix/OptInFixes.kt index ac3517f5847e..0eaabe77a31c 100644 --- a/plugins/kotlin/frontend-independent/src/org/jetbrains/kotlin/idea/quickfix/OptInFixes.kt +++ b/plugins/kotlin/frontend-independent/src/org/jetbrains/kotlin/idea/quickfix/OptInFixes.kt @@ -93,7 +93,7 @@ class OptInFixes { val annotationEntry = if (argumentClassFqName != null) "(${argumentClassFqName.shortName().asString()}::class)" else "" val argumentText = annotationName + annotationEntry val actionName = when (kind) { - is Kind.Self -> KotlinBundle.message("fix.opt_in.text.propagate.declaration", argumentText, "?") + is Kind.Self -> KotlinBundle.message("fix.opt_in.text.use.statement", argumentText) is Kind.Constructor -> KotlinBundle.message("fix.opt_in.text.propagate.constructor", argumentText) is Kind.Declaration -> KotlinBundle.message("fix.opt_in.text.propagate.declaration", argumentText, kind.name ?: "?") is Kind.ContainingClass if element is KtObjectDeclaration -> KotlinBundle.message(