mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-02 08:43:16 +00:00
GUI: Fix TR Units - Size and Time - more... (#1927)
* GUI: TR Units - Size and Time Added translation for these units: B, KB, MB, GB, TB h, m, s Added missing text: Games: - text in the lower left corner Compatibility... Update database View report Submit a report Fixed the size of the settings menu * Audio Backend * Fixed the size of the settings menu
This commit is contained in:
parent
f4c1d827d5
commit
abe85fd3e0
31 changed files with 1963 additions and 11 deletions
|
@ -133,16 +133,16 @@ void GameListFrame::PopulateGameList() {
|
|||
|
||||
QString formattedPlayTime;
|
||||
if (hours > 0) {
|
||||
formattedPlayTime += QString("%1h ").arg(hours);
|
||||
formattedPlayTime += QString("%1").arg(hours) + tr("h");
|
||||
}
|
||||
if (minutes > 0) {
|
||||
formattedPlayTime += QString("%1m ").arg(minutes);
|
||||
formattedPlayTime += QString("%1").arg(minutes) + tr("m");
|
||||
}
|
||||
|
||||
formattedPlayTime = formattedPlayTime.trimmed();
|
||||
m_game_info->m_games[i].play_time = playTime.toStdString();
|
||||
if (formattedPlayTime.isEmpty()) {
|
||||
SetTableItem(i, 8, QString("%1s").arg(seconds));
|
||||
SetTableItem(i, 8, QString("%1").arg(seconds) + tr("s"));
|
||||
} else {
|
||||
SetTableItem(i, 8, formattedPlayTime);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue