From 7f59026dbf079d9beb620dd4dc33facd5a935850 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 3 Feb 2013 15:49:47 +1100 Subject: Distinguish the two uses of "Gas Used" for translation purposes One is about the amount, the other about the specific type of gar that was used. Reported-by: Sergey Starosek Signed-off-by: Dirk Hohndel --- planner.c | 2 +- print.c | 2 +- statistics.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/planner.c b/planner.c index 8a2d71990..e4e2c5c13 100644 --- a/planner.c +++ b/planner.c @@ -1138,7 +1138,7 @@ static void add_waypoint_widgets(GtkWidget *box, int idx) if (idx == 0) { entry_depth[idx] = add_entry_to_box(hbox, _("Ending Depth")); entry_duration[idx] = add_entry_to_box(hbox, _("Segment Time")); - entry_gas[idx] = add_gas_combobox_to_box(hbox, _("Gas Used"), idx); + entry_gas[idx] = add_gas_combobox_to_box(hbox, C_("Type of","Gas Used"), idx); entry_po2[idx] = add_entry_to_box(hbox, _("CC SetPoint")); } else { entry_depth[idx] = add_entry_to_box(hbox, NULL); diff --git a/print.c b/print.c index ca19fcaea..a89881a81 100644 --- a/print.c +++ b/print.c @@ -202,7 +202,7 @@ static void print_tanks (struct dive *dive, cairo_t *cr, int maxwidth, int maxhe int height, int tank_count, int first_tank, PangoFontDescription *font) { int curwidth, n, i, counter; - char buffer[80], dataheader1[3][80]= { N_("Cylinder"), N_("Gasmix"), N_("Gas Used")}; + char buffer[80], dataheader1[3][80]= { N_("Cylinder"), N_("Gasmix"), NC_("Amount","Gas Used")}; PangoLayout *layout; /* First create a header */ diff --git a/statistics.c b/statistics.c index 001c45155..925eb2856 100644 --- a/statistics.c +++ b/statistics.c @@ -851,7 +851,7 @@ GtkWidget *single_stats_widget(void) single_w.sac = new_info_label_in_frame(hbox, _("SAC")); single_w.otu = new_info_label_in_frame(hbox, _("OTU")); single_w.o2he = new_info_label_in_frame(hbox, "O" UTF8_SUBSCRIPT_2 " / He"); - single_w.gas_used = new_info_label_in_frame(hbox, _("Gas Used")); + single_w.gas_used = new_info_label_in_frame(hbox, C_("Amount","Gas Used")); return vbox; } -- cgit v1.2.3-70-g09d2