Skip to content

Commit

Permalink
1.2.1 优化与BUG修复
Browse files Browse the repository at this point in the history
  • Loading branch information
DragonKnightOfBreeze committed Nov 7, 2023
1 parent 75d0834 commit c8ab1d6
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import icu.windea.pls.cwt.psi.*
*/
class CwtClausePropertySurrounder: Surrounder {
@Suppress("DialogTitleCapitalization")
override fun getTemplateDescription() = PlsBundle.message("script.surroundWith.clauseProperty.description")
override fun getTemplateDescription() = PlsBundle.message("cwt.surroundWith.clauseProperty.description")

override fun isApplicable(elements: Array<out PsiElement>): Boolean {
return true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import icu.windea.pls.cwt.psi.*
* ```
*/
class CwtClauseSurrounder : Surrounder {
@Suppress("DialogTitleCapitalization")
override fun getTemplateDescription() = PlsBundle.message("cwt.surroundWith.clause.description")

override fun isApplicable(elements: Array<out PsiElement>): Boolean {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import icu.windea.pls.script.psi.*
*/
class ParadoxScriptClausePropertySurrounder : Surrounder {
@Suppress("DialogTitleCapitalization")
override fun getTemplateDescription() = PlsBundle.message("cwt.surroundWith.clauseProperty.description")
override fun getTemplateDescription() = PlsBundle.message("script.surroundWith.clauseProperty.description")

override fun isApplicable(elements: Array<out PsiElement>): Boolean {
return true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import icu.windea.pls.script.psi.*
* ```
*/
class ParadoxScriptClauseSurrounder: Surrounder {
@Suppress("DialogTitleCapitalization")
override fun getTemplateDescription() = PlsBundle.message("script.surroundWith.clause.description")

override fun isApplicable(elements: Array<out PsiElement>): Boolean {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import icu.windea.pls.script.psi.*
* ```
*/
class ParadoxScriptParameterConditionSurrounder: Surrounder {
override fun getTemplateDescription() = PlsBundle.message("cwt.surroundWith.parameterCondition.description")
override fun getTemplateDescription() = PlsBundle.message("script.surroundWith.parameterCondition.description")

override fun isApplicable(elements: Array<out PsiElement>): Boolean {
return true
Expand Down
5 changes: 1 addition & 4 deletions src/main/resources/messages/PlsBundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,6 @@ action.Pls.Diff.CompareDefinitions.description=Compare current definition with d
action.Pls.Diff.CompareLocalisations.text=Compare with Override/Overridden &Localisations
action.Pls.Diff.CompareLocalisations.description=Compare current definition with localisations that have same key

process.generateLocalisations=Generate Localisations For Definition ''{0}''...
process.generateLocalisationsInFile=Generate Localisations For File ''{0}''...
progress.generateLocalisationFiles=Generate Localisation Files...
progress.text.generateLocalisationFile=Generate localisation file ''{0}''...

Expand All @@ -322,7 +320,6 @@ error.broken.image.file.format=<html><b>DDS image not loaded</b><br>Try to open
error.title=Error
create.directory=Create Directory
cannot.create.directory=Cannot create directory
no.localisations.to.be.generated=No localisations need to be generated

find.usages.panel.title.usages=Usages
#find.usages.panel.title.usages.crossLocales=Usages crossing locales
Expand Down Expand Up @@ -462,7 +459,7 @@ core.intention.copyLocalisationText=Copy localisation text to the clipboard
core.intention.copyLocalisationTextAsPlain=Copy localisation text to the clipboard (as plain text)
core.intention.copyLocalisationTextAsHtml=Copy localisation text to the clipboard (as html text)

generation.localisation.noMembersHint=No localisations to generate have been found
generation.localisation.noMembersHint=No localisations to be generated have been found
generation.localisation.showContainers=Show Containers
generation.localisation.allContainersNodeName=All localisations
generation.localisation.select.all=Select All
Expand Down

0 comments on commit c8ab1d6

Please sign in to comment.