[uim-commit] r581 - in trunk: helper po

makeinu at freedesktop.org makeinu at freedesktop.org
Sun Feb 6 18:55:48 PST 2005


Author: makeinu
Date: 2005-02-06 18:55:33 -0800 (Sun, 06 Feb 2005)
New Revision: 581

Modified:
   trunk/helper/pref-gtk-custom-widgets.c
   trunk/po/ja.po
Log:
* helper/pref-gtk-custom-widgets.c:
  - (choose_olist_clicked_cb): Use proper window title.
  - (choose_key_clicked_cb): Ditto.
* po/ja.po
  - Updated.


Modified: trunk/helper/pref-gtk-custom-widgets.c
===================================================================
--- trunk/helper/pref-gtk-custom-widgets.c	2005-02-07 02:12:49 UTC (rev 580)
+++ trunk/helper/pref-gtk-custom-widgets.c	2005-02-07 02:55:33 UTC (rev 581)
@@ -1066,6 +1066,8 @@
 static void
 choose_olist_clicked_cb(GtkWidget *widget, GtkEntry *olist_entry)
 {
+  const char *custom_sym;
+  struct uim_custom *custom;
   GtkWidget *dialog, *hbox, *vbox, *scrwin, *table;
   GtkWidget *tree_view, *button, *arrow, *label;
   GtkListStore *store;
@@ -1073,11 +1075,19 @@
   GtkTreeViewColumn *column;
   GtkTreeSelection *selection;
 
+  custom_sym = g_object_get_data(G_OBJECT(olist_entry), OBJECT_DATA_UIM_CUSTOM_SYM);;
+  g_return_if_fail(custom_sym);
+  custom = uim_custom_get(custom_sym);
+  g_return_if_fail(custom);
+
   dialog = gtk_dialog_new_with_buttons(
-    "ordered list", GTK_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(olist_entry))),
+    custom->label, GTK_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(olist_entry))),
     GTK_DIALOG_MODAL,
     GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
     NULL);
+
+  uim_custom_free(custom);
+
   olist_pref_win.window = dialog;
   gtk_window_set_default_size(GTK_WINDOW(dialog), 400, 250);
   g_signal_connect(G_OBJECT(dialog), "response",
@@ -1680,6 +1690,7 @@
   struct uim_custom_key *key;
   gint i;
   GtkIMContext *im_context;
+  gchar title[256];
 
   g_return_if_fail(GTK_IS_ENTRY(key_entry));
 
@@ -1689,15 +1700,17 @@
   custom = uim_custom_get(custom_sym);
   g_return_if_fail(custom && custom->type == UCustom_Key);
 
+  g_snprintf(title, sizeof(title), _("%s - key configuration"), custom->label);
+
   /* setup key pref dialog */
   dialog = gtk_dialog_new_with_buttons(
-    "key",
+    title,
     GTK_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(key_entry))),
     GTK_DIALOG_MODAL,
     GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
     NULL);
   key_pref_win.window = dialog;
-  gtk_window_set_default_size(GTK_WINDOW(dialog), 250, 200);
+  gtk_window_set_default_size(GTK_WINDOW(dialog), 280, 220);
   g_signal_connect(G_OBJECT(dialog), "response",
 		   G_CALLBACK(key_pref_dialog_response_cb), key_entry);
 

Modified: trunk/po/ja.po
===================================================================
--- trunk/po/ja.po	2005-02-07 02:12:49 UTC (rev 580)
+++ trunk/po/ja.po	2005-02-07 02:55:33 UTC (rev 581)
@@ -7,8 +7,8 @@
 msgstr ""
 "Project-Id-Version: uim 0.4.6-alpha1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-02-06 18:50+0900\n"
-"PO-Revision-Date: 2005-02-06 18:51+0900\n"
+"POT-Creation-Date: 2005-02-07 11:39+0900\n"
+"PO-Revision-Date: 2005-02-07 11:44+0900\n"
 "Last-Translator: YamaKen <yamaken at bp.iij4u.or.jp>\n"
 "Language-Team: Japanese <LL at li.org>\n"
 "MIME-Version: 1.0\n"
