i18n: fix text in AbstractKotlinInlineDialog
#KT-37822 Fixed
This commit is contained in:
@@ -915,7 +915,7 @@ text.incorrect.target.path.directory.0.does.not.belong.to.current.project=Incorr
|
||||
text.indirect.outer.instances.will.not.be.extracted.0=Indirect outer instances won''t be extracted: {0}
|
||||
text.inline.0.1.2=Inline {0} ''{1}''? {2}
|
||||
text.inline.0=Inline {0}
|
||||
text.inline.all.references.and.0.the.1=Inline all references and {0} the kind {1}
|
||||
text.inline.all.references.and.verb.0.the.kind.1.occurrences.2=Inline all references and {0} the {1} {2}
|
||||
text.inline.recursive.function.is.supported.only.on.references=Inline recursive function is supported only on references
|
||||
text.inline.this.reference.and.keep.the.0=Inline this reference and keep the {0}
|
||||
text.inlining.0.1=Inlining {0} {1}
|
||||
|
||||
@@ -55,8 +55,10 @@ abstract class AbstractKotlinInlineDialog(
|
||||
return "${kind.capitalize()} ${callable.nameAsSafeName} $occurrencesString"
|
||||
}
|
||||
|
||||
private fun getInlineText(verb: String) = KotlinBundle.message("text.inline.all.references.and.0.the.1",
|
||||
private fun getInlineText(verb: String) = KotlinBundle.message(
|
||||
"text.inline.all.references.and.verb.0.the.kind.1.occurrences.2",
|
||||
verb,
|
||||
kind,
|
||||
(occurrencesString?.let { "($it)" } ?: "")
|
||||
)
|
||||
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@ import org.jetbrains.kotlin.types.Variance
|
||||
|
||||
class KotlinInlineTypeAliasHandler : InlineActionHandler() {
|
||||
companion object {
|
||||
val REFACTORING_NAME = KotlinBundle.message("name.inline.type.alias")
|
||||
val REFACTORING_NAME get() = KotlinBundle.message("name.inline.type.alias")
|
||||
}
|
||||
|
||||
private fun showErrorHint(project: Project, editor: Editor?, message: String) {
|
||||
|
||||
Reference in New Issue
Block a user