Skip to content

Commit

Permalink
spelling, gets message from bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
vphilipnyc committed Jan 23, 2023
1 parent 633ac3e commit a6cb383
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import com.intellij.ui.jcef.JBCefBrowser;
import com.intellij.ui.jcef.JBCefCookie;
import com.intellij.ui.jcef.JBCefCookieManager;
import com.lilittlecat.chatgpt.message.ChatGPTBundle;
import com.lilittlecat.chatgpt.setting.ChatGPTSettingsState;
import org.apache.commons.lang3.StringUtils;
import org.apache.http.HttpEntity;
Expand Down Expand Up @@ -45,7 +46,7 @@ public ChatGPTToolWindow() {
super(true, false);
this.content = new JPanel(new BorderLayout());
if (!JBCefApp.isSupported()) {
this.content.add(new JLabel("Not supported. Please check your IDE version.", SwingConstants.CENTER));
this.content.add(new JLabel(ChatGPTBundle.message("jBCefApp.not.supported"), SwingConstants.CENTER));
return;
}
JBCefBrowser jbCefBrowser = new JBCefBrowser();
Expand Down

0 comments on commit a6cb383

Please sign in to comment.