[PATCH 2/2] info.c: set units for translation in the "depth box"

Lubomir I. Ivanov neolit123 at gmail.com
Wed Oct 17 10:52:16 PDT 2012


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

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

diff --git a/info.c b/info.c
index b72b333..e79e349 100644
--- a/info.c
+++ b/info.c
@@ -837,7 +837,7 @@ static timestamp_t dive_time_widget(struct dive *dive)
 	gtk_box_pack_end(GTK_BOX(box), duration, FALSE, FALSE, 0);
 
 	/* Depth box */
-	box = frame_box(hbox, _("Depth (%s):"), output_units.length == FEET ? "ft" : "m");
+	box = frame_box(hbox, _("Depth (%s):"), output_units.length == FEET ? N_("ft") : N_("m"));
 	if (output_units.length == FEET) {
 		depthinterval = 1.0;
 	} else {
-- 
1.7.11.msysgit.0



More information about the subsurface mailing list