1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

Added translators comments for "up" and "down"

This commit is contained in:
Martin Tůma 2022-07-03 20:47:28 +02:00
parent f370642c81
commit 99365c3ac8

View File

@ -55,8 +55,12 @@ void ElevationGraph::setInfo()
QLocale l(QLocale::system()); QLocale l(QLocale::system());
#ifdef Q_OS_ANDROID #ifdef Q_OS_ANDROID
/*: Use an Unicode arrow (U+2B08) when there is no abbreviation or
extremly short term for "Up" in your language */
GraphView::addInfo(tr("Up"), l.toString(ascent() * yScale(), 'f', 0) GraphView::addInfo(tr("Up"), l.toString(ascent() * yScale(), 'f', 0)
+ UNIT_SPACE + yUnits()); + UNIT_SPACE + yUnits());
/*: Use an Unicode arrow (U+2B0A) when there is no abbreviation or
extremly short term for "Down" in your language */
GraphView::addInfo(tr("Down"), l.toString(descent() * yScale(), 'f', 0) GraphView::addInfo(tr("Down"), l.toString(descent() * yScale(), 'f', 0)
+ UNIT_SPACE + yUnits()); + UNIT_SPACE + yUnits());
GraphView::addInfo(tr("Max"), l.toString(max() * yScale(), 'f', 0) GraphView::addInfo(tr("Max"), l.toString(max() * yScale(), 'f', 0)