diff --git a/designer-base/src/main/java/com/fr/design/menu/MenuKeySet.java b/designer-base/src/main/java/com/fr/design/menu/MenuKeySet.java index 2fd08bab2c..66e95003b1 100644 --- a/designer-base/src/main/java/com/fr/design/menu/MenuKeySet.java +++ b/designer-base/src/main/java/com/fr/design/menu/MenuKeySet.java @@ -29,11 +29,11 @@ public abstract class MenuKeySet { public abstract String getMenuName(); public String getMenuKeySetName(){ - return BidiUtils.rtl() ? "(" +getMnemonic() + ")" + getMenuName() : getMenuName()+ "(" +getMnemonic() + ")"; + return BidiUtils.reverseConcatenateStrings(getMenuName()+ "(" +getMnemonic() + ")"); } public String getMenuKeySetNameWithDot(){ - return BidiUtils.rtl() ? "..." + getMenuKeySetName() : getMenuKeySetName() + "..."; + return BidiUtils.reverseConcatenateStrings(getMenuKeySetName() + "..."); } public abstract KeyStroke getKeyStroke();