mirror of
https://github.com/citra-emu/citra-nightly.git
synced 2024-12-23 13:55:37 +00:00
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) {
|
||||
using GameRegion = Loader::SMDH::GameRegion;
|
||||
static const std::map<GameRegion, QString> regions_map = {
|
||||
{GameRegion::Japan, QObject::tr("Japan")},
|
||||
{GameRegion::NorthAmerica, QObject::tr("North America")},
|
||||
{GameRegion::Europe, QObject::tr("Europe")},
|
||||
{GameRegion::Australia, QObject::tr("Australia")},
|
||||
{GameRegion::China, QObject::tr("China")},
|
||||
{GameRegion::Korea, QObject::tr("Korea")},
|
||||
{GameRegion::Taiwan, QObject::tr("Taiwan")}};
|
||||
{GameRegion::Japan, QT_TR_NOOP("Japan")},
|
||||
{GameRegion::NorthAmerica, QT_TR_NOOP("North America")},
|
||||
{GameRegion::Europe, QT_TR_NOOP("Europe")},
|
||||
{GameRegion::Australia, QT_TR_NOOP("Australia")},
|
||||
{GameRegion::China, QT_TR_NOOP("China")},
|
||||
{GameRegion::Korea, QT_TR_NOOP("Korea")},
|
||||
{GameRegion::Taiwan, QT_TR_NOOP("Taiwan")}};
|
||||
|
||||
std::vector<GameRegion> regions = smdh.GetRegions();
|
||||
|
||||
|
|
Loading…
Reference in a new issue