File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/kotlin/com/emberjs/hbs/linter/ember-template-lint Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import com.intellij.javascript.nodejs.PackageJsonData
2- import com.intellij.lang.javascript.JSBundle
2+ import com.intellij.lang.javascript.JavaScriptBundle
33import com.intellij.lang.javascript.linter.JSLinterGuesser
44import com.intellij.lang.javascript.linter.JSLinterUtil
55import com.intellij.notification.Notification
@@ -62,15 +62,15 @@ class TemplateLintEnabler : DirectoryProjectConfigurator {
6262 }
6363
6464 fun notifyEnabled (project : Project , dependency : String ) {
65- val message = JSBundle .message(" js.linter.guesser.linter.enabled.because.of.package.json.section" ,
65+ val message = JavaScriptBundle .message(" js.linter.guesser.linter.enabled.because.of.package.json.section" ,
6666 " TemplateLint" ,
6767 dependency)
6868
6969 JSLinterUtil .NOTIFICATION_GROUP .createNotification(message, MessageType .INFO ).addAction(object : NotificationAction (" Disable TemplateLint" ) {
7070 override fun actionPerformed (e : AnActionEvent , notification : Notification ) {
7171 JSLinterGuesser .LOG .info(" TemplateLint disabled by user" )
7272 templateLintEnabled(project, false )
73- JSLinterUtil .NOTIFICATION_GROUP .createNotification(JSBundle .message(" js.linter.guesser.linter.disabled" , " TemplateLint" ), MessageType .INFO ).notify(project)
73+ JSLinterUtil .NOTIFICATION_GROUP .createNotification(JavaScriptBundle .message(" js.linter.guesser.linter.disabled" , " TemplateLint" ), MessageType .INFO ).notify(project)
7474 }
7575 }).notify(project)
7676 }
You can’t perform that action at this time.
0 commit comments