mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[kotlin] KTIJ-37133 Correct the action name of PropagateOptInAnnotationFix
GitOrigin-RevId: df34b48e4dc498bd95c04d54901df8819f1a45cb
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e6a5495de3
commit
3767e1c320
+1
-1
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user