Update translation.

This commit is contained in:
Daiki Ueno
2011-02-24 17:39:15 +09:00
parent f1a44ddebb
commit 110b25a64b
5 changed files with 69 additions and 75 deletions

View File

@ -19,6 +19,8 @@
#include "config.h"
#endif /* HAVE_CONFIG_H */
#include <glib/gi18n.h>
#include "eekboard/eekboard.h"
static gchar *opt_set_keyboard = NULL;
@ -31,19 +33,19 @@ static gboolean opt_listen = FALSE;
static const GOptionEntry options[] = {
{"set-keyboard", '\0', 0, G_OPTION_ARG_STRING, &opt_set_keyboard,
"Set keyboard keyboard from an XML file"},
N_("Upload keyboard description from an XML file")},
{"set-group", '\0', 0, G_OPTION_ARG_INT, &opt_set_group,
"Set group of the keyboard"},
N_("Set group of the keyboard")},
{"show-keyboard", '\0', 0, G_OPTION_ARG_NONE, &opt_show_keyboard,
"Show keyboard"},
N_("Show keyboard")},
{"hide-keyboard", '\0', 0, G_OPTION_ARG_NONE, &opt_hide_keyboard,
"Hide keyboard"},
N_("Hide keyboard")},
{"press-key", '\0', 0, G_OPTION_ARG_INT, &opt_press_key,
"Press key"},
N_("Press key")},
{"release-key", '\0', 0, G_OPTION_ARG_INT, &opt_release_key,
"Release key"},
N_("Release key")},
{"listen", '\0', 0, G_OPTION_ARG_NONE, &opt_listen,
"Listen events"},
N_("Listen events")},
{NULL}
};

View File

@ -22,6 +22,7 @@
#include <stdlib.h>
#include <cspi/spi.h>
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <gconf/gconf-client.h>
#include "eekboard/eekboard.h"
#include "desktop-client.h"
@ -34,9 +35,9 @@ gboolean opt_keystroke = FALSE;
static const GOptionEntry options[] = {
#ifdef HAVE_CSPI
{"listen-focus", 'f', 0, G_OPTION_ARG_NONE, &opt_focus,
"Listen focus change events with AT-SPI"},
N_("Listen focus change events with AT-SPI")},
{"listen-keystroke", 's', 0, G_OPTION_ARG_NONE, &opt_keystroke,
"Listen keystroke events with AT-SPI"},
N_("Listen keystroke events with AT-SPI")},
#endif /* HAVE_CSPI */
{NULL}
};

View File

@ -18,6 +18,7 @@
#include <stdlib.h>
#include <gio/gio.h>
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#ifdef HAVE_CONFIG_H
#include "config.h"

View File

@ -24,6 +24,7 @@
#include <string.h>
#include <stdlib.h>
#include <gdk/gdkx.h>
#include <glib/gi18n.h>
#include "eek/eek-xml.h"
#include "eek/eek-xkl.h"
@ -42,17 +43,17 @@ static gchar *opt_list = NULL;
static const GOptionEntry options[] = {
{"load", 'l', 0, G_OPTION_ARG_STRING, &opt_load,
"Show the keyboard loaded from an XML file"},
N_("Show the keyboard loaded from an XML file")},
{"dump", 'd', 0, G_OPTION_ARG_NONE, &opt_dump,
"Dump the current layout as XML"},
N_("Output the current layout into an XML file")},
{"list", 'L', 0, G_OPTION_ARG_STRING, &opt_list,
"List configuration items for given spec"},
N_("List configuration items for given spec")},
{"model", '\0', 0, G_OPTION_ARG_STRING, &opt_model,
"Specify model"},
N_("Specify model")},
{"layouts", '\0', 0, G_OPTION_ARG_STRING, &opt_layouts,
"Specify layouts"},
N_("Specify layouts")},
{"options", '\0', 0, G_OPTION_ARG_STRING, &opt_options,
"Specify options"},
N_("Specify options")},
{NULL}
};