[PATCH 3/4] Translate the SAC value in 'Dive Info'

Lubomir I. Ivanov neolit123 at gmail.com
Wed Oct 17 14:43:49 PDT 2012


From: "Lubomir I. Ivanov" <neolit123 at gmail.com>

Signed-off-by: Lubomir I. Ivanov <neolit123 at gmail.com>
---
 statistics.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/statistics.c b/statistics.c
index db6e30a..0f58b61 100644
--- a/statistics.c
+++ b/statistics.c
@@ -550,7 +550,7 @@ static void show_single_dive_stats(struct dive *dive)
 		set_label(single_w.water_temp, "");
 	value = get_volume_units(dive->sac, &decimals, &unit);
 	if (value > 0) {
-		set_label(single_w.sac, "%.*f %s/min", decimals, value, unit);
+		set_label(single_w.sac, _("%.*f %s/min"), decimals, value, unit);
 	} else
 		set_label(single_w.sac, "");
 	set_label(single_w.otu, "%d", dive->otu);
-- 
1.7.11.msysgit.0



More information about the subsurface mailing list