Closed SEVA77 closed 2 years ago
Pay attention to the problem in the main menu. You forgot to add LS() function.
By the way, try to change the width value by 100% for the menuItemWithShortcut.
MenuItem menuItemWithShortcut(String icon, String text, String shortcut, MyCommand cmd) {
final String edithtml="<div style=\"white-space:nowrap\"><div style=\"display:inline-block;width:100%;\"><i class=\"cirjsicon-";
String nbsp = " ";
if (icon=="") nbsp="";
String sn=edithtml + icon + "\"></i>" + nbsp + text + "</div>" + shortcut + "</div>";
return new MenuItem(SafeHtmlUtils.fromTrustedString(sn), cmd);
}
Yes I saw that. I'll fix it.
what are you saying about the width value?
Width in 'div' block. Change 110px to 100%.
This will move shortcuts to the right edge.
I have updated the locale_ru.txt on my site. I will do a proper merge and update of my fork later. Спасибо!