projects
/
platform
/
upstream
/
ibus-hangul.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change hanja mode label
[platform/upstream/ibus-hangul.git]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index
cc4dda7
..
5a3a556
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-1,12
+1,16
@@
/* vim:set et sts=4: */
/* vim:set et sts=4: */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <ibus.h>
#include <stdlib.h>
#include <locale.h>
#include <hangul.h>
#include <ibus.h>
#include <stdlib.h>
#include <locale.h>
#include <hangul.h>
+
+#include "i18n.h"
#include "engine.h"
#include "engine.h"
-#define N_(text) text
static IBusBus *bus = NULL;
static IBusFactory *factory = NULL;
static IBusBus *bus = NULL;
static IBusFactory *factory = NULL;
@@
-88,6
+92,10
@@
main (gint argc, gchar **argv)
setlocale (LC_ALL, "");
setlocale (LC_ALL, "");
+ bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
+ bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
+ textdomain(GETTEXT_PACKAGE);
+
context = g_option_context_new ("- ibus hangul engine component");
g_option_context_add_main_entries (context, entries, "ibus-hangul");
context = g_option_context_new ("- ibus hangul engine component");
g_option_context_add_main_entries (context, entries, "ibus-hangul");