1
0
mirror of https://github.com/chylex/IntelliJ-Rainbow-Brackets.git synced 2025-05-08 21:34:06 +02:00

Update banner action label content

This commit is contained in:
张志豪 2021-03-03 00:19:22 +08:00 committed by GitHub
parent 97262f1caf
commit c4650259ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ class RainbowifyBanner(private val project: Project) : EditorNotifications.Provi
if (!RainbowSettings.instance.isRainbowEnabled) {
if (RainbowSettings.instance.suppressDisabledCheck) return null
return EditorNotificationPanel().apply {
text("Rainbow Brackets is now disabled.")
text("Rainbow Brackets is now disabled")
icon(AllIcons.General.GearPlain)
createComponentActionLabel("got it, don't show again") {
RainbowSettings.instance.suppressDisabledCheck = true
@ -62,7 +62,7 @@ class RainbowifyBanner(private val project: Project) : EditorNotifications.Provi
) {
if (RainbowSettings.instance.suppressBlackListCheck) return null
return EditorNotificationPanel().apply {
text("This language/file extensions is in the black list, will not be rainbowify")
text("Rainbowify is disabled because the language/file extension is in the black list")
icon(AllIcons.General.InspectionsEye)
createComponentActionLabel("got it, don't show again") {
@ -90,4 +90,4 @@ class RainbowifyBanner(private val project: Project) : EditorNotifications.Provi
})
}
}
}
}