[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/scim-hangul/devel scim-hangul-0.2.2-help.patch, NONE, 1.1 scim-hangul.spec, 1.18, 1.19



Author: tagoh

Update of /cvs/dist/rpms/scim-hangul/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv22296

Modified Files:
	scim-hangul.spec 
Added Files:
	scim-hangul-0.2.2-help.patch 
Log Message:
* Wed Jul  5 2006 Akira TAGOH <tagoh redhat com> - 0.2.2-5
- add a keybindings documentation into the online help. (#186884)
- use dist tag.

scim-hangul-0.2.2-help.patch:
 scim_hangul_imengine.cpp |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletion(-)

--- NEW FILE scim-hangul-0.2.2-help.patch ---
diff -ruN -x Makefile -x Makefile.in -x 'config*' -x autom4te.cache -x .deps -x .libs -x '*a' -x '*o' -x libtool -x 'stamp*' -x '*spec' -x '*~' scim-hangul-0.2.2.orig/src/scim_hangul_imengine.cpp scim-hangul-0.2.2/src/scim_hangul_imengine.cpp
--- scim-hangul-0.2.2.orig/src/scim_hangul_imengine.cpp	2006-07-04 20:18:24.000000000 +0900
+++ scim-hangul-0.2.2/src/scim_hangul_imengine.cpp	2006-07-05 14:22:52.000000000 +0900
@@ -159,7 +159,22 @@
 WideString
 HangulFactory::get_help () const
 {
-    return WideString ();
+    const char *header =
+	_("Key bindings:\n\n");
+    const char *paragraph1 =
+	_("  On/Off toggle key: Alt_R, Shift+space\n"
+	  "    This key binding is to switch the input mode between the ASCII input\n"
+	  "    mode and the hangul input.\n"
+	  "    on the default key bindings, it will be effected by tapping\n"
+	  "    the right Alt key or press the Space key with holding the Shift key.\n\n");
+    const char *paragraph2 =
+	_("  Hangul Hanja key: Control_R, F9\n"
+	  "    This key binding is to convert a hangul character to a hanja character.\n"
+	  "    it will be effected by tapping the right Control key or press F9 key.\n\n");
+
+    return utf8_mbstowcs (header)
+	+ utf8_mbstowcs (paragraph1)
+	+ utf8_mbstowcs (paragraph2);
 }
 
 String


Index: scim-hangul.spec
===================================================================
RCS file: /cvs/dist/rpms/scim-hangul/devel/scim-hangul.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- scim-hangul.spec	25 Jun 2006 13:21:24 -0000	1.18
+++ scim-hangul.spec	5 Jul 2006 05:34:36 -0000	1.19
@@ -2,7 +2,7 @@
 
 Name:           scim-hangul
 Version:        0.2.2
-Release:        4.fc6
+Release:        5{?dist}
 
 License:        GPL
 URL:            http://www.scim-im.org/
@@ -13,6 +13,7 @@
 %endif
 Source0:        http://dl.sourceforge.net/scim/%{name}-%{version}.tar.gz
 Patch0:		scim-hangul-0.2.2-ascii-mode.patch
+Patch1:		scim-hangul-0.2.2-help.patch
 
 
 Summary:        Hangul Input Method Engine for SCIM
@@ -26,6 +27,7 @@
 %prep
 %setup -q -n %{name}-%{version}
 %patch0 -p1 -b .0-ascii-mode
+%patch1 -p1 -b .1-help
 
 
 %build
@@ -65,6 +67,10 @@
 
 
 %changelog
+* Wed Jul  5 2006 Akira TAGOH <tagoh redhat com> - 0.2.2-5
+- add a keybindings documentation into the online help. (#186884)
+- use dist tag.
+
 * Fri Jun  9 2006 Akira TAGOH <tagoh redhat com> - 0.2.2-4
 - gettextized the input layout string on panel. (#194444)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]