Fix translation.

This commit is contained in:
Daiki Ueno
2011-02-25 13:14:17 +09:00
parent 1c3d20ad6f
commit c9cee89d7e
3 changed files with 36 additions and 19 deletions

View File

@ -8,8 +8,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: eekboard 0.90.2\n" "Project-Id-Version: eekboard 0.90.2\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-02-24 17:36+0900\n" "POT-Creation-Date: 2011-02-25 13:13+0900\n"
"PO-Revision-Date: 2011-02-24 17:36+0900\n" "PO-Revision-Date: 2011-02-25 13:14+0900\n"
"Last-Translator: Daiki Ueno <ueno@unixuser.org>\n" "Last-Translator: Daiki Ueno <ueno@unixuser.org>\n"
"Language-Team: Japanese\n" "Language-Team: Japanese\n"
"Language: \n" "Language: \n"
@ -18,39 +18,55 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: ../src/client-main.c:36 #: ../src/server-context.c:216
msgid "Keyboard"
msgstr "キーボード"
#: ../src/client-main.c:41 ../src/desktop-client-main.c:41
msgid "Connect to the system bus"
msgstr "システムバスに接続"
#: ../src/client-main.c:43 ../src/desktop-client-main.c:43
msgid "Connect to the session bus"
msgstr "セッションバスに接続"
#: ../src/client-main.c:45 ../src/desktop-client-main.c:45
msgid "Connect to the given D-Bus address"
msgstr "与えられた D-Bus アドレスに接続"
#: ../src/client-main.c:47
msgid "Upload keyboard description from an XML file" msgid "Upload keyboard description from an XML file"
msgstr "XML ファイルから読み込んだキーボード記述をアップロード" msgstr "XML ファイルから読み込んだキーボード記述をアップロード"
#: ../src/client-main.c:38 #: ../src/client-main.c:49
msgid "Set group of the keyboard" msgid "Set group of the keyboard"
msgstr "キーボードのグループを設定" msgstr "キーボードのグループを設定"
#: ../src/client-main.c:40 #: ../src/client-main.c:51
msgid "Show keyboard" msgid "Show keyboard"
msgstr "キーボードを表示" msgstr "キーボードを表示"
#: ../src/client-main.c:42 #: ../src/client-main.c:53
msgid "Hide keyboard" msgid "Hide keyboard"
msgstr "キーボードを隠す" msgstr "キーボードを隠す"
#: ../src/client-main.c:44 #: ../src/client-main.c:55
msgid "Press key" msgid "Press key"
msgstr "キーを押す" msgstr "キーを押す"
#: ../src/client-main.c:46 #: ../src/client-main.c:57
msgid "Release key" msgid "Release key"
msgstr "キーを離す" msgstr "キーを離す"
#: ../src/client-main.c:48 #: ../src/client-main.c:59
msgid "Listen events" msgid "Listen events"
msgstr "イベントの通知を受ける" msgstr "イベントの通知を受ける"
#: ../src/desktop-client-main.c:38 #: ../src/desktop-client-main.c:48
msgid "Listen focus change events with AT-SPI" msgid "Listen focus change events with AT-SPI"
msgstr "AT-SPI によるフォーカス変更イベントの通知を受ける" msgstr "AT-SPI によるフォーカス変更イベントの通知を受ける"
#: ../src/desktop-client-main.c:40 #: ../src/desktop-client-main.c:50
msgid "Listen keystroke events with AT-SPI" msgid "Listen keystroke events with AT-SPI"
msgstr "AT-SPI による打鍵イベントの通知を受ける" msgstr "AT-SPI による打鍵イベントの通知を受ける"

View File

@ -105,7 +105,7 @@ main (int argc, char **argv)
error = NULL; error = NULL;
connection = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &error); connection = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &error);
if (connection == NULL) { if (connection == NULL) {
g_printerr (_("Can't connect to the bus: %s\n"), error->message); g_printerr ("Can't connect to the bus: %s\n", error->message);
exit (1); exit (1);
} }
break; break;
@ -117,7 +117,7 @@ main (int argc, char **argv)
NULL, NULL,
&error); &error);
if (connection == NULL) { if (connection == NULL) {
g_printerr (_("Can't connect to the bus at %s: %s\n"), g_printerr ("Can't connect to the bus at %s: %s\n",
opt_address, opt_address,
error->message); error->message);
exit (1); exit (1);
@ -130,7 +130,7 @@ main (int argc, char **argv)
eekboard = eekboard_eekboard_new (connection, NULL); eekboard = eekboard_eekboard_new (connection, NULL);
if (eekboard == NULL) { if (eekboard == NULL) {
g_printerr (_("Can't create eekboard proxy\n")); g_printerr ("Can't create eekboard proxy\n");
retval = 1; retval = 1;
goto out; goto out;
} }
@ -139,7 +139,7 @@ main (int argc, char **argv)
"eekboard-client", "eekboard-client",
NULL); NULL);
if (context == NULL) { if (context == NULL) {
g_printerr (_("Can't create context\n")); g_printerr ("Can't create context\n");
retval = 1; retval = 1;
goto out; goto out;
} }
@ -157,7 +157,7 @@ main (int argc, char **argv)
error = NULL; error = NULL;
input = g_file_read (file, NULL, &error); input = g_file_read (file, NULL, &error);
if (error) { if (error) {
g_printerr (_("Can't read file %s: %s\n"), g_printerr ("Can't read file %s: %s\n",
opt_set_keyboard, error->message); opt_set_keyboard, error->message);
retval = 1; retval = 1;
goto out; goto out;

View File

@ -15,12 +15,13 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <gtk/gtk.h>
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
#endif /* HAVE_CONFIG_H */ #endif /* HAVE_CONFIG_H */
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include "eek/eek.h" #include "eek/eek.h"
#if HAVE_CLUTTER_GTK #if HAVE_CLUTTER_GTK
@ -212,7 +213,7 @@ update_widget (ServerContext *context)
gtk_widget_set_can_focus (context->window, FALSE); gtk_widget_set_can_focus (context->window, FALSE);
g_object_set (G_OBJECT(context->window), "accept_focus", FALSE, NULL); g_object_set (G_OBJECT(context->window), "accept_focus", FALSE, NULL);
gtk_window_set_title (GTK_WINDOW(context->window), "Keyboard"); gtk_window_set_title (GTK_WINDOW(context->window), _("Keyboard"));
gtk_window_set_icon_name (GTK_WINDOW(context->window), "eekboard"); gtk_window_set_icon_name (GTK_WINDOW(context->window), "eekboard");
gtk_window_set_keep_above (GTK_WINDOW(context->window), TRUE); gtk_window_set_keep_above (GTK_WINDOW(context->window), TRUE);