mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	HTML: Fix exporting themes in multilingual environment
Don't compare to static english string, must translate first. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									9e92d27bd0
								
							
						
					
					
						commit
						043ab5b02c
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -129,8 +129,7 @@ void DiveLogExportDialog::exportHtmlInit(const QString &filename) | |||
| 	copy_and_overwrite(searchPath + "jqplot.canvasTextRenderer.min.js", exportFiles + "jqplot.canvasTextRenderer.min.js"); | ||||
| 	copy_and_overwrite(searchPath + "jquery.min.js", exportFiles + "jquery.min.js"); | ||||
| 	copy_and_overwrite(searchPath + "jquery.jqplot.css", exportFiles + "jquery.jqplot.css"); | ||||
| 	copy_and_overwrite(searchPath + (ui->themeSelection->currentText() == "Light" ? "light.css" : "sand.css"), | ||||
| 			   exportFiles + "theme.css"); | ||||
| 	copy_and_overwrite(searchPath + (ui->themeSelection->currentText() == tr("Light") ? "light.css" : "sand.css"), exportFiles + "theme.css"); | ||||
| } | ||||
| 
 | ||||
| void DiveLogExportDialog::exportHTMLsettings(const QString &filename) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue