mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Make Subsurface with a British accent work
Our workaround for the lack of a US-English translation breaks en-GB. With this the British version of Subsurface should work as well. Reported-by: Tim Wootton <tim@tee-jay.demon.co.uk> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									1739b4879a
								
							
						
					
					
						commit
						084c2c04db
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -121,7 +121,7 @@ void init_ui(void) | |||
| 	// we don't have translations for English - if we don't check for this
 | ||||
| 	// Qt will proceed to load the second language in preference order - not what we want
 | ||||
| 	// on Linux this tends to be en-US, but on the Mac it's just en
 | ||||
| 	if (!uiLang.startsWith("en")) { | ||||
| 	if (!uiLang.startsWith("en") || uiLang.startsWith("en-GB")) { | ||||
| 		qtTranslator = new QTranslator; | ||||
| 		if (qtTranslator->load(loc, "qt", "_", QLibraryInfo::location(QLibraryInfo::TranslationsPath))) { | ||||
| 			application->installTranslator(qtTranslator); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue