diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-10-14 20:43:32 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-10-14 20:47:00 -0700 |
commit | f1569a206e58b521fdf4b425b06f8953f4dbdaf3 (patch) | |
tree | dcfdbf951514c88c21528a26a3c6fd06cf9d7834 /equipment.c | |
parent | a3e7a46f1281d07fdbb6deefd992f597fc1bc07b (diff) | |
download | subsurface-f1569a206e58b521fdf4b425b06f8953f4dbdaf3.tar.gz |
Improve translations
- fix two missing strings in equipment.c (thanks to Tommi Saviranta for
pointing this out)
- add context for the translations of the Yearly/monthly statistics. The code
for this ended up being incredibly ugly, but the gettext infrastructure
really clashed with the way this is implemented. What I have now at least
works (tested with the German translation)
- merge the new strings into all the po files. The non-German translations need
to be updated. Make sure you remove the "# , fuzzy" lines or the current
Makefile will ignore those additions.
- some minor cleanup of the po files (many listed the wrong language, all of
them copied my incorrect use of PACKAGE (instead of saying "Subsurface").
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'equipment.c')
-rw-r--r-- | equipment.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/equipment.c b/equipment.c index 1a6de41d7..8371e490a 100644 --- a/equipment.c +++ b/equipment.c @@ -948,10 +948,10 @@ static void cylinder_widget(GtkWidget *vbox, struct cylinder_widget *cylinder, G gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, TRUE, 0); gtk_box_pack_start(GTK_BOX(hbox), frame, FALSE, TRUE, 0); - widget = create_spinbutton(hbox, "Size", 0, 300, 0.1); + widget = create_spinbutton(hbox, _("Size"), 0, 300, 0.1); cylinder->size = GTK_SPIN_BUTTON(widget); - widget = create_spinbutton(hbox, "Pressure", 0, 5000, 1); + widget = create_spinbutton(hbox, _("Pressure"), 0, 5000, 1); cylinder->pressure = GTK_SPIN_BUTTON(widget); /* |