mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Don't translate components of the version
When transmitting the Subsurface version string we always want to use the English terms, not the localized terms. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									9170fbc383
								
							
						
					
					
						commit
						6fdbf2069d
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -38,12 +38,12 @@ QString UserSurvey::getVersion()
 | 
			
		|||
	QString arch;
 | 
			
		||||
	// fill in the system data
 | 
			
		||||
	QString sysInfo = QString("Subsurface %1").arg(VERSION_STRING);
 | 
			
		||||
	sysInfo.append(tr("\nOperating System: %1").arg(SubsurfaceSysInfo::prettyOsName()));
 | 
			
		||||
	sysInfo.append(QString("\nOperating System: %1").arg(SubsurfaceSysInfo::prettyOsName()));
 | 
			
		||||
	arch = SubsurfaceSysInfo::cpuArchitecture();
 | 
			
		||||
	sysInfo.append(tr("\nCPU Architecture: %1").arg(arch));
 | 
			
		||||
	sysInfo.append(QString("\nCPU Architecture: %1").arg(arch));
 | 
			
		||||
	if (arch == "i386")
 | 
			
		||||
		sysInfo.append(tr("\nOS CPU Architecture: %1").arg(SubsurfaceSysInfo::osArch()));
 | 
			
		||||
	sysInfo.append(tr("\nLanguage: %1").arg(uiLanguage(NULL)));
 | 
			
		||||
		sysInfo.append(QString("\nOS CPU Architecture: %1").arg(SubsurfaceSysInfo::osArch()));
 | 
			
		||||
	sysInfo.append(QString("\nLanguage: %1").arg(uiLanguage(NULL)));
 | 
			
		||||
	return sysInfo;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue