summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/datatrak.c10
-rw-r--r--core/planner.c2
2 files changed, 6 insertions, 6 deletions
diff --git a/core/datatrak.c b/core/datatrak.c
index 204ebd9b3..ba3715935 100644
--- a/core/datatrak.c
+++ b/core/datatrak.c
@@ -107,15 +107,15 @@ static struct sample *dtrak_profile(struct dive *dt_dive, FILE *archivo)
else
sample->in_deco = false;
if (byte[1] != 0)
- add_event(dc, sample->time.seconds, 0, 0, 0, "rbt");
+ add_event(dc, sample->time.seconds, 0, 0, 0, QT_TRANSLATE_NOOP("gettextFromC", "rbt"));
if (byte[2] != 0)
- add_event(dc, sample->time.seconds, 0, 0, 0, "ascent");
+ add_event(dc, sample->time.seconds, 0, 0, 0, QT_TRANSLATE_NOOP("gettextFromC", "ascent"));
if (byte[3] != 0)
- add_event(dc, sample->time.seconds, 0, 0, 0, "ceiling");
+ add_event(dc, sample->time.seconds, 0, 0, 0, QT_TRANSLATE_NOOP("gettextFromC", "ceiling"));
if (byte[4] != 0)
- add_event(dc, sample->time.seconds, 0, 0, 0, "workload");
+ add_event(dc, sample->time.seconds, 0, 0, 0, QT_TRANSLATE_NOOP("gettextFromC", "workload"));
if (byte[5] != 0)
- add_event(dc, sample->time.seconds, 0, 0, 0, "transmitter");
+ add_event(dc, sample->time.seconds, 0, 0, 0, QT_TRANSLATE_NOOP("gettextFromC", "transmitter"));
if (j == 3) {
read_bytes(1);
if (is_O2) {
diff --git a/core/planner.c b/core/planner.c
index 8d1cbdc60..ad7678188 100644
--- a/core/planner.c
+++ b/core/planner.c
@@ -317,7 +317,7 @@ static void create_dive_from_plan(struct diveplan *diveplan, bool track_gas)
/* this is a bad idea - we should get a different SAMPLE_EVENT type
* reserved for this in libdivecomputer... overloading SMAPLE_EVENT_PO2
* with a different meaning will only cause confusion elsewhere in the code */
- add_event(dc, lasttime, SAMPLE_EVENT_PO2, 0, po2, "SP change");
+ add_event(dc, lasttime, SAMPLE_EVENT_PO2, 0, po2, QT_TRANSLATE_NOOP("gettextFromC", "SP change"));
oldpo2 = po2;
}