From c71bc92978fa50a2b42df56cdffa71640de0103c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Wed, 4 Nov 2020 14:34:59 +0100 Subject: [PATCH] tool_windows.md: localization (IJSDK-920) --- user_interface_components/tool_windows.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/user_interface_components/tool_windows.md b/user_interface_components/tool_windows.md index 5a8410ff4..2e62df0fe 100644 --- a/user_interface_components/tool_windows.md +++ b/user_interface_components/tool_windows.md @@ -41,7 +41,9 @@ If the tool window of a plugin doesn't need to be displayed for all projects: See [Creation of Plugin](#creation-of-plugin) for more information. Note the condition is evaluated only once when the project is loaded; to show and hide a tool window dynamically while the user is working with the project use the second method for tool window registration. - + +To provide a localized text for the tool window button, specify matching `toolwindow.stripe.[id]` message key (escape spaces with `_`) in your [message bundle](/reference_guide/localization_guide.md) (code insight supported in 2020.3 and later). + ### Programmatic Setup The second method involves simply calling [`ToolWindowManager.registerToolWindow()`](upsource:///platform/platform-api/src/com/intellij/openapi/wm/ToolWindowManager.kt) from the plugin code.