mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-89069
This commit is contained in:
+6
-2
@@ -52,10 +52,14 @@ public class KeyboardInternationalizationNotificationManager {
|
||||
|
||||
public static Notification createNotification(@NotNull final String groupDisplayId, @Nullable NotificationListener listener) {
|
||||
|
||||
final String productName = ApplicationNamesInfo.getInstance().getProductName();
|
||||
|
||||
Window recentFocusedWindow = WindowManagerEx.getInstanceEx().getMostRecentFocusedWindow();
|
||||
|
||||
if (recentFocusedWindow == null) {
|
||||
recentFocusedWindow = Window.getWindows()[0];
|
||||
}
|
||||
|
||||
final String productName = ApplicationNamesInfo.getInstance().getProductName();
|
||||
|
||||
String text =
|
||||
"<html>We have found out that you are using a non-english keyboard layout. You can <a href='enable'>enable</a> smart layout support for " +
|
||||
KeyboardSettingsExternalizable.getDisplayLanguageNameForComponent(recentFocusedWindow) + " language." +
|
||||
|
||||
Reference in New Issue
Block a user