From f72ec5e29bbf36f5346dd7c0a56972e916c4efa1 Mon Sep 17 00:00:00 2001 From: Tim Wootton Date: Tue, 25 Nov 2014 15:47:23 +0000 Subject: Consistent representation of O₂ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tim Wootton Signed-off-by: Dirk Hohndel --- libdivecomputer.c | 2 +- qt-ui/configuredivecomputerdialog.ui | 18 +++++++++--------- qt-ui/divelogimportdialog.ui | 2 +- qt-ui/models.cpp | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/libdivecomputer.c b/libdivecomputer.c index 18cb76bea..a288c3be5 100644 --- a/libdivecomputer.c +++ b/libdivecomputer.c @@ -121,7 +121,7 @@ static void handle_event(struct divecomputer *dc, struct sample *sample, dc_samp QT_TRANSLATE_NOOP("gettextFromC", "transmitter"), QT_TRANSLATE_NOOP("gettextFromC", "violation"), QT_TRANSLATE_NOOP("gettextFromC", "bookmark"), QT_TRANSLATE_NOOP("gettextFromC", "surface"), QT_TRANSLATE_NOOP("gettextFromC", "safety stop"), QT_TRANSLATE_NOOP("gettextFromC", "gaschange"), QT_TRANSLATE_NOOP("gettextFromC", "safety stop (voluntary)"), QT_TRANSLATE_NOOP("gettextFromC", "safety stop (mandatory)"), QT_TRANSLATE_NOOP("gettextFromC", "deepstop"), QT_TRANSLATE_NOOP("gettextFromC", "ceiling (safety stop)"), QT_TRANSLATE_NOOP3("gettextFromC", "below floor", "event showing dive is below deco floor and adding deco time"), QT_TRANSLATE_NOOP("gettextFromC", "divetime"), - QT_TRANSLATE_NOOP("gettextFromC", "maxdepth"), QT_TRANSLATE_NOOP("gettextFromC", "OLF"), QT_TRANSLATE_NOOP("gettextFromC", "PO2"), QT_TRANSLATE_NOOP("gettextFromC", "airtime"), QT_TRANSLATE_NOOP("gettextFromC", "rgbm"), QT_TRANSLATE_NOOP("gettextFromC", "heading"), + QT_TRANSLATE_NOOP("gettextFromC", "maxdepth"), QT_TRANSLATE_NOOP("gettextFromC", "OLF"), QT_TRANSLATE_NOOP("gettextFromC", "pO₂"), QT_TRANSLATE_NOOP("gettextFromC", "airtime"), QT_TRANSLATE_NOOP("gettextFromC", "rgbm"), QT_TRANSLATE_NOOP("gettextFromC", "heading"), QT_TRANSLATE_NOOP("gettextFromC", "tissue level warning"), QT_TRANSLATE_NOOP("gettextFromC", "gaschange"), QT_TRANSLATE_NOOP("gettextFromC", "non stop time") }; const int nr_events = sizeof(events) / sizeof(const char *); diff --git a/qt-ui/configuredivecomputerdialog.ui b/qt-ui/configuredivecomputerdialog.ui index dd6bce39c..134c43538 100644 --- a/qt-ui/configuredivecomputerdialog.ui +++ b/qt-ui/configuredivecomputerdialog.ui @@ -913,7 +913,7 @@ - %O2 + %O₂ @@ -998,7 +998,7 @@ - %O2 + %O₂ @@ -1121,7 +1121,7 @@ - O2 in calibration gas + O₂ in calibration gas @@ -1213,14 +1213,14 @@ - ppO₂ max + pO₂ max - ppO₂ min + pO₂ min @@ -2119,7 +2119,7 @@ - %O2 + %O₂ @@ -2204,7 +2204,7 @@ - %O2 + %O₂ @@ -2352,14 +2352,14 @@ - ppO₂ max + pO₂ max - ppO₂ min + pO₂ min diff --git a/qt-ui/divelogimportdialog.ui b/qt-ui/divelogimportdialog.ui index 9fd5e44b1..47a0e54ba 100644 --- a/qt-ui/divelogimportdialog.ui +++ b/qt-ui/divelogimportdialog.ui @@ -118,7 +118,7 @@ - PO2 + pO₂ diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp index f22a1f6c9..2bb40ef59 100644 --- a/qt-ui/models.cpp +++ b/qt-ui/models.cpp @@ -75,7 +75,7 @@ CylindersModel::CylindersModel(QObject *parent) : changed(false), rows(0) { // enum {REMOVE, TYPE, SIZE, WORKINGPRESS, START, END, O2, HE, DEPTH}; - setHeaderDataStrings(QStringList() << "" << tr("Type") << tr("Size") << tr("Work press.") << tr("Start press.") << tr("End press.") << trUtf8("O" UTF8_SUBSCRIPT_2 "%") << tr("He%") + setHeaderDataStrings(QStringList() << "" << tr("Type") << tr("Size") << tr("Work press.") << tr("Start press.") << tr("End press.") << tr("O₂%") << tr("He%") << tr("Switch at") << tr("Use")); initTrashIcon(); -- cgit v1.2.3-70-g09d2