mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-25 12:55:00 +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
|
@ -30,10 +30,11 @@ struct GameInfo {
|
|||
CompatibilityEntry compatibility = CompatibilityEntry{CompatibilityStatus::Unknown};
|
||||
};
|
||||
|
||||
class GameListUtils {
|
||||
class GameListUtils : public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
static QString FormatSize(qint64 size) {
|
||||
static const QStringList suffixes = {"B", "KB", "MB", "GB", "TB"};
|
||||
static const QStringList suffixes = {tr("B"), tr("KB"), tr("MB"), tr("GB"), tr("TB")};
|
||||
int suffixIndex = 0;
|
||||
|
||||
double gameSize = static_cast<double>(size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue