[PATCH] Translate the units in the 'Weight System' dialog

Lubomir I. Ivanov neolit123 at gmail.com
Fri Oct 19 01:10:16 PDT 2012


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

Signed-off-by: Lubomir I. Ivanov <neolit123 at gmail.com>
---
 equipment.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/equipment.c b/equipment.c
index 8371e49..a87d74d 100644
--- a/equipment.c
+++ b/equipment.c
@@ -1034,9 +1034,9 @@ static void ws_widget(GtkWidget *vbox, struct ws_widget *ws_widget, GtkListStore
 	gtk_box_pack_start(GTK_BOX(hbox), frame, FALSE, TRUE, 0);
 
 	if ( output_units.weight == KG)
-		widget = create_spinbutton(hbox, "kg", 0, 50, 0.5);
+		widget = create_spinbutton(hbox, _("kg"), 0, 50, 0.5);
 	else
-		widget = create_spinbutton(hbox, "lbs", 0, 110, 1);
+		widget = create_spinbutton(hbox, _("lbs"), 0, 110, 1);
 	ws_widget->weight = GTK_SPIN_BUTTON(widget);
 }
 
-- 
1.7.11.msysgit.0



More information about the subsurface mailing list