mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Don't warn about missing en-US translation for Qt
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									20254a43c0
								
							
						
					
					
						commit
						65f6db6e2c
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -52,7 +52,8 @@ void init_qt_late() | |||
| 	if (qtTranslator->load(loc, "qt", "_", translationLocation)) { | ||||
| 		application->installTranslator(qtTranslator); | ||||
| 	} else { | ||||
| 		qDebug() << "can't find Qt localization for locale" << uiLang << "searching in" << translationLocation; | ||||
| 		if (uiLang != "en_US" && uiLang != "en-US") | ||||
| 			qDebug() << "can't find Qt localization for locale" << uiLang << "searching in" << translationLocation; | ||||
| 	} | ||||
| 	ssrfTranslator = new QTranslator; | ||||
| 	if (ssrfTranslator->load(loc, "subsurface", "_") || | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue