Commit 0e9f7067 authored by Evan W. Patton's avatar Evan W. Patton

Fix help string translation in palette items

Change-Id: I467a9c61a243dc38cd9b311016cf12893b300b66
parent 2a681986
...@@ -54,7 +54,7 @@ public final class ComponentHelpWidget extends Image { ...@@ -54,7 +54,7 @@ public final class ComponentHelpWidget extends Image {
titleBar.setStyleName("ode-ComponentHelpPopup-TitleBar"); titleBar.setStyleName("ode-ComponentHelpPopup-TitleBar");
// Create content from help string. // Create content from help string.
String helpTextKey = scd.getExternal() ? scd.getHelpString() : scd.getName() + "-helpString"; String helpTextKey = scd.getExternal() ? scd.getHelpString() : scd.getName();
HTML helpText = new HTML(ComponentsTranslation.getComponentHelpString(helpTextKey)); HTML helpText = new HTML(ComponentsTranslation.getComponentHelpString(helpTextKey));
helpText.setStyleName("ode-ComponentHelpPopup-Body"); helpText.setStyleName("ode-ComponentHelpPopup-Body");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment