summaryrefslogtreecommitdiffstats
path: root/core/plannernotes.c
diff options
context:
space:
mode:
authorGravatar Stefan Fuchs <sfuchs@gmx.de>2018-07-13 17:27:06 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-07-13 11:26:28 -0700
commit9883b9f10e0a153f4645c26ac2507fbc3e773bd3 (patch)
tree3a030c71293093799e531ea804defbdcd19af117 /core/plannernotes.c
parentb34a4063be023b460514176648edce149a52f254 (diff)
downloadsubsurface-9883b9f10e0a153f4645c26ac2507fbc3e773bd3.tar.gz
Add three missing translations for divemode_text_ui in plannernotes.c
Added three missing translations which were forgotten here: fcf6b819d9cf337714fb542497cffc6effafe2ca Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'core/plannernotes.c')
-rw-r--r--core/plannernotes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/plannernotes.c b/core/plannernotes.c
index 10b4a2ddb..49ab647af 100644
--- a/core/plannernotes.c
+++ b/core/plannernotes.c
@@ -245,7 +245,7 @@ void add_plan_to_notes(struct diveplan *diveplan, struct dive *dive, bool show_d
FRACTION(dp->time - lasttime, 60),
FRACTION(dp->time, 60),
gasname(&gasmix),
- divemode_text_ui[dp->divemode]);
+ translate("gettextFromC", divemode_text_ui[dp->divemode]));
}
put_string(&buf, "<br>");
newdepth = dp->depth.mm;
@@ -312,7 +312,7 @@ void add_plan_to_notes(struct diveplan *diveplan, struct dive *dive, bool show_d
free(temp);
} else {
put_format(&buf, "<td style='padding-left: 10px; color: red; float: left;'><b>%s %s</b></td>",
- gasname(&newgasmix), lastdivemode == dp->divemode ? "" : divemode_text_ui[dp->divemode]);
+ gasname(&newgasmix), lastdivemode == dp->divemode ? "" : translate("gettextFromC", divemode_text_ui[dp->divemode]));
if (isascent && (get_he(&lastprintgasmix) > 0)) { // For a trimix gas change on ascent, save ICD info if previous cylinder had helium
if (isobaric_counterdiffusion(&lastprintgasmix, &newgasmix, &icdvalues)) // Do icd calulations
icdwarning = true;
@@ -334,7 +334,7 @@ void add_plan_to_notes(struct diveplan *diveplan, struct dive *dive, bool show_d
free(temp);
} else {
put_format(&buf, "<td style='padding-left: 10px; color: red; float: left;'><b>%s %s</b></td>", gasname(&gasmix),
- lastdivemode == dp->divemode ? "" : divemode_text_ui[dp->divemode]);
+ lastdivemode == dp->divemode ? "" : translate("gettextFromC", divemode_text_ui[dp->divemode]));
if (get_he(&lastprintgasmix) > 0) { // For a trimix gas change, save ICD info if previous cylinder had helium
if (isobaric_counterdiffusion(&lastprintgasmix, &gasmix, &icdvalues)) // Do icd calculations
icdwarning = true;