@@ -348,7 +348,7 @@
 "ÀßÄ꤬Êѹ¹¤µ¤ì¤Æ¤¤¤Þ¤¹¡£\n"
 "ËÜÅö¤Ë½ªÎ»¤·¤Þ¤¹¤«?"
 
-#: helper/pref-gtk.c:214 qt/pref-qt.cpp:102
+#: helper/pref-gtk.c:214 qt/pref-qt.cpp:103
 msgid "Group"
 msgstr "¥°¥ë¡¼¥×"
 
@@ -365,39 +365,48 @@
 msgid "File..."
 msgstr "»²¾È..."
 
-#: helper/pref-gtk-custom-widgets.c:1098
+#: helper/pref-gtk-custom-widgets.c:1108
 msgid "Enabled"
 msgstr "Í­¸ú"
 
-#: helper/pref-gtk-custom-widgets.c:1124
+#: helper/pref-gtk-custom-widgets.c:1134
 msgid "Enabled items"
 msgstr "Í­¸ú¤Ê¹àÌÜ"
 
-#: helper/pref-gtk-custom-widgets.c:1202
+#: helper/pref-gtk-custom-widgets.c:1212
 msgid "Disabled"
 msgstr "̵¸ú"
 
-#: helper/pref-gtk-custom-widgets.c:1228
+#: helper/pref-gtk-custom-widgets.c:1238
 msgid "Disabled items"
 msgstr "̵¸ú¤Ê¹àÌÜ"
 
-#: helper/pref-gtk-custom-widgets.c:1266 helper/pref-gtk-custom-widgets.c:1849
+#: helper/pref-gtk-custom-widgets.c:1276 helper/pref-gtk-custom-widgets.c:1862
 msgid "Edit..."
 msgstr "ÊÔ½¸..."
 
-#: helper/pref-gtk-custom-widgets.c:1471
+#: helper/pref-gtk-custom-widgets.c:1481
 msgid "Press keys to grab (e.g. <Control>a)"
 msgstr "¼èÆÀ¤¹¤ë¥­¡¼¤ò²¡¤·¤Æ²¼¤µ¤¤ (Îã:<Control>a)"
 
-#: helper/pref-gtk-custom-widgets.c:1727
+#: helper/pref-gtk-custom-widgets.c:1482
+msgid "Grabbing keys"
+msgstr "¥­¡¼¤ò¼èÆÀÃæ"
+
+#: helper/pref-gtk-custom-widgets.c:1703
+#, c-format
+msgid "%s - key configuration"
+msgstr "%s - ¥­¡¼ÀßÄê"
+
+#: helper/pref-gtk-custom-widgets.c:1740
 msgid "Key preference"
 msgstr "¥­¡¼ÀßÄê"
 
-#: helper/pref-gtk-custom-widgets.c:1773
+#: helper/pref-gtk-custom-widgets.c:1786
 msgid "Key:"
 msgstr "¥­¡¼:"
 
-#: helper/pref-gtk-custom-widgets.c:1794
+#: helper/pref-gtk-custom-widgets.c:1807
 msgid "Grab..."
 msgstr "¼èÆÀ..."
 
@@ -467,11 +476,11 @@
 msgid "line"
 msgstr "Àþ"
 
-#: qt/switcher-qt.cpp:116 qt/pref-qt.cpp:118 qt/pref-qt.cpp:258
+#: qt/switcher-qt.cpp:116 qt/pref-qt.cpp:124 qt/pref-qt.cpp:262
 msgid "OK"
 msgstr "OK"
 
-#: qt/switcher-qt.cpp:121 qt/pref-qt.cpp:125 qt/pref-qt.cpp:259
+#: qt/switcher-qt.cpp:121 qt/pref-qt.cpp:131 qt/pref-qt.cpp:263
 msgid "Cancel"
 msgstr "¥­¥ã¥ó¥»¥ë"
 
