diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-10-15 09:37:09 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-10-15 09:37:09 -0700 |
commit | 4b9a59a1546d8a53b8bf6e53c11823299b22edb7 (patch) | |
tree | 64541d2be57278d32ef7f3177318e1870c1ac7f4 /dive.c | |
parent | 21dec2a13433f7b9518aec0059caae2780be0dde (diff) | |
parent | ef039c9d32e998af3ceab21673a51169f6e4f1ed (diff) | |
download | subsurface-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; } |