mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-27 08:51:47 +00:00
Displays "Never Played" if the game has never been played (#1697)
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
* Displays "Never Played" if the game has never been played * Update nb.ts + pt_BR.ts
This commit is contained in:
parent
b8a443c728
commit
e36c4d5f75
|
@ -31,7 +31,7 @@ GameListFrame::GameListFrame(std::shared_ptr<GameInfoClass> game_info_get, QWidg
|
|||
this->setColumnWidth(4, 90); // Firmware
|
||||
this->setColumnWidth(5, 90); // Size
|
||||
this->setColumnWidth(6, 90); // Version
|
||||
this->setColumnWidth(7, 100); // Play Time
|
||||
this->setColumnWidth(7, 120); // Play Time
|
||||
QStringList headers;
|
||||
headers << tr("Icon") << tr("Name") << tr("Serial") << tr("Region") << tr("Firmware")
|
||||
<< tr("Size") << tr("Version") << tr("Play Time") << tr("Path");
|
||||
|
@ -105,7 +105,7 @@ void GameListFrame::PopulateGameList() {
|
|||
QString playTime = GetPlayTime(m_game_info->m_games[i].serial);
|
||||
if (playTime.isEmpty()) {
|
||||
m_game_info->m_games[i].play_time = "0:00:00";
|
||||
SetTableItem(i, 7, "0");
|
||||
SetTableItem(i, 7, tr("Never Played"));
|
||||
} else {
|
||||
QStringList timeParts = playTime.split(':');
|
||||
int hours = timeParts[0].toInt();
|
||||
|
|
|
@ -1359,6 +1359,11 @@
|
|||
<source>Play Time</source>
|
||||
<translation>وقت اللعب</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../game_list_frame.cpp" line="108"/>
|
||||
<source>Never Played</source>
|
||||
<translation>Never Played</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
|
|
|
@ -1359,6 +1359,11 @@
|
|||
<source>Play Time</source>
|
||||
<translation>Spilletid</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../game_list_frame.cpp" line="108"/>
|
||||
<source>Never Played</source>
|
||||
<translation>Never Played</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
|
|
|
@ -1359,6 +1359,11 @@
|
|||
<source>Play Time</source>
|
||||
<translation>Spielzeit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../game_list_frame.cpp" line="108"/>
|
||||
<source>Never Played</source>
|
||||
<translation>Never Played</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
|
|
|
@ -1359,6 +1359,11 @@
|
|||
<source>Play Time</source>
|
||||
<translation>Χρόνος παιχνιδιού</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../game_list_frame.cpp" line="108"/>
|
||||
<source>Never Played</source>
|
||||
<translation>Never Played</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
|
|
|
@ -1359,6 +1359,11 @@
|
|||
<source>Play Time</source>
|
||||
<translation>Play Time</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../game_list_frame.cpp" line="108"/>
|
||||
<source>Never Played</source>
|
||||
<translation>Never Played</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
|
|
|
@ -1359,6 +1359,11 @@
|
|||
<source>Play Time</source>
|
||||
<translation>Tiempo de Juego</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../game_list_frame.cpp" line="108"/>
|
||||
<source>Never Played</source>
|
||||
<translation>Never Played</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
|
|
|
@ -1359,6 +1359,11 @@
|
|||
<source>Play Time</source>
|
||||
<translation>زمان بازی</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../game_list_frame.cpp" line="108"/>
|
||||
<source>Never Played</source>
|
||||
<translation>Never Played</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
|
|
|
@ -1359,6 +1359,11 @@
|
|||
<source>Play Time</source>
|
||||
<translation>Peliaika</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../game_list_frame.cpp" line="108"/>
|
||||
<source>Never Played</source>
|
||||
<translation>Never Played</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
|
|
|
@ -1359,6 +1359,11 @@
|
|||
<source>Play Time</source>
|
||||
<translation>Temps de jeu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../game_list_frame.cpp" line="108"/>
|
||||
<source>Never Played</source>
|
||||
<translation>Jamais joué</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
|
|
|
@ -1359,6 +1359,11 @@
|
|||
<source>Play Time</source>
|
||||
<translation>Játékidő</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../game_list_frame.cpp" line="108"/>
|
||||
<source>Never Played</source>
|
||||
<translation>Never Played</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
|
|
|
@ -1359,6 +1359,11 @@
|
|||
<source>Play Time</source>
|
||||
<translation>Waktu Bermain</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../game_list_frame.cpp" line="108"/>
|
||||
<source>Never Played</source>
|
||||
<translation>Never Played</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
|
|
|
@ -1359,6 +1359,11 @@
|
|||
<source>Play Time</source>
|
||||
<translation>Tempo di Gioco</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../game_list_frame.cpp" line="108"/>
|
||||
<source>Never Played</source>
|
||||
<translation>Never Played</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
|
|
|
@ -1359,6 +1359,11 @@
|
|||
<source>Play Time</source>
|
||||
<translation>プレイ時間</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../game_list_frame.cpp" line="108"/>
|
||||
<source>Never Played</source>
|
||||
<translation>Never Played</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
|
|
|
@ -1359,6 +1359,11 @@
|
|||
<source>Play Time</source>
|
||||
<translation>Play Time</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../game_list_frame.cpp" line="108"/>
|
||||
<source>Never Played</source>
|
||||
<translation>Never Played</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
|
|
|
@ -1359,6 +1359,11 @@
|
|||
<source>Play Time</source>
|
||||
<translation>Žaidimo laikas</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../game_list_frame.cpp" line="108"/>
|
||||
<source>Never Played</source>
|
||||
<translation>Never Played</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
|
|
|
@ -1359,6 +1359,11 @@
|
|||
<source>Play Time</source>
|
||||
<translation>Spilletid</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../game_list_frame.cpp" line="108"/>
|
||||
<source>Never Played</source>
|
||||
<translation>Never Played</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
|
|
|
@ -1359,6 +1359,11 @@
|
|||
<source>Play Time</source>
|
||||
<translation>Speeltijd</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../game_list_frame.cpp" line="108"/>
|
||||
<source>Never Played</source>
|
||||
<translation>Never Played</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
|
|
|
@ -1359,6 +1359,11 @@
|
|||
<source>Play Time</source>
|
||||
<translation>Czas gry</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../game_list_frame.cpp" line="108"/>
|
||||
<source>Never Played</source>
|
||||
<translation>Never Played</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
|
|
|
@ -1359,6 +1359,11 @@
|
|||
<source>Play Time</source>
|
||||
<translation>Tempo Jogado</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../game_list_frame.cpp" line="108"/>
|
||||
<source>Never Played</source>
|
||||
<translation>Nunca jogado</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
|
|
|
@ -1359,6 +1359,11 @@
|
|||
<source>Play Time</source>
|
||||
<translation>Timp de Joacă</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../game_list_frame.cpp" line="108"/>
|
||||
<source>Never Played</source>
|
||||
<translation>Never Played</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
|
|
|
@ -1359,6 +1359,11 @@
|
|||
<source>Play Time</source>
|
||||
<translation>Времени в игре</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../game_list_frame.cpp" line="108"/>
|
||||
<source>Never Played</source>
|
||||
<translation>Never Played</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
|
|
|
@ -1359,6 +1359,11 @@
|
|||
<source>Play Time</source>
|
||||
<translation>Koha e luajtjes</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../game_list_frame.cpp" line="108"/>
|
||||
<source>Never Played</source>
|
||||
<translation>Never Played</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
|
|
|
@ -1359,6 +1359,11 @@
|
|||
<source>Play Time</source>
|
||||
<translation>Oynama Süresi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../game_list_frame.cpp" line="108"/>
|
||||
<source>Never Played</source>
|
||||
<translation>Never Played</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
|
|
|
@ -1359,6 +1359,11 @@
|
|||
<source>Play Time</source>
|
||||
<translation>Час у грі</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../game_list_frame.cpp" line="108"/>
|
||||
<source>Never Played</source>
|
||||
<translation>Never Played</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
|
|
|
@ -1359,6 +1359,11 @@
|
|||
<source>Play Time</source>
|
||||
<translation>Thời gian chơi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../game_list_frame.cpp" line="108"/>
|
||||
<source>Never Played</source>
|
||||
<translation>Never Played</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
|
|
|
@ -1359,6 +1359,11 @@
|
|||
<source>Play Time</source>
|
||||
<translation>游戏时间</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../game_list_frame.cpp" line="108"/>
|
||||
<source>Never Played</source>
|
||||
<translation>Never Played</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
|
|
|
@ -1359,6 +1359,11 @@
|
|||
<source>Play Time</source>
|
||||
<translation>遊玩時間</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../game_list_frame.cpp" line="108"/>
|
||||
<source>Never Played</source>
|
||||
<translation>Never Played</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CheckUpdate</name>
|
||||
|
|
Loading…
Reference in a new issue