diff options
-rw-r--r-- | gui/lang/nl_NL.ts | 4 | ||||
-rw-r--r-- | gui/lang/ru_RU.ts | 4 | ||||
-rw-r--r-- | gui/lang/stub.ts | 4 | ||||
-rw-r--r-- | gui/lang/zh_CN.ts | 4 | ||||
-rw-r--r-- | gui/options-dialog.cpp | 5 |
5 files changed, 20 insertions, 1 deletions
diff --git a/gui/lang/nl_NL.ts b/gui/lang/nl_NL.ts index 7dc8d899..95066985 100644 --- a/gui/lang/nl_NL.ts +++ b/gui/lang/nl_NL.ts @@ -396,6 +396,10 @@ Press "clear calibration" to remove any calibration data pertaining to <source>Filter</source> <translation type="unfinished"></translation> </message> + <message> + <source>Mouse %1</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>process_detector</name> diff --git a/gui/lang/ru_RU.ts b/gui/lang/ru_RU.ts index a8cc6040..aad93005 100644 --- a/gui/lang/ru_RU.ts +++ b/gui/lang/ru_RU.ts @@ -399,6 +399,10 @@ Press "clear calibration" to remove any calibration data pertaining to <source>Filter</source> <translation type="unfinished"></translation> </message> + <message> + <source>Mouse %1</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>process_detector</name> diff --git a/gui/lang/stub.ts b/gui/lang/stub.ts index 6baac339..c502d162 100644 --- a/gui/lang/stub.ts +++ b/gui/lang/stub.ts @@ -396,6 +396,10 @@ Press "clear calibration" to remove any calibration data pertaining to <source>Filter</source> <translation type="unfinished"></translation> </message> + <message> + <source>Mouse %1</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>process_detector</name> diff --git a/gui/lang/zh_CN.ts b/gui/lang/zh_CN.ts index 8c887e06..d4eeda75 100644 --- a/gui/lang/zh_CN.ts +++ b/gui/lang/zh_CN.ts @@ -397,6 +397,10 @@ Press "clear calibration" to remove any calibration data pertaining to <source>Filter</source> <translation>过滤器</translation> </message> + <message> + <source>Mouse %1</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>process_detector</name> diff --git a/gui/options-dialog.cpp b/gui/options-dialog.cpp index d121a0bd..d1769ea8 100644 --- a/gui/options-dialog.cpp +++ b/gui/options-dialog.cpp @@ -30,7 +30,10 @@ QString options_dialog::kopts_to_string(const key_opts& kopts) if (mods & Qt::ControlModifier) mm += "Control+"; if (mods & Qt::AltModifier) mm += "Alt+"; if (mods & Qt::ShiftModifier) mm += "Shift+"; - return mm + tr("Joy button %1").arg(QString::number(btn)); + const auto& str = kopts.guid == QStringLiteral("mouse") + ? tr("Mouse %1") + : tr("Joy button %1"); + return mm + str.arg(QString::number(btn)); } if (kopts.keycode->isEmpty()) return tr("None"); |