summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorDidier Roche <didrocks@ubuntu.com>2015-01-29 16:12:58 +0100
committerMartin Pitt <martin.pitt@ubuntu.com>2015-02-18 16:33:46 +0100
commit20f56fddcd58c84fa73597486e905c652667214f (patch)
tree6fb33e0dae5e572e2e5ec6bfcd9d08a892f008ec /src/shared/util.h
parent07f9a21b6d2a8a7cfd8928a329b1ce9c479e3972 (diff)
Add gettext support
Diffstat (limited to 'src/shared/util.h')
-rw-r--r--src/shared/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h
index a83b588221..45cb09443d 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -737,6 +737,8 @@ void *xbsearch_r(const void *key, const void *base, size_t nmemb, size_t size,
int (*compar) (const void *, const void *, void *),
void *arg);
+#define _(String) gettext (String)
+void init_gettext(void);
bool is_locale_utf8(void);
typedef enum DrawSpecialChar {