Translate the units in the 'Weight System' dialog

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Lubomir I. Ivanov 2012-10-19 00:45:36 +03:00 committed by Dirk Hohndel
parent 834825f406
commit 17191f17ce

View file

@ -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);
}