mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-30 18:18:32 +00:00
Displays "Never Played" if the game has never been played (#1697)
* 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(4, 90); // Firmware
|
||||||
this->setColumnWidth(5, 90); // Size
|
this->setColumnWidth(5, 90); // Size
|
||||||
this->setColumnWidth(6, 90); // Version
|
this->setColumnWidth(6, 90); // Version
|
||||||
this->setColumnWidth(7, 100); // Play Time
|
this->setColumnWidth(7, 120); // Play Time
|
||||||
QStringList headers;
|
QStringList headers;
|
||||||
headers << tr("Icon") << tr("Name") << tr("Serial") << tr("Region") << tr("Firmware")
|
headers << tr("Icon") << tr("Name") << tr("Serial") << tr("Region") << tr("Firmware")
|
||||||
<< tr("Size") << tr("Version") << tr("Play Time") << tr("Path");
|
<< 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);
|
QString playTime = GetPlayTime(m_game_info->m_games[i].serial);
|
||||||
if (playTime.isEmpty()) {
|
if (playTime.isEmpty()) {
|
||||||
m_game_info->m_games[i].play_time = "0:00:00";
|
m_game_info->m_games[i].play_time = "0:00:00";
|
||||||
SetTableItem(i, 7, "0");
|
SetTableItem(i, 7, tr("Never Played"));
|
||||||
} else {
|
} else {
|
||||||
QStringList timeParts = playTime.split(':');
|
QStringList timeParts = playTime.split(':');
|
||||||
int hours = timeParts[0].toInt();
|
int hours = timeParts[0].toInt();
|
||||||
|
|
|
@ -1359,6 +1359,11 @@
|
||||||
<source>Play Time</source>
|
<source>Play Time</source>
|
||||||
<translation>وقت اللعب</translation>
|
<translation>وقت اللعب</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../game_list_frame.cpp" line="108"/>
|
||||||
|
<source>Never Played</source>
|
||||||
|
<translation>Never Played</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CheckUpdate</name>
|
<name>CheckUpdate</name>
|
||||||
|
|
|
@ -1359,6 +1359,11 @@
|
||||||
<source>Play Time</source>
|
<source>Play Time</source>
|
||||||
<translation>Spilletid</translation>
|
<translation>Spilletid</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../game_list_frame.cpp" line="108"/>
|
||||||
|
<source>Never Played</source>
|
||||||
|
<translation>Never Played</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CheckUpdate</name>
|
<name>CheckUpdate</name>
|
||||||
|
|
|
@ -1359,6 +1359,11 @@
|
||||||
<source>Play Time</source>
|
<source>Play Time</source>
|
||||||
<translation>Spielzeit</translation>
|
<translation>Spielzeit</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../game_list_frame.cpp" line="108"/>
|
||||||
|
<source>Never Played</source>
|
||||||
|
<translation>Never Played</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CheckUpdate</name>
|
<name>CheckUpdate</name>
|
||||||
|
|
|
@ -1359,6 +1359,11 @@
|
||||||
<source>Play Time</source>
|
<source>Play Time</source>
|
||||||
<translation>Χρόνος παιχνιδιού</translation>
|
<translation>Χρόνος παιχνιδιού</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../game_list_frame.cpp" line="108"/>
|
||||||
|
<source>Never Played</source>
|
||||||
|
<translation>Never Played</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CheckUpdate</name>
|
<name>CheckUpdate</name>
|
||||||
|
|
|
@ -1359,6 +1359,11 @@
|
||||||
<source>Play Time</source>
|
<source>Play Time</source>
|
||||||
<translation>Play Time</translation>
|
<translation>Play Time</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../game_list_frame.cpp" line="108"/>
|
||||||
|
<source>Never Played</source>
|
||||||
|
<translation>Never Played</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CheckUpdate</name>
|
<name>CheckUpdate</name>
|
||||||
|
|
|
@ -1359,6 +1359,11 @@
|
||||||
<source>Play Time</source>
|
<source>Play Time</source>
|
||||||
<translation>Tiempo de Juego</translation>
|
<translation>Tiempo de Juego</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../game_list_frame.cpp" line="108"/>
|
||||||
|
<source>Never Played</source>
|
||||||
|
<translation>Never Played</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CheckUpdate</name>
|
<name>CheckUpdate</name>
|
||||||
|
|
|
@ -1359,6 +1359,11 @@
|
||||||
<source>Play Time</source>
|
<source>Play Time</source>
|
||||||
<translation>زمان بازی</translation>
|
<translation>زمان بازی</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../game_list_frame.cpp" line="108"/>
|
||||||
|
<source>Never Played</source>
|
||||||
|
<translation>Never Played</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CheckUpdate</name>
|
<name>CheckUpdate</name>
|
||||||
|
|
|
@ -1359,6 +1359,11 @@
|
||||||
<source>Play Time</source>
|
<source>Play Time</source>
|
||||||
<translation>Peliaika</translation>
|
<translation>Peliaika</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../game_list_frame.cpp" line="108"/>
|
||||||
|
<source>Never Played</source>
|
||||||
|
<translation>Never Played</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CheckUpdate</name>
|
<name>CheckUpdate</name>
|
||||||
|
|
|
@ -1359,6 +1359,11 @@
|
||||||
<source>Play Time</source>
|
<source>Play Time</source>
|
||||||
<translation>Temps de jeu</translation>
|
<translation>Temps de jeu</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../game_list_frame.cpp" line="108"/>
|
||||||
|
<source>Never Played</source>
|
||||||
|
<translation>Jamais joué</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CheckUpdate</name>
|
<name>CheckUpdate</name>
|
||||||
|
|
|
@ -1359,6 +1359,11 @@
|
||||||
<source>Play Time</source>
|
<source>Play Time</source>
|
||||||
<translation>Játékidő</translation>
|
<translation>Játékidő</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../game_list_frame.cpp" line="108"/>
|
||||||
|
<source>Never Played</source>
|
||||||
|
<translation>Never Played</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CheckUpdate</name>
|
<name>CheckUpdate</name>
|
||||||
|
|
|
@ -1359,6 +1359,11 @@
|
||||||
<source>Play Time</source>
|
<source>Play Time</source>
|
||||||
<translation>Waktu Bermain</translation>
|
<translation>Waktu Bermain</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../game_list_frame.cpp" line="108"/>
|
||||||
|
<source>Never Played</source>
|
||||||
|
<translation>Never Played</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CheckUpdate</name>
|
<name>CheckUpdate</name>
|
||||||
|
|
|
@ -1359,6 +1359,11 @@
|
||||||
<source>Play Time</source>
|
<source>Play Time</source>
|
||||||
<translation>Tempo di Gioco</translation>
|
<translation>Tempo di Gioco</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../game_list_frame.cpp" line="108"/>
|
||||||
|
<source>Never Played</source>
|
||||||
|
<translation>Never Played</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CheckUpdate</name>
|
<name>CheckUpdate</name>
|
||||||
|
|
|
@ -1359,6 +1359,11 @@
|
||||||
<source>Play Time</source>
|
<source>Play Time</source>
|
||||||
<translation>プレイ時間</translation>
|
<translation>プレイ時間</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../game_list_frame.cpp" line="108"/>
|
||||||
|
<source>Never Played</source>
|
||||||
|
<translation>Never Played</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CheckUpdate</name>
|
<name>CheckUpdate</name>
|
||||||
|
|
|
@ -1359,6 +1359,11 @@
|
||||||
<source>Play Time</source>
|
<source>Play Time</source>
|
||||||
<translation>Play Time</translation>
|
<translation>Play Time</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../game_list_frame.cpp" line="108"/>
|
||||||
|
<source>Never Played</source>
|
||||||
|
<translation>Never Played</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CheckUpdate</name>
|
<name>CheckUpdate</name>
|
||||||
|
|
|
@ -1359,6 +1359,11 @@
|
||||||
<source>Play Time</source>
|
<source>Play Time</source>
|
||||||
<translation>Žaidimo laikas</translation>
|
<translation>Žaidimo laikas</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../game_list_frame.cpp" line="108"/>
|
||||||
|
<source>Never Played</source>
|
||||||
|
<translation>Never Played</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CheckUpdate</name>
|
<name>CheckUpdate</name>
|
||||||
|
|
|
@ -1359,6 +1359,11 @@
|
||||||
<source>Play Time</source>
|
<source>Play Time</source>
|
||||||
<translation>Spilletid</translation>
|
<translation>Spilletid</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../game_list_frame.cpp" line="108"/>
|
||||||
|
<source>Never Played</source>
|
||||||
|
<translation>Never Played</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CheckUpdate</name>
|
<name>CheckUpdate</name>
|
||||||
|
|
|
@ -1359,6 +1359,11 @@
|
||||||
<source>Play Time</source>
|
<source>Play Time</source>
|
||||||
<translation>Speeltijd</translation>
|
<translation>Speeltijd</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../game_list_frame.cpp" line="108"/>
|
||||||
|
<source>Never Played</source>
|
||||||
|
<translation>Never Played</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CheckUpdate</name>
|
<name>CheckUpdate</name>
|
||||||
|
|
|
@ -1359,6 +1359,11 @@
|
||||||
<source>Play Time</source>
|
<source>Play Time</source>
|
||||||
<translation>Czas gry</translation>
|
<translation>Czas gry</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../game_list_frame.cpp" line="108"/>
|
||||||
|
<source>Never Played</source>
|
||||||
|
<translation>Never Played</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CheckUpdate</name>
|
<name>CheckUpdate</name>
|
||||||
|
|
|
@ -1359,6 +1359,11 @@
|
||||||
<source>Play Time</source>
|
<source>Play Time</source>
|
||||||
<translation>Tempo Jogado</translation>
|
<translation>Tempo Jogado</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../game_list_frame.cpp" line="108"/>
|
||||||
|
<source>Never Played</source>
|
||||||
|
<translation>Nunca jogado</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CheckUpdate</name>
|
<name>CheckUpdate</name>
|
||||||
|
|
|
@ -1359,6 +1359,11 @@
|
||||||
<source>Play Time</source>
|
<source>Play Time</source>
|
||||||
<translation>Timp de Joacă</translation>
|
<translation>Timp de Joacă</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../game_list_frame.cpp" line="108"/>
|
||||||
|
<source>Never Played</source>
|
||||||
|
<translation>Never Played</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CheckUpdate</name>
|
<name>CheckUpdate</name>
|
||||||
|
|
|
@ -1359,6 +1359,11 @@
|
||||||
<source>Play Time</source>
|
<source>Play Time</source>
|
||||||
<translation>Времени в игре</translation>
|
<translation>Времени в игре</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../game_list_frame.cpp" line="108"/>
|
||||||
|
<source>Never Played</source>
|
||||||
|
<translation>Never Played</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CheckUpdate</name>
|
<name>CheckUpdate</name>
|
||||||
|
|
|
@ -1359,6 +1359,11 @@
|
||||||
<source>Play Time</source>
|
<source>Play Time</source>
|
||||||
<translation>Koha e luajtjes</translation>
|
<translation>Koha e luajtjes</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../game_list_frame.cpp" line="108"/>
|
||||||
|
<source>Never Played</source>
|
||||||
|
<translation>Never Played</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CheckUpdate</name>
|
<name>CheckUpdate</name>
|
||||||
|
|
|
@ -1359,6 +1359,11 @@
|
||||||
<source>Play Time</source>
|
<source>Play Time</source>
|
||||||
<translation>Oynama Süresi</translation>
|
<translation>Oynama Süresi</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../game_list_frame.cpp" line="108"/>
|
||||||
|
<source>Never Played</source>
|
||||||
|
<translation>Never Played</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CheckUpdate</name>
|
<name>CheckUpdate</name>
|
||||||
|
|
|
@ -1359,6 +1359,11 @@
|
||||||
<source>Play Time</source>
|
<source>Play Time</source>
|
||||||
<translation>Час у грі</translation>
|
<translation>Час у грі</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../game_list_frame.cpp" line="108"/>
|
||||||
|
<source>Never Played</source>
|
||||||
|
<translation>Never Played</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CheckUpdate</name>
|
<name>CheckUpdate</name>
|
||||||
|
|
|
@ -1359,6 +1359,11 @@
|
||||||
<source>Play Time</source>
|
<source>Play Time</source>
|
||||||
<translation>Thời gian chơi</translation>
|
<translation>Thời gian chơi</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../game_list_frame.cpp" line="108"/>
|
||||||
|
<source>Never Played</source>
|
||||||
|
<translation>Never Played</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CheckUpdate</name>
|
<name>CheckUpdate</name>
|
||||||
|
|
|
@ -1359,6 +1359,11 @@
|
||||||
<source>Play Time</source>
|
<source>Play Time</source>
|
||||||
<translation>游戏时间</translation>
|
<translation>游戏时间</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../game_list_frame.cpp" line="108"/>
|
||||||
|
<source>Never Played</source>
|
||||||
|
<translation>Never Played</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CheckUpdate</name>
|
<name>CheckUpdate</name>
|
||||||
|
|
|
@ -1359,6 +1359,11 @@
|
||||||
<source>Play Time</source>
|
<source>Play Time</source>
|
||||||
<translation>遊玩時間</translation>
|
<translation>遊玩時間</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../game_list_frame.cpp" line="108"/>
|
||||||
|
<source>Never Played</source>
|
||||||
|
<translation>Never Played</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CheckUpdate</name>
|
<name>CheckUpdate</name>
|
||||||
|
|
Loading…
Reference in a new issue