Frontend: Make "missing key name" warning more generic
authorWuzzy <Wuzzy2@mail.ru>
Mon, 29 Apr 2019 21:45:51 +0200
changeset 14855 63b469639c64
parent 14854 24df603fbcd2
child 14856 058e204908a6
Frontend: Make "missing key name" warning more generic
QTfrontend/util/DataManager.cpp
--- a/QTfrontend/util/DataManager.cpp	Mon Apr 29 21:24:42 2019 +0200
+++ b/QTfrontend/util/DataManager.cpp	Mon Apr 29 21:45:51 2019 +0200
@@ -175,8 +175,9 @@
             bool kbFallback = keyDisplay.trimmed().isEmpty();
             if (kbFallback)
             {
-                // If SDL doesn't know a name, show fallback enclosed in brackets
-                keyDisplay = QString(sdlkeys[j][1]) + QString(" ") + HWApplication::translate("binds (keys)", "(unsupported)");
+                // If SDL doesn't know a name, show fallback name and a warning
+		//: Name of QWERTY US keyboard layout
+                keyDisplay = QString(sdlkeys[j][1]) + QString(" ") + HWApplication::translate("binds (keys)", "(QWERTY)");
             }
             if (isKeyboard)
             {