diff options
author | Sergey Starosek <sergey.starosek@gmail.com> | 2013-12-07 14:11:54 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-12-07 07:25:19 -0800 |
commit | bf88efae082eaf960a0a7f84a5afd3752b1428cb (patch) | |
tree | 8d74257cb6aefba297670c0c9d6ac2310a62e4a1 /qt-ui | |
parent | 939aafa73fa149dcc3628fa3c4d953bdd28a79d3 (diff) | |
download | subsurface-bf88efae082eaf960a0a7f84a5afd3752b1428cb.tar.gz |
Fix profile legend strings
Use proper case and subscripts for gas names on profile legend.
Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/profilegraphics.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qt-ui/profilegraphics.cpp b/qt-ui/profilegraphics.cpp index a1085ab76..176225aa8 100644 --- a/qt-ui/profilegraphics.cpp +++ b/qt-ui/profilegraphics.cpp @@ -613,7 +613,7 @@ void ProfileGraphicsView::plot_pp_gas_profile() else from = QPointF(SCALEGC(entry->sec, entry->pn2)); } - createPPLegend(tr("Pn2"),getColor(PN2), legendPos); + createPPLegend(trUtf8("pN" UTF8_SUBSCRIPT_2),getColor(PN2), legendPos); } if (prefs.pp_graphs.phe) { @@ -639,7 +639,7 @@ void ProfileGraphicsView::plot_pp_gas_profile() else from = QPointF(SCALEGC(entry->sec, entry->phe)); } - createPPLegend(tr("PHE"),getColor(PHE), legendPos); + createPPLegend(trUtf8("pHe"),getColor(PHE), legendPos); } if (prefs.pp_graphs.po2) { c = getColor(PO2); @@ -663,7 +663,7 @@ void ProfileGraphicsView::plot_pp_gas_profile() else from = QPointF(SCALEGC(entry->sec, entry->po2)); } - createPPLegend(tr("PO2"),getColor(PO2), legendPos); + createPPLegend(trUtf8("pO" UTF8_SUBSCRIPT_2),getColor(PO2), legendPos); } } |