proper translation
This commit is contained in:
parent
69b32f174c
commit
ec4fb81c4b
|
@ -77,13 +77,13 @@ static QString GetQStringShortTitleFromSMDH(const Loader::SMDH& smdh,
|
||||||
static QString GetRegionFromSMDH(const Loader::SMDH& smdh) {
|
static QString GetRegionFromSMDH(const Loader::SMDH& smdh) {
|
||||||
using GameRegion = Loader::SMDH::GameRegion;
|
using GameRegion = Loader::SMDH::GameRegion;
|
||||||
static const std::map<GameRegion, QString> regions_map = {
|
static const std::map<GameRegion, QString> regions_map = {
|
||||||
{GameRegion::Japan, QObject::tr("Japan")},
|
{GameRegion::Japan, QT_TR_NOOP("Japan")},
|
||||||
{GameRegion::NorthAmerica, QObject::tr("North America")},
|
{GameRegion::NorthAmerica, QT_TR_NOOP("North America")},
|
||||||
{GameRegion::Europe, QObject::tr("Europe")},
|
{GameRegion::Europe, QT_TR_NOOP("Europe")},
|
||||||
{GameRegion::Australia, QObject::tr("Australia")},
|
{GameRegion::Australia, QT_TR_NOOP("Australia")},
|
||||||
{GameRegion::China, QObject::tr("China")},
|
{GameRegion::China, QT_TR_NOOP("China")},
|
||||||
{GameRegion::Korea, QObject::tr("Korea")},
|
{GameRegion::Korea, QT_TR_NOOP("Korea")},
|
||||||
{GameRegion::Taiwan, QObject::tr("Taiwan")}};
|
{GameRegion::Taiwan, QT_TR_NOOP("Taiwan")}};
|
||||||
|
|
||||||
std::vector<GameRegion> regions = smdh.GetRegions();
|
std::vector<GameRegion> regions = smdh.GetRegions();
|
||||||
|
|
||||||
|
|
Reference in New Issue