summaryrefslogtreecommitdiffstats
path: root/dive.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2012-10-15 09:37:09 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-10-15 09:37:09 -0700
commit4b9a59a1546d8a53b8bf6e53c11823299b22edb7 (patch)
tree64541d2be57278d32ef7f3177318e1870c1ac7f4 /dive.c
parent21dec2a13433f7b9518aec0059caae2780be0dde (diff)
parentef039c9d32e998af3ceab21673a51169f6e4f1ed (diff)
downloadsubsurface-4b9a59a1546d8a53b8bf6e53c11823299b22edb7.tar.gz
Merge branch 'gettext'
Bring all the localization changes into master in preparation for Subsurface 2.1
Diffstat (limited to 'dive.c')
-rw-r--r--dive.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dive.c b/dive.c
index 641e1eda8..85b2f3b04 100644
--- a/dive.c
+++ b/dive.c
@@ -2,6 +2,7 @@
/* maintains the internal dive list structure */
#include <string.h>
#include <stdio.h>
+#include <glib/gi18n.h>
#include "dive.h"
@@ -614,7 +615,7 @@ static char *merge_text(const char *a, const char *b)
res = malloc(strlen(a) + strlen(b) + 9);
if (!res)
return (char *)a;
- sprintf(res, "(%s) or (%s)", a, b);
+ sprintf(res, _("(%s) or (%s)"), a, b);
return res;
}