mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-29 14:53:18 +00:00
qt: Add more options to the "Copy info..." section + update en.ts/de.ts (#2322)
* Update gui_context_menus.h * Update gui_context_menus.h * Update en.ts * Update de.ts * Update gui_context_menus.h * Update gui_context_menus.h * Update gui_context_menus.h * Update gui_context_menus.h * Update gui_context_menus.h * Update gui_context_menus.h * Update gui_context_menus.h * Update gui_context_menus.h * Update gui_context_menus.h * Update gui_context_menus.h * Update en.ts * Update de.ts * Update gui_context_menus.h (last one) * very small fix en.ts * remove empty line * merge https://github.com/shadps4-emu/shadPS4/pull/2316 Adds german translations to compatibility status
This commit is contained in:
parent
a55acae5ee
commit
83abaafdfa
3 changed files with 57 additions and 0 deletions
|
@ -77,10 +77,14 @@ public:
|
||||||
QMenu* copyMenu = new QMenu(tr("Copy info..."), widget);
|
QMenu* copyMenu = new QMenu(tr("Copy info..."), widget);
|
||||||
QAction* copyName = new QAction(tr("Copy Name"), widget);
|
QAction* copyName = new QAction(tr("Copy Name"), widget);
|
||||||
QAction* copySerial = new QAction(tr("Copy Serial"), widget);
|
QAction* copySerial = new QAction(tr("Copy Serial"), widget);
|
||||||
|
QAction* copyVersion = new QAction(tr("Copy Version"), widget);
|
||||||
|
QAction* copySize = new QAction(tr("Copy Size"), widget);
|
||||||
QAction* copyNameAll = new QAction(tr("Copy All"), widget);
|
QAction* copyNameAll = new QAction(tr("Copy All"), widget);
|
||||||
|
|
||||||
copyMenu->addAction(copyName);
|
copyMenu->addAction(copyName);
|
||||||
copyMenu->addAction(copySerial);
|
copyMenu->addAction(copySerial);
|
||||||
|
copyMenu->addAction(copyVersion);
|
||||||
|
copyMenu->addAction(copySize);
|
||||||
copyMenu->addAction(copyNameAll);
|
copyMenu->addAction(copyNameAll);
|
||||||
|
|
||||||
menu.addMenu(copyMenu);
|
menu.addMenu(copyMenu);
|
||||||
|
@ -346,6 +350,16 @@ public:
|
||||||
clipboard->setText(QString::fromStdString(m_games[itemID].serial));
|
clipboard->setText(QString::fromStdString(m_games[itemID].serial));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (selected == copyVersion) {
|
||||||
|
QClipboard* clipboard = QGuiApplication::clipboard();
|
||||||
|
clipboard->setText(QString::fromStdString(m_games[itemID].version));
|
||||||
|
}
|
||||||
|
|
||||||
|
if (selected == copySize) {
|
||||||
|
QClipboard* clipboard = QGuiApplication::clipboard();
|
||||||
|
clipboard->setText(QString::fromStdString(m_games[itemID].size));
|
||||||
|
}
|
||||||
|
|
||||||
if (selected == copyNameAll) {
|
if (selected == copyNameAll) {
|
||||||
QClipboard* clipboard = QGuiApplication::clipboard();
|
QClipboard* clipboard = QGuiApplication::clipboard();
|
||||||
QString combinedText = QString("Name:%1 | Serial:%2 | Version:%3 | Size:%4")
|
QString combinedText = QString("Name:%1 | Serial:%2 | Version:%3 | Size:%4")
|
||||||
|
|
|
@ -128,6 +128,14 @@
|
||||||
<source>Copy Serial</source>
|
<source>Copy Serial</source>
|
||||||
<translation>Seriennummer kopieren</translation>
|
<translation>Seriennummer kopieren</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Copy Version</source>
|
||||||
|
<translation>Version kopieren</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Copy Size</source>
|
||||||
|
<translation>Größe kopieren</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Copy All</source>
|
<source>Copy All</source>
|
||||||
<translation>Alles kopieren</translation>
|
<translation>Alles kopieren</translation>
|
||||||
|
@ -1421,4 +1429,31 @@
|
||||||
<translation>TB</translation>
|
<translation>TB</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>CompatibilityInfoClass</name>
|
||||||
|
<message>
|
||||||
|
<source>Unknown</source>
|
||||||
|
<translation>Unbekannt</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Nothing</source>
|
||||||
|
<translation>Nichts</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Boots</source>
|
||||||
|
<translation>Startet</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Menus</source>
|
||||||
|
<translation>Menüs</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Ingame</source>
|
||||||
|
<translation>ImSpiel</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Playable</source>
|
||||||
|
<translation>Spielbar</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
</TS>
|
</TS>
|
||||||
|
|
|
@ -124,6 +124,14 @@
|
||||||
<source>Copy Serial</source>
|
<source>Copy Serial</source>
|
||||||
<translation>Copy Serial</translation>
|
<translation>Copy Serial</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Copy Version</source>
|
||||||
|
<translation>Copy Version</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Copy Size</source>
|
||||||
|
<translation>Copy Size</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Copy All</source>
|
<source>Copy All</source>
|
||||||
<translation>Copy All</translation>
|
<translation>Copy All</translation>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue