mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	proper translation part2
This commit is contained in:
		
							parent
							
								
									ec4fb81c4b
								
							
						
					
					
						commit
						e454f4c05b
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -76,7 +76,7 @@ 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, const char*> regions_map = { | ||||||
|         {GameRegion::Japan, QT_TR_NOOP("Japan")}, |         {GameRegion::Japan, QT_TR_NOOP("Japan")}, | ||||||
|         {GameRegion::NorthAmerica, QT_TR_NOOP("North America")}, |         {GameRegion::NorthAmerica, QT_TR_NOOP("North America")}, | ||||||
|         {GameRegion::Europe, QT_TR_NOOP("Europe")}, |         {GameRegion::Europe, QT_TR_NOOP("Europe")}, | ||||||
|  | @ -95,9 +95,9 @@ static QString GetRegionFromSMDH(const Loader::SMDH& smdh) { | ||||||
|         return QObject::tr("Region free"); |         return QObject::tr("Region free"); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     QString result = regions_map.at(regions.front()); |     QString result = QObject::tr(regions_map.at(regions.front())); | ||||||
|     for (auto region = ++regions.begin(); region != regions.end(); ++region) { |     for (auto region = ++regions.begin(); region != regions.end(); ++region) { | ||||||
|         result += "\n" + regions_map.at(*region); |         result += QStringLiteral("\n") + QObject::tr(regions_map.at(*region)); | ||||||
|     } |     } | ||||||
|     return result; |     return result; | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue