mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 00:13:08 +00:00
useEuropeanDateFormat
en_US, zh_CN, zh_TW, ja_JP, ko_KR, lt_LT, nb_NO, nl_NL useEuropeanDateFormat = false
This commit is contained in:
parent
9864547b43
commit
83c1da20b6
@ -16,8 +16,7 @@ namespace fs = std::filesystem;
|
|||||||
CMRC_DECLARE(res);
|
CMRC_DECLARE(res);
|
||||||
|
|
||||||
// true: European format; false: American format
|
// true: European format; false: American format
|
||||||
bool useEuropeanDateFormat = false;
|
bool useEuropeanDateFormat = true;
|
||||||
// TODO : Use the interface language to set this value
|
|
||||||
|
|
||||||
void TrophyViewer::updateTrophyInfo() {
|
void TrophyViewer::updateTrophyInfo() {
|
||||||
int total = 0;
|
int total = 0;
|
||||||
@ -108,6 +107,13 @@ TrophyViewer::TrophyViewer(QString trophyPath, QString gameTrpPath) : QMainWindo
|
|||||||
this->setWindowTitle(tr("Trophy Viewer"));
|
this->setWindowTitle(tr("Trophy Viewer"));
|
||||||
this->setAttribute(Qt::WA_DeleteOnClose);
|
this->setAttribute(Qt::WA_DeleteOnClose);
|
||||||
tabWidget = new QTabWidget(this);
|
tabWidget = new QTabWidget(this);
|
||||||
|
|
||||||
|
auto lan = Config::getEmulatorLanguage();
|
||||||
|
if (lan == "en_US" || lan == "zh_CN" || lan == "zh_TW" || lan == "ja_JP" || lan == "ko_KR" ||
|
||||||
|
lan == "lt_LT" || lan == "nb_NO" || lan == "nl_NL") {
|
||||||
|
useEuropeanDateFormat = false;
|
||||||
|
}
|
||||||
|
|
||||||
gameTrpPath_ = gameTrpPath;
|
gameTrpPath_ = gameTrpPath;
|
||||||
headers << "Unlocked"
|
headers << "Unlocked"
|
||||||
<< "Trophy"
|
<< "Trophy"
|
||||||
|
Loading…
Reference in New Issue
Block a user