summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-03 15:49:47 +1100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-03 18:03:10 +1100
commit7f59026dbf079d9beb620dd4dc33facd5a935850 (patch)
treea6dbd70857cf89b39d14058d9bb3097579f55786
parent08d4b43243a28e930447bbd15780438ab814b866 (diff)
downloadsubsurface-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.c2
-rw-r--r--print.c2
-rw-r--r--statistics.c2
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;
}