@@ -484,11 +493,11 @@
 msgid "exec Preference Application"
 msgstr "ÀßÄê¥Ä¡¼¥ë¤Îµ¯Æ°"
 
-#: qt/pref-qt.cpp:115
+#: qt/pref-qt.cpp:121
 msgid "Defaults"
 msgstr "¥Ç¥Õ¥©¥ë¥È"
 
-#: qt/pref-qt.cpp:195
+#: qt/pref-qt.cpp:199
 msgid ""
 "The value was changed.\n"
 "Save?"
@@ -496,11 +505,11 @@
 "ÀßÄ꤬Êѹ¹¤µ¤ì¤Æ¤¤¤Þ¤¹¡£\n"
 "¥»¡¼¥Ö¤·¤Þ¤¹¤«?"
 
-#: qt/pref-customwidgets.cpp:170
+#: qt/pref-customwidgets.cpp:172
 msgid "File"
 msgstr "»²¾È"
 
-#: qt/pref-customwidgets.cpp:306 qt/pref-customwidgets.cpp:586
+#: qt/pref-customwidgets.cpp:309 qt/pref-customwidgets.cpp:589
 msgid "Edit"
 msgstr "ÊÔ½¸"
 
@@ -539,30 +548,30 @@
 #: scm/canna-key-custom.lisp:41 scm/canna-key-custom.lisp:45
 #: scm/generic-custom.lisp:37 scm/generic-custom.lisp:43
 #: scm/generic-custom.lisp:49 scm/generic-custom.lisp:55
