mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-245459 [platform] recategorize intention, improve its text
GitOrigin-RevId: 6640201c2964345aa2e3e5fc21f60bbec013cd55
This commit is contained in:
committed by
intellij-monorepo-bot
parent
84cf51fbb3
commit
f6dc03c9c7
@@ -31,8 +31,7 @@ template.data.language.configurable.tree.table.title=Language
|
||||
template.data.language.override.warning.text=There are template data languages specified for the subdirectories. Override them?
|
||||
template.data.language.override.warning.title=Override Subdirectory Template Data Languages
|
||||
template.data.language.chooser.intention.text=Choose Template Data Language
|
||||
template.data.language.chooser.intention.title=Choose template data language
|
||||
template.data.language.chooser.intention.family.name=Template language settings
|
||||
template.data.language.chooser.intention.family.name=Choose template data language
|
||||
quickfix.change.template.data.language.text=Change {0} template data language to\u2026
|
||||
incorrect.name=Incorrect name
|
||||
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2026 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.psi.templateLanguages
|
||||
|
||||
import com.intellij.codeInsight.intention.IntentionAction
|
||||
@@ -21,7 +21,7 @@ internal class ChooseTemplateDataLanguageIntention : IntentionAction {
|
||||
}
|
||||
|
||||
override fun getText(): String {
|
||||
return LangBundle.message("template.data.language.chooser.intention.title")
|
||||
return familyName
|
||||
}
|
||||
|
||||
override fun isAvailable(project: Project, editor: Editor?, psiFile: PsiFile?): Boolean {
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
Allows choosing the preferred template data language for the current file.
|
||||
Configure the preferred template data language for the current file.
|
||||
</body>
|
||||
</html>
|
||||
@@ -886,7 +886,7 @@
|
||||
<language/>
|
||||
<className>com.intellij.psi.templateLanguages.ChooseTemplateDataLanguageIntention</className>
|
||||
<bundleName>messages.LangBundle</bundleName>
|
||||
<categoryKey>template.data.language.chooser.intention.title</categoryKey>
|
||||
<categoryKey>intention.category.other</categoryKey>
|
||||
<skipBeforeAfter>true</skipBeforeAfter>
|
||||
</intentionAction>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user