mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-02 08:43:16 +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
28 changed files with 137 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue