diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-02-03 15:49:47 +1100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-02-03 18:03:10 +1100 |
commit | 7f59026dbf079d9beb620dd4dc33facd5a935850 (patch) | |
tree | a6dbd70857cf89b39d14058d9bb3097579f55786 | |
parent | 08d4b43243a28e930447bbd15780438ab814b866 (diff) | |
download | subsurface-7f59026dbf079d9beb620dd4dc33facd5a935850.tar.gz |
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 <sergey.starosek@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | planner.c | 2 | ||||
-rw-r--r-- | print.c | 2 | ||||
-rw-r--r-- | statistics.c | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -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); @@ -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; } |