mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +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
2bd019817c
commit
d2990aea6f
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…
Reference in a new issue