-#: scm/generic-custom.lisp:61 scm/generic-custom.lisp:67
-#: scm/generic-key-custom.lisp:37 scm/generic-key-custom.lisp:41
-#: scm/im-custom.lisp:46 scm/im-custom.lisp:51 scm/im-custom.lisp:56
-#: scm/im-custom.lisp:61 scm/im-custom.lisp:66 scm/im-custom.lisp:71
-#: scm/im-custom.lisp:76 scm/im-custom.lisp:81 scm/im-custom.lisp:86
-#: scm/im-custom.lisp:91 scm/im-custom.lisp:96 scm/im-custom.lisp:101
-#: scm/im-custom.lisp:112 scm/im-custom.lisp:122 scm/im-custom.lisp:215
-#: scm/im-custom.lisp:275 scm/im-custom.lisp:291 scm/im-custom.lisp:297
-#: scm/im-custom.lisp:303 scm/im-custom.lisp:310 scm/prime-custom.lisp:58
-#: scm/prime-custom.lisp:64 scm/prime-custom.lisp:70 scm/prime-custom.lisp:76
-#: scm/prime-custom.lisp:82 scm/prime-custom.lisp:90 scm/prime-custom.lisp:96
-#: scm/prime-custom.lisp:102 scm/prime-custom.lisp:145
-#: scm/prime-custom.lisp:154 scm/prime-key-custom.lisp:61
-#: scm/prime-key-custom.lisp:65 scm/prime-key-custom.lisp:69
-#: scm/skk-custom.lisp:55 scm/skk-custom.lisp:61 scm/skk-custom.lisp:67
-#: scm/skk-custom.lisp:73 scm/skk-custom.lisp:135 scm/skk-custom.lisp:144
-#: scm/skk-custom.lisp:176 scm/skk-custom.lisp:183 scm/skk-custom.lisp:190
-#: scm/skk-custom.lisp:202 scm/skk-custom.lisp:208 scm/skk-custom.lisp:214
-#: scm/skk-custom.lisp:220 scm/skk-custom.lisp:230 scm/skk-custom.lisp:236
-#: scm/skk-custom.lisp:257 scm/skk-custom.lisp:263 scm/skk-custom.lisp:270
-#: scm/skk-key-custom.lisp:65 scm/skk-key-custom.lisp:69
-#: scm/skk-key-custom.lisp:73 scm/skk-key-custom.lisp:78
-#: scm/spellcheck-custom.lisp:48 scm/spellcheck-custom.lisp:54
-#: scm/spellcheck-custom.lisp:60 scm/spellcheck-custom.lisp:66
+#: scm/generic-custom.lisp:61 scm/generic-key-custom.lisp:37
+#: scm/generic-key-custom.lisp:41 scm/im-custom.lisp:46 scm/im-custom.lisp:51
+#: scm/im-custom.lisp:56 scm/im-custom.lisp:61 scm/im-custom.lisp:66
+#: scm/im-custom.lisp:71 scm/im-custom.lisp:76 scm/im-custom.lisp:81
+#: scm/im-custom.lisp:86 scm/im-custom.lisp:91 scm/im-custom.lisp:96
+#: scm/im-custom.lisp:101 scm/im-custom.lisp:112 scm/im-custom.lisp:122
+#: scm/im-custom.lisp:215 scm/im-custom.lisp:275 scm/im-custom.lisp:291
+#: scm/im-custom.lisp:297 scm/im-custom.lisp:303 scm/im-custom.lisp:310
+#: scm/prime-custom.lisp:58 scm/prime-custom.lisp:64 scm/prime-custom.lisp:70
+#: scm/prime-custom.lisp:76 scm/prime-custom.lisp:82 scm/prime-custom.lisp:90
+#: scm/prime-custom.lisp:96 scm/prime-custom.lisp:102
+#: scm/prime-custom.lisp:145 scm/prime-custom.lisp:154
+#: scm/prime-key-custom.lisp:61 scm/prime-key-custom.lisp:65
+#: scm/prime-key-custom.lisp:69 scm/skk-custom.lisp:55 scm/skk-custom.lisp:61
+#: scm/skk-custom.lisp:67 scm/skk-custom.lisp:73 scm/skk-custom.lisp:135
+#: scm/skk-custom.lisp:144 scm/skk-custom.lisp:176 scm/skk-custom.lisp:183
+#: scm/skk-custom.lisp:190 scm/skk-custom.lisp:202 scm/skk-custom.lisp:208
+#: scm/skk-custom.lisp:214 scm/skk-custom.lisp:220 scm/skk-custom.lisp:230
+#: scm/skk-custom.lisp:236 scm/skk-custom.lisp:257 scm/skk-custom.lisp:263
+#: scm/skk-custom.lisp:270 scm/skk-key-custom.lisp:65
+#: scm/skk-key-custom.lisp:69 scm/skk-key-custom.lisp:73
+#: scm/skk-key-custom.lisp:78 scm/spellcheck-custom.lisp:48
+#: scm/spellcheck-custom.lisp:54 scm/spellcheck-custom.lisp:60
+#: scm/spellcheck-custom.lisp:66
 msgid "long description will be here."
 msgstr "¾ÜºÙµ­½ÒͽÄê"
 
@@ -1012,11 +1021,6 @@
 msgid "Other input methods"
 msgstr "¤½¤Î¾¤ÎÆþÎÏÊý¼°"
 
-#: scm/generic-custom.lisp:66
-#, fuzzy
-msgid "Use dictionary search"
-msgstr "¸Ä¿Í¼­½ñ¥Õ¥¡¥¤¥ë"
-
 #: scm/generic-key-custom.lisp:36
 msgid "Global key bindings 1"
 msgstr "Á´ÂÎ¥­¡¼ÀßÄê 1"
@@ -1233,8 +1237,9 @@
 msgid "Enable lazy input method loading for fast startup"
 msgstr "¹â®µ¯Æ°¤Î¤¿¤á¤ÎÃÙ±ä¥í¡¼¥Ç¥£¥ó¥°¤òÍ­¸ú¤Ë¤¹¤ë"
 
-#: scm/ipa.lisp:228 scm/ipa.lisp:229
-msgid "International Phonetic Alphabet"
+#: scm/ipa.lisp:227 scm/ipa.lisp:228
+#, fuzzy
+msgid "International Phonetic Alphabet (X-SAMPA)"
 msgstr "IPA (¹ñºÝȯÀ¼µ­¹æ)"
 
 #. I think that the name "euro" is not appropriate since it



More information about the Uim-commit mailing list